Compare commits
22 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d9d4b6f085 | ||
|
|
c6f3fb19b6 | ||
|
|
b69e3ecb0d | ||
|
|
c8e94ac56e | ||
|
|
6825dae756 | ||
|
|
3453c560b2 | ||
|
|
c6effd8aaa | ||
|
|
015b2ed1d2 | ||
|
|
e7043d157a | ||
|
|
cec12f8e0e | ||
|
|
a587859196 | ||
|
|
ff57895e48 | ||
|
|
8cdf451859 | ||
|
|
5996d35d87 | ||
|
|
e7cdb2e8d1 | ||
|
|
f66472a0a1 | ||
|
|
c69537b970 | ||
|
|
4b7328cd62 | ||
|
|
3369d7ef9d | ||
|
|
67e0beb4b2 | ||
|
|
9accac447f | ||
|
|
cab1294e1a |
84
CHANGELOG
84
CHANGELOG
@@ -1,3 +1,87 @@
|
||||
2019-07-05 Version 1.36.61
|
||||
- Supported library managment for simillarity scene.
|
||||
- Remove the local file uploader code which can be downloaded from yundun content security document.
|
||||
|
||||
2019-07-05 Version 1.36.60
|
||||
- Add TaskCancelStatus for QueryTaskList api.
|
||||
|
||||
2019-07-04 Version 1.36.59
|
||||
- Supported API DescribeRecordStatisticsy for Query Volume.
|
||||
- Supported API DescribeDomainStatistics for Query Volume.
|
||||
|
||||
2019-07-03 Version 1.36.58
|
||||
- Supported API DescribeRecordStatisticsSummary for Query Volume.
|
||||
- Supported API DescribeDomainStatisticsSummary for Query Volume.
|
||||
- Supported API DescribeRecordStatisticsHistory for Query Volume.
|
||||
- Supported API DescribeDomainDnsStatistics for Query Volume.
|
||||
|
||||
2019-07-02 Version 1.36.57
|
||||
- FnF public version.
|
||||
|
||||
2019-07-02 Version 1.36.56
|
||||
- Fix Double to double.
|
||||
|
||||
2019-07-01 Version 1.36.55
|
||||
- Support cloud_essd disk category for API CreateDisk, CreateInstance and RunInstances, and support configurating PerformanceLevel when choose cloud_essd.
|
||||
- Add ModifyDiskSpec API to support cloud_essd PerformanceLevel modification.
|
||||
- Add AutoProvisioningGroup interfaces, provide AutoProvisioningGroup function.
|
||||
- Add RetentionDays to snapshot creating.
|
||||
|
||||
2019-06-27 Version 1.36.54
|
||||
- Added setting of crop_mode parameter.
|
||||
|
||||
2019-06-24 Version 1.36.53
|
||||
- Add some new apis to manage VoD domain, such as AddVodDomain, UpdateVodDomain, DeleteVodDomain, BatchStartVodDomain, BatchStopVodDomain, DescribeVodUserDomains, DescribeVodDomainDetail.
|
||||
- Add some new apis to manage VoD domain config, such as BatchSetVodDomainConfigs, DescribeVodDomainConfigs, DeleteVodSpecificConfig, SetVodDomainCertificate, DescribeVodCertificateList, DescribeVodDomainCertificateInfo.
|
||||
- Add a new field named AppId to some apis supporting the VoD App feature, such as AddWorkFlow, GetWorkFlow, ListWorkFlow, AddVodTemplate, GetVodTemplate, ListVodTemplate, AddTranscodeTemplateGroup, GetTranscodeTemplateGroup, ListTranscodeTemplateGroup, AddWatermark, GetWatermark, ListWatermark, UploadMediaByURL.
|
||||
- Add a new field named UserData to SubmitTranscodeJobs api request to support user-defined extension fields, which can be used for transparent return when callbacks.
|
||||
|
||||
2019-06-24 Version 1.36.52
|
||||
- Add some new apis to manage VoD domain, such as AddVodDomain, UpdateVodDomain, DeleteVodDomain, BatchStartVodDomain, BatchStopVodDomain, DescribeVodUserDomains, DescribeVodDomainDetail.
|
||||
- Add some new apis to manage VoD domain config, such as BatchSetVodDomainConfigs, DescribeVodDomainConfigs, DeleteVodSpecificConfig, SetVodDomainCertificate, DescribeVodCertificateList, DescribeVodDomainCertificateInfo.
|
||||
- Add a new field named AppId to some apis supporting the VoD App feature, such as AddWorkFlow, GetWorkFlow, ListWorkFlow, AddVodTemplate, GetVodTemplate, ListVodTemplate, AddTranscodeTemplateGroup, GetTranscodeTemplateGroup, ListTranscodeTemplateGroup, AddWatermark, GetWatermark, ListWatermark, UploadMediaByURL.
|
||||
- Add a new field named UserData to SubmitTranscodeJobs api request to support user-defined extension fields, which can be used for transparent return when callbacks.
|
||||
|
||||
2019-06-18 Version 1.36.51
|
||||
1. Supported the related recommend.
|
||||
2. Supported exposure time controll and exposure filter by scene.
|
||||
|
||||
2019-06-17 Version 1.36.50
|
||||
companyreg release
|
||||
|
||||
2019-06-13 Version 1.36.49
|
||||
1, fixed DescribeAvailableResource OpenApi AvailableZones value problem.
|
||||
|
||||
2019-06-13 Version 1.36.48
|
||||
- Generated 2015-01-01 for `R-kvstore`
|
||||
|
||||
2019-06-13 Version 1.36.47
|
||||
Add Network Assistant openapi sdk
|
||||
|
||||
2019-06-12 Version 1.36.46
|
||||
1, Add RenewBackupPlan DBS interface.
|
||||
|
||||
2019-06-12 Version 1.36.45
|
||||
1.Fix bug
|
||||
|
||||
2019-06-12 Version 1.36.44
|
||||
1, Add InvokeDataAPIService interface, support invoke service of data api to get sql query result.
|
||||
2, Add GetDataAPIServiceDetail interface, support get data api's detail information.
|
||||
3, Add CreateDataAPIService interface, support create data api with sql statement.
|
||||
|
||||
2019-06-05 Version: 1.36.43
|
||||
1, Update DescribeDataLimitDetail interface, add password for response
|
||||
|
||||
2019-06-04 Version: 1.36.42
|
||||
1, Add new API: UpdateLivePullStreamInfoConfig
|
||||
|
||||
2019-06-03 Version: 1.36.41
|
||||
1, Add openapi of ACL.
|
||||
|
||||
2019-05-31 Version: 1.36.40
|
||||
1, add api 'search traces count'
|
||||
2, add page index for api 'searchTraces'
|
||||
|
||||
2019-05-31 Version: 1.36.39
|
||||
1, Add authority in GetMaterials API.
|
||||
|
||||
|
||||
@@ -1,90 +1,82 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||
|
||||
set(arms_public_header
|
||||
include/alibabacloud/arms/ARMSClient.h
|
||||
include/alibabacloud/arms/ARMSExport.h )
|
||||
|
||||
set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/ARMSQueryDataSetRequest.h
|
||||
include/alibabacloud/arms/model/ARMSQueryDataSetResult.h
|
||||
include/alibabacloud/arms/model/MetricQueryRequest.h
|
||||
include/alibabacloud/arms/model/MetricQueryResult.h )
|
||||
|
||||
include/alibabacloud/arms/ARMSExport.h )
|
||||
|
||||
set(arms_public_header_model )
|
||||
|
||||
set(arms_src
|
||||
src/ARMSClient.cc
|
||||
src/model/ARMSQueryDataSetRequest.cc
|
||||
src/model/ARMSQueryDataSetResult.cc
|
||||
src/model/MetricQueryRequest.cc
|
||||
src/model/MetricQueryResult.cc )
|
||||
|
||||
add_library(arms ${LIB_TYPE}
|
||||
${arms_public_header}
|
||||
${arms_public_header_model}
|
||||
${arms_src})
|
||||
|
||||
set_target_properties(arms
|
||||
PROPERTIES
|
||||
LINKER_LANGUAGE CXX
|
||||
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
||||
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}arms
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(arms
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_ARMS_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(arms
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(arms
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(arms
|
||||
jsoncpp)
|
||||
target_include_directories(arms
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(arms
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(arms
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(arms
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(arms
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${arms_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/arms)
|
||||
install(FILES ${arms_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/arms/model)
|
||||
install(TARGETS arms
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
src/ARMSClient.cc )
|
||||
|
||||
add_library(arms ${LIB_TYPE}
|
||||
${arms_public_header}
|
||||
${arms_public_header_model}
|
||||
${arms_src})
|
||||
|
||||
set_target_properties(arms
|
||||
PROPERTIES
|
||||
LINKER_LANGUAGE CXX
|
||||
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
||||
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}arms
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(arms
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_ARMS_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(arms
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(arms
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(arms
|
||||
jsoncpp)
|
||||
target_include_directories(arms
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(arms
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(arms
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(arms
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(arms
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${arms_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/arms)
|
||||
install(FILES ${arms_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/arms/model)
|
||||
install(TARGETS arms
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
@@ -1,62 +1,118 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_ARMSCLIENT_H_
|
||||
#define ALIBABACLOUD_ARMS_ARMSCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "ARMSExport.h"
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_ARMSCLIENT_H_
|
||||
#define ALIBABACLOUD_ARMS_ARMSCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "ARMSExport.h"
|
||||
#include "model/GetTraceRequest.h"
|
||||
#include "model/GetTraceResult.h"
|
||||
#include "model/SearchTracesRequest.h"
|
||||
#include "model/SearchTracesResult.h"
|
||||
#include "model/SearchTraceCountRequest.h"
|
||||
#include "model/SearchTraceCountResult.h"
|
||||
#include "model/GetTagKeyRequest.h"
|
||||
#include "model/GetTagKeyResult.h"
|
||||
#include "model/ARMSQueryDataSetRequest.h"
|
||||
#include "model/ARMSQueryDataSetResult.h"
|
||||
#include "model/GetSpanNamesRequest.h"
|
||||
#include "model/GetSpanNamesResult.h"
|
||||
#include "model/GetServicesRequest.h"
|
||||
#include "model/GetServicesResult.h"
|
||||
#include "model/MetricQueryRequest.h"
|
||||
#include "model/MetricQueryResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT ARMSClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::ARMSQueryDataSetResult> ARMSQueryDataSetOutcome;
|
||||
typedef std::future<ARMSQueryDataSetOutcome> ARMSQueryDataSetOutcomeCallable;
|
||||
#include "model/GetTagValRequest.h"
|
||||
#include "model/GetTagValResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT ARMSClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::GetTraceResult> GetTraceOutcome;
|
||||
typedef std::future<GetTraceOutcome> GetTraceOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetTraceRequest&, const GetTraceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTraceAsyncHandler;
|
||||
typedef Outcome<Error, Model::SearchTracesResult> SearchTracesOutcome;
|
||||
typedef std::future<SearchTracesOutcome> SearchTracesOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::SearchTracesRequest&, const SearchTracesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchTracesAsyncHandler;
|
||||
typedef Outcome<Error, Model::SearchTraceCountResult> SearchTraceCountOutcome;
|
||||
typedef std::future<SearchTraceCountOutcome> SearchTraceCountOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::SearchTraceCountRequest&, const SearchTraceCountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchTraceCountAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetTagKeyResult> GetTagKeyOutcome;
|
||||
typedef std::future<GetTagKeyOutcome> GetTagKeyOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetTagKeyRequest&, const GetTagKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTagKeyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ARMSQueryDataSetResult> ARMSQueryDataSetOutcome;
|
||||
typedef std::future<ARMSQueryDataSetOutcome> ARMSQueryDataSetOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::ARMSQueryDataSetRequest&, const ARMSQueryDataSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ARMSQueryDataSetAsyncHandler;
|
||||
typedef Outcome<Error, Model::MetricQueryResult> MetricQueryOutcome;
|
||||
typedef std::future<MetricQueryOutcome> MetricQueryOutcomeCallable;
|
||||
typedef Outcome<Error, Model::GetSpanNamesResult> GetSpanNamesOutcome;
|
||||
typedef std::future<GetSpanNamesOutcome> GetSpanNamesOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetSpanNamesRequest&, const GetSpanNamesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSpanNamesAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetServicesResult> GetServicesOutcome;
|
||||
typedef std::future<GetServicesOutcome> GetServicesOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetServicesRequest&, const GetServicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServicesAsyncHandler;
|
||||
typedef Outcome<Error, Model::MetricQueryResult> MetricQueryOutcome;
|
||||
typedef std::future<MetricQueryOutcome> MetricQueryOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::MetricQueryRequest&, const MetricQueryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MetricQueryAsyncHandler;
|
||||
|
||||
ARMSClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
ARMSClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
ARMSClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~ARMSClient();
|
||||
ARMSQueryDataSetOutcome aRMSQueryDataSet(const Model::ARMSQueryDataSetRequest &request)const;
|
||||
void aRMSQueryDataSetAsync(const Model::ARMSQueryDataSetRequest& request, const ARMSQueryDataSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
typedef Outcome<Error, Model::GetTagValResult> GetTagValOutcome;
|
||||
typedef std::future<GetTagValOutcome> GetTagValOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetTagValRequest&, const GetTagValOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTagValAsyncHandler;
|
||||
|
||||
ARMSClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
ARMSClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
ARMSClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~ARMSClient();
|
||||
GetTraceOutcome getTrace(const Model::GetTraceRequest &request)const;
|
||||
void getTraceAsync(const Model::GetTraceRequest& request, const GetTraceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTraceOutcomeCallable getTraceCallable(const Model::GetTraceRequest& request) const;
|
||||
SearchTracesOutcome searchTraces(const Model::SearchTracesRequest &request)const;
|
||||
void searchTracesAsync(const Model::SearchTracesRequest& request, const SearchTracesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SearchTracesOutcomeCallable searchTracesCallable(const Model::SearchTracesRequest& request) const;
|
||||
SearchTraceCountOutcome searchTraceCount(const Model::SearchTraceCountRequest &request)const;
|
||||
void searchTraceCountAsync(const Model::SearchTraceCountRequest& request, const SearchTraceCountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SearchTraceCountOutcomeCallable searchTraceCountCallable(const Model::SearchTraceCountRequest& request) const;
|
||||
GetTagKeyOutcome getTagKey(const Model::GetTagKeyRequest &request)const;
|
||||
void getTagKeyAsync(const Model::GetTagKeyRequest& request, const GetTagKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTagKeyOutcomeCallable getTagKeyCallable(const Model::GetTagKeyRequest& request) const;
|
||||
ARMSQueryDataSetOutcome aRMSQueryDataSet(const Model::ARMSQueryDataSetRequest &request)const;
|
||||
void aRMSQueryDataSetAsync(const Model::ARMSQueryDataSetRequest& request, const ARMSQueryDataSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ARMSQueryDataSetOutcomeCallable aRMSQueryDataSetCallable(const Model::ARMSQueryDataSetRequest& request) const;
|
||||
MetricQueryOutcome metricQuery(const Model::MetricQueryRequest &request)const;
|
||||
void metricQueryAsync(const Model::MetricQueryRequest& request, const MetricQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetSpanNamesOutcome getSpanNames(const Model::GetSpanNamesRequest &request)const;
|
||||
void getSpanNamesAsync(const Model::GetSpanNamesRequest& request, const GetSpanNamesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetSpanNamesOutcomeCallable getSpanNamesCallable(const Model::GetSpanNamesRequest& request) const;
|
||||
GetServicesOutcome getServices(const Model::GetServicesRequest &request)const;
|
||||
void getServicesAsync(const Model::GetServicesRequest& request, const GetServicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetServicesOutcomeCallable getServicesCallable(const Model::GetServicesRequest& request) const;
|
||||
MetricQueryOutcome metricQuery(const Model::MetricQueryRequest &request)const;
|
||||
void metricQueryAsync(const Model::MetricQueryRequest& request, const MetricQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MetricQueryOutcomeCallable metricQueryCallable(const Model::MetricQueryRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_ARMS_ARMSCLIENT_H_
|
||||
GetTagValOutcome getTagVal(const Model::GetTagValRequest &request)const;
|
||||
void getTagValAsync(const Model::GetTagValRequest& request, const GetTagValAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTagValOutcomeCallable getTagValCallable(const Model::GetTagValRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_ARMS_ARMSCLIENT_H_
|
||||
|
||||
@@ -1,32 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_ARMSEXPORT_H_
|
||||
#define ALIBABACLOUD_ARMS_ARMSEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_ARMS_LIBRARY)
|
||||
# define ALIBABACLOUD_ARMS_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_ARMS_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_ARMS_EXPORT
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_ARMSEXPORT_H_
|
||||
#define ALIBABACLOUD_ARMS_ARMSEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_ARMS_LIBRARY)
|
||||
# define ALIBABACLOUD_ARMS_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_ARMS_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_ARMS_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_ARMS_ARMSEXPORT_H_
|
||||
@@ -1,35 +1,35 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_ARMSQUERYDATASETREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_ARMSQUERYDATASETREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT ARMSQueryDataSetRequest : public RpcServiceRequest
|
||||
{
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_ARMSQUERYDATASETREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_ARMSQUERYDATASETREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT ARMSQueryDataSetRequest : public RpcServiceRequest
|
||||
{
|
||||
struct OptionalDims
|
||||
{
|
||||
std::string type;
|
||||
@@ -48,11 +48,11 @@ namespace AlibabaCloud
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
ARMSQueryDataSetRequest();
|
||||
~ARMSQueryDataSetRequest();
|
||||
|
||||
|
||||
public:
|
||||
ARMSQueryDataSetRequest();
|
||||
~ARMSQueryDataSetRequest();
|
||||
|
||||
std::string getDateStr()const;
|
||||
void setDateStr(const std::string& dateStr);
|
||||
long getMinTime()const;
|
||||
@@ -87,8 +87,8 @@ namespace AlibabaCloud
|
||||
void setDatasetId(long datasetId);
|
||||
std::vector<Dimensions> getDimensions()const;
|
||||
void setDimensions(const std::vector<Dimensions>& dimensions);
|
||||
|
||||
private:
|
||||
|
||||
private:
|
||||
std::string dateStr_;
|
||||
long minTime_;
|
||||
bool reduceTail_;
|
||||
@@ -106,9 +106,9 @@ namespace AlibabaCloud
|
||||
std::vector<RequiredDims> requiredDims_;
|
||||
long datasetId_;
|
||||
std::vector<Dimensions> dimensions_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_ARMSQUERYDATASETREQUEST_H_
|
||||
@@ -1,51 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_ARMSQUERYDATASETRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_ARMSQUERYDATASETRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT ARMSQueryDataSetResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ARMSQueryDataSetResult();
|
||||
explicit ARMSQueryDataSetResult(const std::string &payload);
|
||||
~ARMSQueryDataSetResult();
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_ARMSQUERYDATASETRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_ARMSQUERYDATASETRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT ARMSQueryDataSetResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ARMSQueryDataSetResult();
|
||||
explicit ARMSQueryDataSetResult(const std::string &payload);
|
||||
~ARMSQueryDataSetResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_ARMSQUERYDATASETRESULT_H_
|
||||
51
arms/include/alibabacloud/arms/model/GetServicesRequest.h
Normal file
51
arms/include/alibabacloud/arms/model/GetServicesRequest.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_ARMS_MODEL_GETSERVICESREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETSERVICESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT GetServicesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetServicesRequest();
|
||||
~GetServicesRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getAppType()const;
|
||||
void setAppType(const std::string& appType);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string appType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETSERVICESREQUEST_H_
|
||||
62
arms/include/alibabacloud/arms/model/GetServicesResult.h
Normal file
62
arms/include/alibabacloud/arms/model/GetServicesResult.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_GETSERVICESRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETSERVICESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT GetServicesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct DetailsItem
|
||||
{
|
||||
std::string serviceName;
|
||||
std::string pid;
|
||||
std::string regionId;
|
||||
};
|
||||
std::vector<std::string> services;
|
||||
std::vector<DetailsItem> details;
|
||||
};
|
||||
|
||||
|
||||
GetServicesResult();
|
||||
explicit GetServicesResult(const std::string &payload);
|
||||
~GetServicesResult();
|
||||
Data getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETSERVICESRESULT_H_
|
||||
57
arms/include/alibabacloud/arms/model/GetSpanNamesRequest.h
Normal file
57
arms/include/alibabacloud/arms/model/GetSpanNamesRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_GETSPANNAMESREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETSPANNAMESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT GetSpanNamesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetSpanNamesRequest();
|
||||
~GetSpanNamesRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
std::string getServiceName()const;
|
||||
void setServiceName(const std::string& serviceName);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
long endTime_;
|
||||
std::string serviceName_;
|
||||
long startTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETSPANNAMESREQUEST_H_
|
||||
51
arms/include/alibabacloud/arms/model/GetSpanNamesResult.h
Normal file
51
arms/include/alibabacloud/arms/model/GetSpanNamesResult.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_ARMS_MODEL_GETSPANNAMESRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETSPANNAMESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT GetSpanNamesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetSpanNamesResult();
|
||||
explicit GetSpanNamesResult(const std::string &payload);
|
||||
~GetSpanNamesResult();
|
||||
std::vector<std::string> getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETSPANNAMESRESULT_H_
|
||||
60
arms/include/alibabacloud/arms/model/GetTagKeyRequest.h
Normal file
60
arms/include/alibabacloud/arms/model/GetTagKeyRequest.h
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_GETTAGKEYREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETTAGKEYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT GetTagKeyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTagKeyRequest();
|
||||
~GetTagKeyRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
std::string getServiceName()const;
|
||||
void setServiceName(const std::string& serviceName);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getSpanName()const;
|
||||
void setSpanName(const std::string& spanName);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
long endTime_;
|
||||
std::string serviceName_;
|
||||
long startTime_;
|
||||
std::string spanName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETTAGKEYREQUEST_H_
|
||||
51
arms/include/alibabacloud/arms/model/GetTagKeyResult.h
Normal file
51
arms/include/alibabacloud/arms/model/GetTagKeyResult.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_ARMS_MODEL_GETTAGKEYRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETTAGKEYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT GetTagKeyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetTagKeyResult();
|
||||
explicit GetTagKeyResult(const std::string &payload);
|
||||
~GetTagKeyResult();
|
||||
std::vector<std::string> getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETTAGKEYRESULT_H_
|
||||
63
arms/include/alibabacloud/arms/model/GetTagValRequest.h
Normal file
63
arms/include/alibabacloud/arms/model/GetTagValRequest.h
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_GETTAGVALREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETTAGVALREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT GetTagValRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTagValRequest();
|
||||
~GetTagValRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
std::string getServiceName()const;
|
||||
void setServiceName(const std::string& serviceName);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getTagKey()const;
|
||||
void setTagKey(const std::string& tagKey);
|
||||
std::string getSpanName()const;
|
||||
void setSpanName(const std::string& spanName);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
long endTime_;
|
||||
std::string serviceName_;
|
||||
long startTime_;
|
||||
std::string tagKey_;
|
||||
std::string spanName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETTAGVALREQUEST_H_
|
||||
51
arms/include/alibabacloud/arms/model/GetTagValResult.h
Normal file
51
arms/include/alibabacloud/arms/model/GetTagValResult.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_ARMS_MODEL_GETTAGVALRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETTAGVALRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT GetTagValResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetTagValResult();
|
||||
explicit GetTagValResult(const std::string &payload);
|
||||
~GetTagValResult();
|
||||
std::vector<std::string> getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETTAGVALRESULT_H_
|
||||
54
arms/include/alibabacloud/arms/model/GetTraceRequest.h
Normal file
54
arms/include/alibabacloud/arms/model/GetTraceRequest.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_ARMS_MODEL_GETTRACEREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETTRACEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT GetTraceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTraceRequest();
|
||||
~GetTraceRequest();
|
||||
|
||||
std::string getTraceID()const;
|
||||
void setTraceID(const std::string& traceID);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getAppType()const;
|
||||
void setAppType(const std::string& appType);
|
||||
|
||||
private:
|
||||
std::string traceID_;
|
||||
std::string regionId_;
|
||||
std::string appType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETTRACEREQUEST_H_
|
||||
80
arms/include/alibabacloud/arms/model/GetTraceResult.h
Normal file
80
arms/include/alibabacloud/arms/model/GetTraceResult.h
Normal file
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_GETTRACERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETTRACERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT GetTraceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CallChainInfo
|
||||
{
|
||||
struct TagEntry
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
struct LogEvent
|
||||
{
|
||||
struct TagEntry2
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
std::vector<LogEvent::TagEntry2> tagEntryList1;
|
||||
long timestamp;
|
||||
};
|
||||
bool haveStack;
|
||||
std::string serviceIp;
|
||||
std::vector<CallChainInfo::LogEvent> logEventList;
|
||||
std::string operationName;
|
||||
std::string serviceName;
|
||||
std::string rpcId;
|
||||
std::string traceID;
|
||||
long duration;
|
||||
std::vector<CallChainInfo::TagEntry> tagEntryList;
|
||||
long timestamp;
|
||||
std::string resultCode;
|
||||
};
|
||||
|
||||
|
||||
GetTraceResult();
|
||||
explicit GetTraceResult(const std::string &payload);
|
||||
~GetTraceResult();
|
||||
std::vector<CallChainInfo> getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<CallChainInfo> data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETTRACERESULT_H_
|
||||
@@ -1,45 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_METRICQUERYREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_METRICQUERYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT MetricQueryRequest : public RpcServiceRequest
|
||||
{
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_METRICQUERYREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_METRICQUERYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT MetricQueryRequest : public RpcServiceRequest
|
||||
{
|
||||
struct Filters
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
MetricQueryRequest();
|
||||
~MetricQueryRequest();
|
||||
|
||||
|
||||
public:
|
||||
MetricQueryRequest();
|
||||
~MetricQueryRequest();
|
||||
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
std::string getOrderBy()const;
|
||||
void setOrderBy(const std::string& orderBy);
|
||||
std::vector<Filters> getFilters()const;
|
||||
void setFilters(const std::vector<Filters>& filters);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getIintervalInSec()const;
|
||||
void setIintervalInSec(int iintervalInSec);
|
||||
std::vector<std::string> getMeasures()const;
|
||||
@@ -48,39 +58,32 @@ namespace AlibabaCloud
|
||||
void setMetric(const std::string& metric);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getLimit()const;
|
||||
void setLimit(int limit);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
std::string getOrderBy()const;
|
||||
void setOrderBy(const std::string& orderBy);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::vector<Filters> getFilters()const;
|
||||
void setFilters(const std::vector<Filters>& filters);
|
||||
std::vector<std::string> getDimensions()const;
|
||||
void setDimensions(const std::vector<std::string>& dimensions);
|
||||
std::string getOrder()const;
|
||||
void setOrder(const std::string& order);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
|
||||
private:
|
||||
long endTime_;
|
||||
std::string orderBy_;
|
||||
std::vector<Filters> filters_;
|
||||
long startTime_;
|
||||
std::string accessKeyId_;
|
||||
int iintervalInSec_;
|
||||
std::vector<std::string> measures_;
|
||||
std::string metric_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
int limit_;
|
||||
long endTime_;
|
||||
std::string orderBy_;
|
||||
long startTime_;
|
||||
std::vector<Filters> filters_;
|
||||
std::vector<std::string> dimensions_;
|
||||
std::string order_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_METRICQUERYREQUEST_H_
|
||||
@@ -1,51 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_METRICQUERYRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_METRICQUERYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT MetricQueryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
MetricQueryResult();
|
||||
explicit MetricQueryResult(const std::string &payload);
|
||||
~MetricQueryResult();
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_METRICQUERYRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_METRICQUERYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT MetricQueryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
MetricQueryResult();
|
||||
explicit MetricQueryResult(const std::string &payload);
|
||||
~MetricQueryResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_METRICQUERYRESULT_H_
|
||||
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_SEARCHTRACECOUNTREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_SEARCHTRACECOUNTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT SearchTraceCountRequest : public RpcServiceRequest
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
SearchTraceCountRequest();
|
||||
~SearchTraceCountRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getOperationName()const;
|
||||
void setOperationName(const std::string& operationName);
|
||||
std::string getAppType()const;
|
||||
void setAppType(const std::string& appType);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
std::string getServiceName()const;
|
||||
void setServiceName(const std::string& serviceName);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
long getMinDuration()const;
|
||||
void setMinDuration(long minDuration);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string operationName_;
|
||||
std::string appType_;
|
||||
long endTime_;
|
||||
std::string serviceName_;
|
||||
long startTime_;
|
||||
std::vector<Tag> tag_;
|
||||
long minDuration_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_SEARCHTRACECOUNTREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_SEARCHTRACECOUNTRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_SEARCHTRACECOUNTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT SearchTraceCountResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
long count;
|
||||
};
|
||||
|
||||
|
||||
SearchTraceCountResult();
|
||||
explicit SearchTraceCountResult(const std::string &payload);
|
||||
~SearchTraceCountResult();
|
||||
Data getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_SEARCHTRACECOUNTRESULT_H_
|
||||
86
arms/include/alibabacloud/arms/model/SearchTracesRequest.h
Normal file
86
arms/include/alibabacloud/arms/model/SearchTracesRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT SearchTracesRequest : public RpcServiceRequest
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
SearchTracesRequest();
|
||||
~SearchTracesRequest();
|
||||
|
||||
std::string getServiceIp()const;
|
||||
void setServiceIp(const std::string& serviceIp);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getOperationName()const;
|
||||
void setOperationName(const std::string& operationName);
|
||||
std::string getAppType()const;
|
||||
void setAppType(const std::string& appType);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
std::string getServiceName()const;
|
||||
void setServiceName(const std::string& serviceName);
|
||||
int getPageIndex()const;
|
||||
void setPageIndex(int pageIndex);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
bool getReverse()const;
|
||||
void setReverse(bool reverse);
|
||||
long getMinDuration()const;
|
||||
void setMinDuration(long minDuration);
|
||||
|
||||
private:
|
||||
std::string serviceIp_;
|
||||
std::string regionId_;
|
||||
std::string operationName_;
|
||||
std::string appType_;
|
||||
int pageSize_;
|
||||
long endTime_;
|
||||
std::string serviceName_;
|
||||
int pageIndex_;
|
||||
long startTime_;
|
||||
std::vector<Tag> tag_;
|
||||
bool reverse_;
|
||||
long minDuration_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESREQUEST_H_
|
||||
60
arms/include/alibabacloud/arms/model/SearchTracesResult.h
Normal file
60
arms/include/alibabacloud/arms/model/SearchTracesResult.h
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT SearchTracesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TraceInfo
|
||||
{
|
||||
std::string serviceIp;
|
||||
std::string operationName;
|
||||
std::string serviceName;
|
||||
std::string traceID;
|
||||
int duration;
|
||||
long timestamp;
|
||||
};
|
||||
|
||||
|
||||
SearchTracesResult();
|
||||
explicit SearchTracesResult(const std::string &payload);
|
||||
~SearchTracesResult();
|
||||
std::vector<TraceInfo> getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<TraceInfo> data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESRESULT_H_
|
||||
@@ -1,125 +1,377 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/ARMSClient.h>
|
||||
#include <alibabacloud/core/SimpleCredentialsProvider.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Location;
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
namespace
|
||||
{
|
||||
const std::string SERVICE_NAME = "ARMS";
|
||||
}
|
||||
|
||||
ARMSClient::ARMSClient(const Credentials &credentials, const ClientConfiguration &configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
ARMSClient::ARMSClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
ARMSClient::ARMSClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
ARMSClient::~ARMSClient()
|
||||
{}
|
||||
|
||||
ARMSClient::ARMSQueryDataSetOutcome ARMSClient::aRMSQueryDataSet(const ARMSQueryDataSetRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ARMSQueryDataSetOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ARMSQueryDataSetOutcome(ARMSQueryDataSetResult(outcome.result()));
|
||||
else
|
||||
return ARMSQueryDataSetOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::aRMSQueryDataSetAsync(const ARMSQueryDataSetRequest& request, const ARMSQueryDataSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, aRMSQueryDataSet(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::ARMSQueryDataSetOutcomeCallable ARMSClient::aRMSQueryDataSetCallable(const ARMSQueryDataSetRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ARMSQueryDataSetOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->aRMSQueryDataSet(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
ARMSClient::MetricQueryOutcome ARMSClient::metricQuery(const MetricQueryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return MetricQueryOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return MetricQueryOutcome(MetricQueryResult(outcome.result()));
|
||||
else
|
||||
return MetricQueryOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::metricQueryAsync(const MetricQueryRequest& request, const MetricQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, metricQuery(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::MetricQueryOutcomeCallable ARMSClient::metricQueryCallable(const MetricQueryRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<MetricQueryOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->metricQuery(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
#include <alibabacloud/arms/ARMSClient.h>
|
||||
#include <alibabacloud/core/SimpleCredentialsProvider.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Location;
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
namespace
|
||||
{
|
||||
const std::string SERVICE_NAME = "ARMS";
|
||||
}
|
||||
|
||||
ARMSClient::ARMSClient(const Credentials &credentials, const ClientConfiguration &configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
ARMSClient::ARMSClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
ARMSClient::ARMSClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
ARMSClient::~ARMSClient()
|
||||
{}
|
||||
|
||||
ARMSClient::GetTraceOutcome ARMSClient::getTrace(const GetTraceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetTraceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetTraceOutcome(GetTraceResult(outcome.result()));
|
||||
else
|
||||
return GetTraceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::getTraceAsync(const GetTraceRequest& request, const GetTraceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getTrace(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::GetTraceOutcomeCallable ARMSClient::getTraceCallable(const GetTraceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetTraceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getTrace(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::SearchTracesOutcome ARMSClient::searchTraces(const SearchTracesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SearchTracesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SearchTracesOutcome(SearchTracesResult(outcome.result()));
|
||||
else
|
||||
return SearchTracesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::searchTracesAsync(const SearchTracesRequest& request, const SearchTracesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, searchTraces(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::SearchTracesOutcomeCallable ARMSClient::searchTracesCallable(const SearchTracesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SearchTracesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->searchTraces(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::SearchTraceCountOutcome ARMSClient::searchTraceCount(const SearchTraceCountRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SearchTraceCountOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SearchTraceCountOutcome(SearchTraceCountResult(outcome.result()));
|
||||
else
|
||||
return SearchTraceCountOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::searchTraceCountAsync(const SearchTraceCountRequest& request, const SearchTraceCountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, searchTraceCount(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::SearchTraceCountOutcomeCallable ARMSClient::searchTraceCountCallable(const SearchTraceCountRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SearchTraceCountOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->searchTraceCount(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::GetTagKeyOutcome ARMSClient::getTagKey(const GetTagKeyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetTagKeyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetTagKeyOutcome(GetTagKeyResult(outcome.result()));
|
||||
else
|
||||
return GetTagKeyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::getTagKeyAsync(const GetTagKeyRequest& request, const GetTagKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getTagKey(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::GetTagKeyOutcomeCallable ARMSClient::getTagKeyCallable(const GetTagKeyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetTagKeyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getTagKey(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::ARMSQueryDataSetOutcome ARMSClient::aRMSQueryDataSet(const ARMSQueryDataSetRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ARMSQueryDataSetOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ARMSQueryDataSetOutcome(ARMSQueryDataSetResult(outcome.result()));
|
||||
else
|
||||
return ARMSQueryDataSetOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::aRMSQueryDataSetAsync(const ARMSQueryDataSetRequest& request, const ARMSQueryDataSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, aRMSQueryDataSet(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::ARMSQueryDataSetOutcomeCallable ARMSClient::aRMSQueryDataSetCallable(const ARMSQueryDataSetRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ARMSQueryDataSetOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->aRMSQueryDataSet(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::GetSpanNamesOutcome ARMSClient::getSpanNames(const GetSpanNamesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetSpanNamesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetSpanNamesOutcome(GetSpanNamesResult(outcome.result()));
|
||||
else
|
||||
return GetSpanNamesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::getSpanNamesAsync(const GetSpanNamesRequest& request, const GetSpanNamesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getSpanNames(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::GetSpanNamesOutcomeCallable ARMSClient::getSpanNamesCallable(const GetSpanNamesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetSpanNamesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getSpanNames(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::GetServicesOutcome ARMSClient::getServices(const GetServicesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetServicesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetServicesOutcome(GetServicesResult(outcome.result()));
|
||||
else
|
||||
return GetServicesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::getServicesAsync(const GetServicesRequest& request, const GetServicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getServices(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::GetServicesOutcomeCallable ARMSClient::getServicesCallable(const GetServicesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetServicesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getServices(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::MetricQueryOutcome ARMSClient::metricQuery(const MetricQueryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return MetricQueryOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return MetricQueryOutcome(MetricQueryResult(outcome.result()));
|
||||
else
|
||||
return MetricQueryOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::metricQueryAsync(const MetricQueryRequest& request, const MetricQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, metricQuery(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::MetricQueryOutcomeCallable ARMSClient::metricQueryCallable(const MetricQueryRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<MetricQueryOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->metricQuery(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::GetTagValOutcome ARMSClient::getTagVal(const GetTagValRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetTagValOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetTagValOutcome(GetTagValResult(outcome.result()));
|
||||
else
|
||||
return GetTagValOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::getTagValAsync(const GetTagValRequest& request, const GetTagValAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getTagVal(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::GetTagValOutcomeCallable ARMSClient::getTagValCallable(const GetTagValRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetTagValOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getTagVal(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/ARMSQueryDataSetRequest.h>
|
||||
|
||||
using AlibabaCloud::ARMS::Model::ARMSQueryDataSetRequest;
|
||||
|
||||
ARMSQueryDataSetRequest::ARMSQueryDataSetRequest() :
|
||||
RpcServiceRequest("arms", "2018-10-15", "ARMSQueryDataSet")
|
||||
{}
|
||||
|
||||
ARMSQueryDataSetRequest::~ARMSQueryDataSetRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/ARMSQueryDataSetRequest.h>
|
||||
|
||||
using AlibabaCloud::ARMS::Model::ARMSQueryDataSetRequest;
|
||||
|
||||
ARMSQueryDataSetRequest::ARMSQueryDataSetRequest() :
|
||||
RpcServiceRequest("arms", "2019-02-19", "ARMSQueryDataSet")
|
||||
{}
|
||||
|
||||
ARMSQueryDataSetRequest::~ARMSQueryDataSetRequest()
|
||||
{}
|
||||
|
||||
std::string ARMSQueryDataSetRequest::getDateStr()const
|
||||
{
|
||||
return dateStr_;
|
||||
@@ -33,7 +33,7 @@ std::string ARMSQueryDataSetRequest::getDateStr()const
|
||||
void ARMSQueryDataSetRequest::setDateStr(const std::string& dateStr)
|
||||
{
|
||||
dateStr_ = dateStr;
|
||||
setParameter("DateStr", dateStr);
|
||||
setCoreParameter("DateStr", dateStr);
|
||||
}
|
||||
|
||||
long ARMSQueryDataSetRequest::getMinTime()const
|
||||
@@ -44,7 +44,7 @@ long ARMSQueryDataSetRequest::getMinTime()const
|
||||
void ARMSQueryDataSetRequest::setMinTime(long minTime)
|
||||
{
|
||||
minTime_ = minTime;
|
||||
setParameter("MinTime", std::to_string(minTime));
|
||||
setCoreParameter("MinTime", std::to_string(minTime));
|
||||
}
|
||||
|
||||
bool ARMSQueryDataSetRequest::getReduceTail()const
|
||||
@@ -55,7 +55,7 @@ bool ARMSQueryDataSetRequest::getReduceTail()const
|
||||
void ARMSQueryDataSetRequest::setReduceTail(bool reduceTail)
|
||||
{
|
||||
reduceTail_ = reduceTail;
|
||||
setParameter("ReduceTail", std::to_string(reduceTail));
|
||||
setCoreParameter("ReduceTail", reduceTail ? "true" : "false");
|
||||
}
|
||||
|
||||
long ARMSQueryDataSetRequest::getMaxTime()const
|
||||
@@ -66,7 +66,7 @@ long ARMSQueryDataSetRequest::getMaxTime()const
|
||||
void ARMSQueryDataSetRequest::setMaxTime(long maxTime)
|
||||
{
|
||||
maxTime_ = maxTime;
|
||||
setParameter("MaxTime", std::to_string(maxTime));
|
||||
setCoreParameter("MaxTime", std::to_string(maxTime));
|
||||
}
|
||||
|
||||
std::string ARMSQueryDataSetRequest::getAccessKeyId()const
|
||||
@@ -77,7 +77,7 @@ std::string ARMSQueryDataSetRequest::getAccessKeyId()const
|
||||
void ARMSQueryDataSetRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::vector<ARMSQueryDataSetRequest::OptionalDims> ARMSQueryDataSetRequest::getOptionalDims()const
|
||||
@@ -92,9 +92,9 @@ void ARMSQueryDataSetRequest::setOptionalDims(const std::vector<OptionalDims>& o
|
||||
for(int i = 0; i!= optionalDims.size(); i++) {
|
||||
auto obj = optionalDims.at(i);
|
||||
std::string str ="OptionalDims."+ std::to_string(i);
|
||||
setParameter(str + ".Type", obj.type);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
setCoreParameter(str + ".Type", obj.type);
|
||||
setCoreParameter(str + ".Value", obj.value);
|
||||
setCoreParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -107,7 +107,7 @@ void ARMSQueryDataSetRequest::setMeasures(const std::vector<std::string>& measur
|
||||
{
|
||||
measures_ = measures;
|
||||
for(int i = 0; i!= measures.size(); i++)
|
||||
setParameter("Measures."+ std::to_string(i), measures.at(i));
|
||||
setCoreParameter("Measures."+ std::to_string(i), measures.at(i));
|
||||
}
|
||||
|
||||
int ARMSQueryDataSetRequest::getIntervalInSec()const
|
||||
@@ -118,7 +118,7 @@ int ARMSQueryDataSetRequest::getIntervalInSec()const
|
||||
void ARMSQueryDataSetRequest::setIntervalInSec(int intervalInSec)
|
||||
{
|
||||
intervalInSec_ = intervalInSec;
|
||||
setParameter("IntervalInSec", std::to_string(intervalInSec));
|
||||
setCoreParameter("IntervalInSec", std::to_string(intervalInSec));
|
||||
}
|
||||
|
||||
bool ARMSQueryDataSetRequest::getIsDrillDown()const
|
||||
@@ -129,7 +129,7 @@ bool ARMSQueryDataSetRequest::getIsDrillDown()const
|
||||
void ARMSQueryDataSetRequest::setIsDrillDown(bool isDrillDown)
|
||||
{
|
||||
isDrillDown_ = isDrillDown;
|
||||
setParameter("IsDrillDown", std::to_string(isDrillDown));
|
||||
setCoreParameter("IsDrillDown", isDrillDown ? "true" : "false");
|
||||
}
|
||||
|
||||
bool ARMSQueryDataSetRequest::getHungryMode()const
|
||||
@@ -140,7 +140,7 @@ bool ARMSQueryDataSetRequest::getHungryMode()const
|
||||
void ARMSQueryDataSetRequest::setHungryMode(bool hungryMode)
|
||||
{
|
||||
hungryMode_ = hungryMode;
|
||||
setParameter("HungryMode", std::to_string(hungryMode));
|
||||
setCoreParameter("HungryMode", hungryMode ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ARMSQueryDataSetRequest::getSecurityToken()const
|
||||
@@ -151,7 +151,7 @@ std::string ARMSQueryDataSetRequest::getSecurityToken()const
|
||||
void ARMSQueryDataSetRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string ARMSQueryDataSetRequest::getRegionId()const
|
||||
@@ -162,7 +162,7 @@ std::string ARMSQueryDataSetRequest::getRegionId()const
|
||||
void ARMSQueryDataSetRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ARMSQueryDataSetRequest::getOrderByKey()const
|
||||
@@ -173,7 +173,7 @@ std::string ARMSQueryDataSetRequest::getOrderByKey()const
|
||||
void ARMSQueryDataSetRequest::setOrderByKey(const std::string& orderByKey)
|
||||
{
|
||||
orderByKey_ = orderByKey;
|
||||
setParameter("OrderByKey", orderByKey);
|
||||
setCoreParameter("OrderByKey", orderByKey);
|
||||
}
|
||||
|
||||
int ARMSQueryDataSetRequest::getLimit()const
|
||||
@@ -184,7 +184,7 @@ int ARMSQueryDataSetRequest::getLimit()const
|
||||
void ARMSQueryDataSetRequest::setLimit(int limit)
|
||||
{
|
||||
limit_ = limit;
|
||||
setParameter("Limit", std::to_string(limit));
|
||||
setCoreParameter("Limit", std::to_string(limit));
|
||||
}
|
||||
|
||||
std::vector<ARMSQueryDataSetRequest::RequiredDims> ARMSQueryDataSetRequest::getRequiredDims()const
|
||||
@@ -199,9 +199,9 @@ void ARMSQueryDataSetRequest::setRequiredDims(const std::vector<RequiredDims>& r
|
||||
for(int i = 0; i!= requiredDims.size(); i++) {
|
||||
auto obj = requiredDims.at(i);
|
||||
std::string str ="RequiredDims."+ std::to_string(i);
|
||||
setParameter(str + ".Type", obj.type);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
setCoreParameter(str + ".Type", obj.type);
|
||||
setCoreParameter(str + ".Value", obj.value);
|
||||
setCoreParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -213,7 +213,7 @@ long ARMSQueryDataSetRequest::getDatasetId()const
|
||||
void ARMSQueryDataSetRequest::setDatasetId(long datasetId)
|
||||
{
|
||||
datasetId_ = datasetId;
|
||||
setParameter("DatasetId", std::to_string(datasetId));
|
||||
setCoreParameter("DatasetId", std::to_string(datasetId));
|
||||
}
|
||||
|
||||
std::vector<ARMSQueryDataSetRequest::Dimensions> ARMSQueryDataSetRequest::getDimensions()const
|
||||
@@ -228,9 +228,9 @@ void ARMSQueryDataSetRequest::setDimensions(const std::vector<Dimensions>& dimen
|
||||
for(int i = 0; i!= dimensions.size(); i++) {
|
||||
auto obj = dimensions.at(i);
|
||||
std::string str ="Dimensions."+ std::to_string(i);
|
||||
setParameter(str + ".Type", obj.type);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
setCoreParameter(str + ".Type", obj.type);
|
||||
setCoreParameter(str + ".Value", obj.value);
|
||||
setCoreParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,50 +1,50 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/ARMSQueryDataSetResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
ARMSQueryDataSetResult::ARMSQueryDataSetResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ARMSQueryDataSetResult::ARMSQueryDataSetResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ARMSQueryDataSetResult::~ARMSQueryDataSetResult()
|
||||
{}
|
||||
|
||||
void ARMSQueryDataSetResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/ARMSQueryDataSetResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
ARMSQueryDataSetResult::ARMSQueryDataSetResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ARMSQueryDataSetResult::ARMSQueryDataSetResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ARMSQueryDataSetResult::~ARMSQueryDataSetResult()
|
||||
{}
|
||||
|
||||
void ARMSQueryDataSetResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
std::string ARMSQueryDataSetResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
|
||||
49
arms/src/model/GetServicesRequest.cc
Normal file
49
arms/src/model/GetServicesRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/GetServicesRequest.h>
|
||||
|
||||
using AlibabaCloud::ARMS::Model::GetServicesRequest;
|
||||
|
||||
GetServicesRequest::GetServicesRequest() :
|
||||
RpcServiceRequest("arms", "2019-02-19", "GetServices")
|
||||
{}
|
||||
|
||||
GetServicesRequest::~GetServicesRequest()
|
||||
{}
|
||||
|
||||
std::string GetServicesRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetServicesRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string GetServicesRequest::getAppType()const
|
||||
{
|
||||
return appType_;
|
||||
}
|
||||
|
||||
void GetServicesRequest::setAppType(const std::string& appType)
|
||||
{
|
||||
appType_ = appType;
|
||||
setCoreParameter("AppType", appType);
|
||||
}
|
||||
|
||||
66
arms/src/model/GetServicesResult.cc
Normal file
66
arms/src/model/GetServicesResult.cc
Normal file
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/GetServicesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
GetServicesResult::GetServicesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetServicesResult::GetServicesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetServicesResult::~GetServicesResult()
|
||||
{}
|
||||
|
||||
void GetServicesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
auto allDetails = value["Details"]["DetailsItem"];
|
||||
for (auto value : allDetails)
|
||||
{
|
||||
Data::DetailsItem detailsItemObject;
|
||||
if(!value["ServiceName"].isNull())
|
||||
detailsItemObject.serviceName = value["ServiceName"].asString();
|
||||
if(!value["Pid"].isNull())
|
||||
detailsItemObject.pid = value["Pid"].asString();
|
||||
if(!value["RegionId"].isNull())
|
||||
detailsItemObject.regionId = value["RegionId"].asString();
|
||||
data_.details.push_back(detailsItemObject);
|
||||
}
|
||||
auto allServices = dataNode["Services"]["Services"];
|
||||
for (auto value : allServices)
|
||||
data_.services.push_back(value.asString());
|
||||
|
||||
}
|
||||
|
||||
GetServicesResult::Data GetServicesResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
71
arms/src/model/GetSpanNamesRequest.cc
Normal file
71
arms/src/model/GetSpanNamesRequest.cc
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/GetSpanNamesRequest.h>
|
||||
|
||||
using AlibabaCloud::ARMS::Model::GetSpanNamesRequest;
|
||||
|
||||
GetSpanNamesRequest::GetSpanNamesRequest() :
|
||||
RpcServiceRequest("arms", "2019-02-19", "GetSpanNames")
|
||||
{}
|
||||
|
||||
GetSpanNamesRequest::~GetSpanNamesRequest()
|
||||
{}
|
||||
|
||||
std::string GetSpanNamesRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetSpanNamesRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long GetSpanNamesRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void GetSpanNamesRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
std::string GetSpanNamesRequest::getServiceName()const
|
||||
{
|
||||
return serviceName_;
|
||||
}
|
||||
|
||||
void GetSpanNamesRequest::setServiceName(const std::string& serviceName)
|
||||
{
|
||||
serviceName_ = serviceName;
|
||||
setCoreParameter("ServiceName", serviceName);
|
||||
}
|
||||
|
||||
long GetSpanNamesRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void GetSpanNamesRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
53
arms/src/model/GetSpanNamesResult.cc
Normal file
53
arms/src/model/GetSpanNamesResult.cc
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/GetSpanNamesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
GetSpanNamesResult::GetSpanNamesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetSpanNamesResult::GetSpanNamesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetSpanNamesResult::~GetSpanNamesResult()
|
||||
{}
|
||||
|
||||
void GetSpanNamesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allData = value["Data"]["Data"];
|
||||
for (const auto &item : allData)
|
||||
data_.push_back(item.asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<std::string> GetSpanNamesResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
82
arms/src/model/GetTagKeyRequest.cc
Normal file
82
arms/src/model/GetTagKeyRequest.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/GetTagKeyRequest.h>
|
||||
|
||||
using AlibabaCloud::ARMS::Model::GetTagKeyRequest;
|
||||
|
||||
GetTagKeyRequest::GetTagKeyRequest() :
|
||||
RpcServiceRequest("arms", "2019-02-19", "GetTagKey")
|
||||
{}
|
||||
|
||||
GetTagKeyRequest::~GetTagKeyRequest()
|
||||
{}
|
||||
|
||||
std::string GetTagKeyRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetTagKeyRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long GetTagKeyRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void GetTagKeyRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
std::string GetTagKeyRequest::getServiceName()const
|
||||
{
|
||||
return serviceName_;
|
||||
}
|
||||
|
||||
void GetTagKeyRequest::setServiceName(const std::string& serviceName)
|
||||
{
|
||||
serviceName_ = serviceName;
|
||||
setCoreParameter("ServiceName", serviceName);
|
||||
}
|
||||
|
||||
long GetTagKeyRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void GetTagKeyRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
std::string GetTagKeyRequest::getSpanName()const
|
||||
{
|
||||
return spanName_;
|
||||
}
|
||||
|
||||
void GetTagKeyRequest::setSpanName(const std::string& spanName)
|
||||
{
|
||||
spanName_ = spanName;
|
||||
setCoreParameter("SpanName", spanName);
|
||||
}
|
||||
|
||||
53
arms/src/model/GetTagKeyResult.cc
Normal file
53
arms/src/model/GetTagKeyResult.cc
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/GetTagKeyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
GetTagKeyResult::GetTagKeyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetTagKeyResult::GetTagKeyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetTagKeyResult::~GetTagKeyResult()
|
||||
{}
|
||||
|
||||
void GetTagKeyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allData = value["Data"]["Data"];
|
||||
for (const auto &item : allData)
|
||||
data_.push_back(item.asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<std::string> GetTagKeyResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
93
arms/src/model/GetTagValRequest.cc
Normal file
93
arms/src/model/GetTagValRequest.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/GetTagValRequest.h>
|
||||
|
||||
using AlibabaCloud::ARMS::Model::GetTagValRequest;
|
||||
|
||||
GetTagValRequest::GetTagValRequest() :
|
||||
RpcServiceRequest("arms", "2019-02-19", "GetTagVal")
|
||||
{}
|
||||
|
||||
GetTagValRequest::~GetTagValRequest()
|
||||
{}
|
||||
|
||||
std::string GetTagValRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetTagValRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long GetTagValRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void GetTagValRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
std::string GetTagValRequest::getServiceName()const
|
||||
{
|
||||
return serviceName_;
|
||||
}
|
||||
|
||||
void GetTagValRequest::setServiceName(const std::string& serviceName)
|
||||
{
|
||||
serviceName_ = serviceName;
|
||||
setCoreParameter("ServiceName", serviceName);
|
||||
}
|
||||
|
||||
long GetTagValRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void GetTagValRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
std::string GetTagValRequest::getTagKey()const
|
||||
{
|
||||
return tagKey_;
|
||||
}
|
||||
|
||||
void GetTagValRequest::setTagKey(const std::string& tagKey)
|
||||
{
|
||||
tagKey_ = tagKey;
|
||||
setCoreParameter("TagKey", tagKey);
|
||||
}
|
||||
|
||||
std::string GetTagValRequest::getSpanName()const
|
||||
{
|
||||
return spanName_;
|
||||
}
|
||||
|
||||
void GetTagValRequest::setSpanName(const std::string& spanName)
|
||||
{
|
||||
spanName_ = spanName;
|
||||
setCoreParameter("SpanName", spanName);
|
||||
}
|
||||
|
||||
53
arms/src/model/GetTagValResult.cc
Normal file
53
arms/src/model/GetTagValResult.cc
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/GetTagValResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
GetTagValResult::GetTagValResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetTagValResult::GetTagValResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetTagValResult::~GetTagValResult()
|
||||
{}
|
||||
|
||||
void GetTagValResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allData = value["Data"]["Data"];
|
||||
for (const auto &item : allData)
|
||||
data_.push_back(item.asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<std::string> GetTagValResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
60
arms/src/model/GetTraceRequest.cc
Normal file
60
arms/src/model/GetTraceRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/GetTraceRequest.h>
|
||||
|
||||
using AlibabaCloud::ARMS::Model::GetTraceRequest;
|
||||
|
||||
GetTraceRequest::GetTraceRequest() :
|
||||
RpcServiceRequest("arms", "2019-02-19", "GetTrace")
|
||||
{}
|
||||
|
||||
GetTraceRequest::~GetTraceRequest()
|
||||
{}
|
||||
|
||||
std::string GetTraceRequest::getTraceID()const
|
||||
{
|
||||
return traceID_;
|
||||
}
|
||||
|
||||
void GetTraceRequest::setTraceID(const std::string& traceID)
|
||||
{
|
||||
traceID_ = traceID;
|
||||
setCoreParameter("TraceID", traceID);
|
||||
}
|
||||
|
||||
std::string GetTraceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetTraceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string GetTraceRequest::getAppType()const
|
||||
{
|
||||
return appType_;
|
||||
}
|
||||
|
||||
void GetTraceRequest::setAppType(const std::string& appType)
|
||||
{
|
||||
appType_ = appType;
|
||||
setCoreParameter("AppType", appType);
|
||||
}
|
||||
|
||||
102
arms/src/model/GetTraceResult.cc
Normal file
102
arms/src/model/GetTraceResult.cc
Normal file
@@ -0,0 +1,102 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/GetTraceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
GetTraceResult::GetTraceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetTraceResult::GetTraceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetTraceResult::~GetTraceResult()
|
||||
{}
|
||||
|
||||
void GetTraceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allData = value["Data"]["CallChainInfo"];
|
||||
for (auto value : allData)
|
||||
{
|
||||
CallChainInfo dataObject;
|
||||
if(!value["TraceID"].isNull())
|
||||
dataObject.traceID = value["TraceID"].asString();
|
||||
if(!value["OperationName"].isNull())
|
||||
dataObject.operationName = value["OperationName"].asString();
|
||||
if(!value["Duration"].isNull())
|
||||
dataObject.duration = std::stol(value["Duration"].asString());
|
||||
if(!value["ServiceName"].isNull())
|
||||
dataObject.serviceName = value["ServiceName"].asString();
|
||||
if(!value["ServiceIp"].isNull())
|
||||
dataObject.serviceIp = value["ServiceIp"].asString();
|
||||
if(!value["Timestamp"].isNull())
|
||||
dataObject.timestamp = std::stol(value["Timestamp"].asString());
|
||||
if(!value["RpcId"].isNull())
|
||||
dataObject.rpcId = value["RpcId"].asString();
|
||||
if(!value["ResultCode"].isNull())
|
||||
dataObject.resultCode = value["ResultCode"].asString();
|
||||
if(!value["HaveStack"].isNull())
|
||||
dataObject.haveStack = value["HaveStack"].asString() == "true";
|
||||
auto allTagEntryList = value["TagEntryList"]["TagEntry"];
|
||||
for (auto value : allTagEntryList)
|
||||
{
|
||||
CallChainInfo::TagEntry tagEntryListObject;
|
||||
if(!value["Key"].isNull())
|
||||
tagEntryListObject.key = value["Key"].asString();
|
||||
if(!value["Value"].isNull())
|
||||
tagEntryListObject.value = value["Value"].asString();
|
||||
dataObject.tagEntryList.push_back(tagEntryListObject);
|
||||
}
|
||||
auto allLogEventList = value["LogEventList"]["LogEvent"];
|
||||
for (auto value : allLogEventList)
|
||||
{
|
||||
CallChainInfo::LogEvent logEventListObject;
|
||||
if(!value["Timestamp"].isNull())
|
||||
logEventListObject.timestamp = std::stol(value["Timestamp"].asString());
|
||||
auto allTagEntryList1 = value["TagEntryList"]["TagEntry"];
|
||||
for (auto value : allTagEntryList1)
|
||||
{
|
||||
CallChainInfo::LogEvent::TagEntry2 tagEntryList1Object;
|
||||
if(!value["Key"].isNull())
|
||||
tagEntryList1Object.key = value["Key"].asString();
|
||||
if(!value["Value"].isNull())
|
||||
tagEntryList1Object.value = value["Value"].asString();
|
||||
logEventListObject.tagEntryList1.push_back(tagEntryList1Object);
|
||||
}
|
||||
dataObject.logEventList.push_back(logEventListObject);
|
||||
}
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<GetTraceResult::CallChainInfo> GetTraceResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -1,85 +1,29 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/MetricQueryRequest.h>
|
||||
|
||||
using AlibabaCloud::ARMS::Model::MetricQueryRequest;
|
||||
|
||||
MetricQueryRequest::MetricQueryRequest() :
|
||||
RpcServiceRequest("arms", "2018-10-15", "MetricQuery")
|
||||
{}
|
||||
|
||||
MetricQueryRequest::~MetricQueryRequest()
|
||||
{}
|
||||
|
||||
int MetricQueryRequest::getIintervalInSec()const
|
||||
{
|
||||
return iintervalInSec_;
|
||||
}
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
void MetricQueryRequest::setIintervalInSec(int iintervalInSec)
|
||||
{
|
||||
iintervalInSec_ = iintervalInSec;
|
||||
setParameter("IintervalInSec", std::to_string(iintervalInSec));
|
||||
}
|
||||
#include <alibabacloud/arms/model/MetricQueryRequest.h>
|
||||
|
||||
std::vector<std::string> MetricQueryRequest::getMeasures()const
|
||||
{
|
||||
return measures_;
|
||||
}
|
||||
using AlibabaCloud::ARMS::Model::MetricQueryRequest;
|
||||
|
||||
void MetricQueryRequest::setMeasures(const std::vector<std::string>& measures)
|
||||
{
|
||||
measures_ = measures;
|
||||
for(int i = 0; i!= measures.size(); i++)
|
||||
setParameter("Measures."+ std::to_string(i), measures.at(i));
|
||||
}
|
||||
MetricQueryRequest::MetricQueryRequest() :
|
||||
RpcServiceRequest("arms", "2019-02-19", "MetricQuery")
|
||||
{}
|
||||
|
||||
std::string MetricQueryRequest::getMetric()const
|
||||
{
|
||||
return metric_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setMetric(const std::string& metric)
|
||||
{
|
||||
metric_ = metric;
|
||||
setParameter("Metric", metric);
|
||||
}
|
||||
|
||||
std::string MetricQueryRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
int MetricQueryRequest::getLimit()const
|
||||
{
|
||||
return limit_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setLimit(int limit)
|
||||
{
|
||||
limit_ = limit;
|
||||
setParameter("Limit", std::to_string(limit));
|
||||
}
|
||||
MetricQueryRequest::~MetricQueryRequest()
|
||||
{}
|
||||
|
||||
long MetricQueryRequest::getEndTime()const
|
||||
{
|
||||
@@ -89,7 +33,7 @@ long MetricQueryRequest::getEndTime()const
|
||||
void MetricQueryRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
setCoreParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
std::string MetricQueryRequest::getOrderBy()const
|
||||
@@ -100,18 +44,7 @@ std::string MetricQueryRequest::getOrderBy()const
|
||||
void MetricQueryRequest::setOrderBy(const std::string& orderBy)
|
||||
{
|
||||
orderBy_ = orderBy;
|
||||
setParameter("OrderBy", orderBy);
|
||||
}
|
||||
|
||||
long MetricQueryRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", std::to_string(startTime));
|
||||
setCoreParameter("OrderBy", orderBy);
|
||||
}
|
||||
|
||||
std::vector<MetricQueryRequest::Filters> MetricQueryRequest::getFilters()const
|
||||
@@ -126,11 +59,100 @@ void MetricQueryRequest::setFilters(const std::vector<Filters>& filters)
|
||||
for(int i = 0; i!= filters.size(); i++) {
|
||||
auto obj = filters.at(i);
|
||||
std::string str ="Filters."+ std::to_string(i);
|
||||
setParameter(str + ".Value", obj.value);
|
||||
setParameter(str + ".Key", obj.key);
|
||||
setCoreParameter(str + ".Value", obj.value);
|
||||
setCoreParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
long MetricQueryRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
std::string MetricQueryRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int MetricQueryRequest::getIintervalInSec()const
|
||||
{
|
||||
return iintervalInSec_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setIintervalInSec(int iintervalInSec)
|
||||
{
|
||||
iintervalInSec_ = iintervalInSec;
|
||||
setCoreParameter("IintervalInSec", std::to_string(iintervalInSec));
|
||||
}
|
||||
|
||||
std::vector<std::string> MetricQueryRequest::getMeasures()const
|
||||
{
|
||||
return measures_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setMeasures(const std::vector<std::string>& measures)
|
||||
{
|
||||
measures_ = measures;
|
||||
for(int i = 0; i!= measures.size(); i++)
|
||||
setCoreParameter("Measures."+ std::to_string(i), measures.at(i));
|
||||
}
|
||||
|
||||
std::string MetricQueryRequest::getMetric()const
|
||||
{
|
||||
return metric_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setMetric(const std::string& metric)
|
||||
{
|
||||
metric_ = metric;
|
||||
setCoreParameter("Metric", metric);
|
||||
}
|
||||
|
||||
std::string MetricQueryRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string MetricQueryRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
int MetricQueryRequest::getLimit()const
|
||||
{
|
||||
return limit_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setLimit(int limit)
|
||||
{
|
||||
limit_ = limit;
|
||||
setCoreParameter("Limit", std::to_string(limit));
|
||||
}
|
||||
|
||||
std::vector<std::string> MetricQueryRequest::getDimensions()const
|
||||
{
|
||||
return dimensions_;
|
||||
@@ -140,7 +162,7 @@ void MetricQueryRequest::setDimensions(const std::vector<std::string>& dimension
|
||||
{
|
||||
dimensions_ = dimensions;
|
||||
for(int i = 0; i!= dimensions.size(); i++)
|
||||
setParameter("Dimensions."+ std::to_string(i), dimensions.at(i));
|
||||
setCoreParameter("Dimensions."+ std::to_string(i), dimensions.at(i));
|
||||
}
|
||||
|
||||
std::string MetricQueryRequest::getOrder()const
|
||||
@@ -151,17 +173,6 @@ std::string MetricQueryRequest::getOrder()const
|
||||
void MetricQueryRequest::setOrder(const std::string& order)
|
||||
{
|
||||
order_ = order;
|
||||
setParameter("Order", order);
|
||||
}
|
||||
|
||||
std::string MetricQueryRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void MetricQueryRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("Order", order);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,50 +1,50 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/MetricQueryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
MetricQueryResult::MetricQueryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
MetricQueryResult::MetricQueryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
MetricQueryResult::~MetricQueryResult()
|
||||
{}
|
||||
|
||||
void MetricQueryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/MetricQueryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
MetricQueryResult::MetricQueryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
MetricQueryResult::MetricQueryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
MetricQueryResult::~MetricQueryResult()
|
||||
{}
|
||||
|
||||
void MetricQueryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
std::string MetricQueryResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
|
||||
132
arms/src/model/SearchTraceCountRequest.cc
Normal file
132
arms/src/model/SearchTraceCountRequest.cc
Normal file
@@ -0,0 +1,132 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/SearchTraceCountRequest.h>
|
||||
|
||||
using AlibabaCloud::ARMS::Model::SearchTraceCountRequest;
|
||||
|
||||
SearchTraceCountRequest::SearchTraceCountRequest() :
|
||||
RpcServiceRequest("arms", "2019-02-19", "SearchTraceCount")
|
||||
{}
|
||||
|
||||
SearchTraceCountRequest::~SearchTraceCountRequest()
|
||||
{}
|
||||
|
||||
std::string SearchTraceCountRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void SearchTraceCountRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string SearchTraceCountRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void SearchTraceCountRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string SearchTraceCountRequest::getOperationName()const
|
||||
{
|
||||
return operationName_;
|
||||
}
|
||||
|
||||
void SearchTraceCountRequest::setOperationName(const std::string& operationName)
|
||||
{
|
||||
operationName_ = operationName;
|
||||
setCoreParameter("OperationName", operationName);
|
||||
}
|
||||
|
||||
std::string SearchTraceCountRequest::getAppType()const
|
||||
{
|
||||
return appType_;
|
||||
}
|
||||
|
||||
void SearchTraceCountRequest::setAppType(const std::string& appType)
|
||||
{
|
||||
appType_ = appType;
|
||||
setCoreParameter("AppType", appType);
|
||||
}
|
||||
|
||||
long SearchTraceCountRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void SearchTraceCountRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
std::string SearchTraceCountRequest::getServiceName()const
|
||||
{
|
||||
return serviceName_;
|
||||
}
|
||||
|
||||
void SearchTraceCountRequest::setServiceName(const std::string& serviceName)
|
||||
{
|
||||
serviceName_ = serviceName;
|
||||
setCoreParameter("ServiceName", serviceName);
|
||||
}
|
||||
|
||||
long SearchTraceCountRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void SearchTraceCountRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
std::vector<SearchTraceCountRequest::Tag> SearchTraceCountRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void SearchTraceCountRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setCoreParameter(str + ".Value", obj.value);
|
||||
setCoreParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
long SearchTraceCountRequest::getMinDuration()const
|
||||
{
|
||||
return minDuration_;
|
||||
}
|
||||
|
||||
void SearchTraceCountRequest::setMinDuration(long minDuration)
|
||||
{
|
||||
minDuration_ = minDuration;
|
||||
setCoreParameter("MinDuration", std::to_string(minDuration));
|
||||
}
|
||||
|
||||
53
arms/src/model/SearchTraceCountResult.cc
Normal file
53
arms/src/model/SearchTraceCountResult.cc
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/SearchTraceCountResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
SearchTraceCountResult::SearchTraceCountResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SearchTraceCountResult::SearchTraceCountResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SearchTraceCountResult::~SearchTraceCountResult()
|
||||
{}
|
||||
|
||||
void SearchTraceCountResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["Count"].isNull())
|
||||
data_.count = std::stol(dataNode["Count"].asString());
|
||||
|
||||
}
|
||||
|
||||
SearchTraceCountResult::Data SearchTraceCountResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
165
arms/src/model/SearchTracesRequest.cc
Normal file
165
arms/src/model/SearchTracesRequest.cc
Normal file
@@ -0,0 +1,165 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/SearchTracesRequest.h>
|
||||
|
||||
using AlibabaCloud::ARMS::Model::SearchTracesRequest;
|
||||
|
||||
SearchTracesRequest::SearchTracesRequest() :
|
||||
RpcServiceRequest("arms", "2019-02-19", "SearchTraces")
|
||||
{}
|
||||
|
||||
SearchTracesRequest::~SearchTracesRequest()
|
||||
{}
|
||||
|
||||
std::string SearchTracesRequest::getServiceIp()const
|
||||
{
|
||||
return serviceIp_;
|
||||
}
|
||||
|
||||
void SearchTracesRequest::setServiceIp(const std::string& serviceIp)
|
||||
{
|
||||
serviceIp_ = serviceIp;
|
||||
setCoreParameter("ServiceIp", serviceIp);
|
||||
}
|
||||
|
||||
std::string SearchTracesRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void SearchTracesRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string SearchTracesRequest::getOperationName()const
|
||||
{
|
||||
return operationName_;
|
||||
}
|
||||
|
||||
void SearchTracesRequest::setOperationName(const std::string& operationName)
|
||||
{
|
||||
operationName_ = operationName;
|
||||
setCoreParameter("OperationName", operationName);
|
||||
}
|
||||
|
||||
std::string SearchTracesRequest::getAppType()const
|
||||
{
|
||||
return appType_;
|
||||
}
|
||||
|
||||
void SearchTracesRequest::setAppType(const std::string& appType)
|
||||
{
|
||||
appType_ = appType;
|
||||
setCoreParameter("AppType", appType);
|
||||
}
|
||||
|
||||
int SearchTracesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void SearchTracesRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long SearchTracesRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void SearchTracesRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
std::string SearchTracesRequest::getServiceName()const
|
||||
{
|
||||
return serviceName_;
|
||||
}
|
||||
|
||||
void SearchTracesRequest::setServiceName(const std::string& serviceName)
|
||||
{
|
||||
serviceName_ = serviceName;
|
||||
setCoreParameter("ServiceName", serviceName);
|
||||
}
|
||||
|
||||
int SearchTracesRequest::getPageIndex()const
|
||||
{
|
||||
return pageIndex_;
|
||||
}
|
||||
|
||||
void SearchTracesRequest::setPageIndex(int pageIndex)
|
||||
{
|
||||
pageIndex_ = pageIndex;
|
||||
setCoreParameter("PageIndex", std::to_string(pageIndex));
|
||||
}
|
||||
|
||||
long SearchTracesRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void SearchTracesRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
std::vector<SearchTracesRequest::Tag> SearchTracesRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void SearchTracesRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setCoreParameter(str + ".Value", obj.value);
|
||||
setCoreParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
bool SearchTracesRequest::getReverse()const
|
||||
{
|
||||
return reverse_;
|
||||
}
|
||||
|
||||
void SearchTracesRequest::setReverse(bool reverse)
|
||||
{
|
||||
reverse_ = reverse;
|
||||
setCoreParameter("Reverse", reverse ? "true" : "false");
|
||||
}
|
||||
|
||||
long SearchTracesRequest::getMinDuration()const
|
||||
{
|
||||
return minDuration_;
|
||||
}
|
||||
|
||||
void SearchTracesRequest::setMinDuration(long minDuration)
|
||||
{
|
||||
minDuration_ = minDuration;
|
||||
setCoreParameter("MinDuration", std::to_string(minDuration));
|
||||
}
|
||||
|
||||
68
arms/src/model/SearchTracesResult.cc
Normal file
68
arms/src/model/SearchTracesResult.cc
Normal file
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/SearchTracesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
SearchTracesResult::SearchTracesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SearchTracesResult::SearchTracesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SearchTracesResult::~SearchTracesResult()
|
||||
{}
|
||||
|
||||
void SearchTracesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allData = value["Data"]["TraceInfo"];
|
||||
for (auto value : allData)
|
||||
{
|
||||
TraceInfo dataObject;
|
||||
if(!value["TraceID"].isNull())
|
||||
dataObject.traceID = value["TraceID"].asString();
|
||||
if(!value["OperationName"].isNull())
|
||||
dataObject.operationName = value["OperationName"].asString();
|
||||
if(!value["Duration"].isNull())
|
||||
dataObject.duration = std::stoi(value["Duration"].asString());
|
||||
if(!value["ServiceName"].isNull())
|
||||
dataObject.serviceName = value["ServiceName"].asString();
|
||||
if(!value["ServiceIp"].isNull())
|
||||
dataObject.serviceIp = value["ServiceIp"].asString();
|
||||
if(!value["Timestamp"].isNull())
|
||||
dataObject.timestamp = std::stol(value["Timestamp"].asString());
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<SearchTracesResult::TraceInfo> SearchTracesResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -21,169 +21,537 @@ set(green_public_header
|
||||
include/alibabacloud/green/GreenExport.h )
|
||||
|
||||
set(green_public_header_model
|
||||
include/alibabacloud/green/model/ImageSyncScanRequest.h
|
||||
include/alibabacloud/green/model/ImageSyncScanResult.h
|
||||
include/alibabacloud/green/model/UploadCredentialsRequest.h
|
||||
include/alibabacloud/green/model/UploadCredentialsResult.h
|
||||
include/alibabacloud/green/model/GetPersonsRequest.h
|
||||
include/alibabacloud/green/model/GetPersonsResult.h
|
||||
include/alibabacloud/green/model/GetPersonRequest.h
|
||||
include/alibabacloud/green/model/GetPersonResult.h
|
||||
include/alibabacloud/green/model/DeleteFacesRequest.h
|
||||
include/alibabacloud/green/model/DeleteFacesResult.h
|
||||
include/alibabacloud/green/model/DescribeWebsiteIndexPageBaselineRequest.h
|
||||
include/alibabacloud/green/model/DescribeWebsiteIndexPageBaselineResult.h
|
||||
include/alibabacloud/green/model/VerifyCustomOcrTemplateRequest.h
|
||||
include/alibabacloud/green/model/VerifyCustomOcrTemplateResult.h
|
||||
include/alibabacloud/green/model/DescribeOssIncrementCheckSettingRequest.h
|
||||
include/alibabacloud/green/model/DescribeOssIncrementCheckSettingResult.h
|
||||
include/alibabacloud/green/model/DescribeWebsiteScanResultRequest.h
|
||||
include/alibabacloud/green/model/DescribeWebsiteScanResultResult.h
|
||||
include/alibabacloud/green/model/UpdateAppPackageRequest.h
|
||||
include/alibabacloud/green/model/UpdateAppPackageResult.h
|
||||
include/alibabacloud/green/model/DeleteVideoDnaGroupRequest.h
|
||||
include/alibabacloud/green/model/DeleteVideoDnaGroupResult.h
|
||||
include/alibabacloud/green/model/AddVideoDnaRequest.h
|
||||
include/alibabacloud/green/model/AddVideoDnaResult.h
|
||||
include/alibabacloud/green/model/VideoFeedbackRequest.h
|
||||
include/alibabacloud/green/model/VideoFeedbackResult.h
|
||||
include/alibabacloud/green/model/DeletePersonRequest.h
|
||||
include/alibabacloud/green/model/DeletePersonResult.h
|
||||
include/alibabacloud/green/model/VideoSyncScanRequest.h
|
||||
include/alibabacloud/green/model/VideoSyncScanResult.h
|
||||
include/alibabacloud/green/model/VideoAsyncScanResultsRequest.h
|
||||
include/alibabacloud/green/model/VideoAsyncScanResultsResult.h
|
||||
include/alibabacloud/green/model/UpdateOssCallbackSettingRequest.h
|
||||
include/alibabacloud/green/model/UpdateOssCallbackSettingResult.h
|
||||
include/alibabacloud/green/model/DescribeWebsiteInstanceKeyUrlRequest.h
|
||||
include/alibabacloud/green/model/DescribeWebsiteInstanceKeyUrlResult.h
|
||||
include/alibabacloud/green/model/DeleteVideoDnaRequest.h
|
||||
include/alibabacloud/green/model/DeleteVideoDnaResult.h
|
||||
include/alibabacloud/green/model/AddGroupsRequest.h
|
||||
include/alibabacloud/green/model/AddGroupsResult.h
|
||||
include/alibabacloud/green/model/RefundCdiBaseBagRequest.h
|
||||
include/alibabacloud/green/model/RefundCdiBaseBagResult.h
|
||||
include/alibabacloud/green/model/UpdateBizTypeSettingRequest.h
|
||||
include/alibabacloud/green/model/UpdateBizTypeSettingResult.h
|
||||
include/alibabacloud/green/model/FileAsyncScanRequest.h
|
||||
include/alibabacloud/green/model/FileAsyncScanResult.h
|
||||
include/alibabacloud/green/model/DescribeOssResultItemsRequest.h
|
||||
include/alibabacloud/green/model/DescribeOssResultItemsResult.h
|
||||
include/alibabacloud/green/model/UpdateWebsiteInstanceStatusRequest.h
|
||||
include/alibabacloud/green/model/UpdateWebsiteInstanceStatusResult.h
|
||||
include/alibabacloud/green/model/DescribeBizTypesRequest.h
|
||||
include/alibabacloud/green/model/DescribeBizTypesResult.h
|
||||
include/alibabacloud/green/model/RefundCdiBagRequest.h
|
||||
include/alibabacloud/green/model/RefundCdiBagResult.h
|
||||
include/alibabacloud/green/model/DeleteImageFromLibRequest.h
|
||||
include/alibabacloud/green/model/DeleteImageFromLibResult.h
|
||||
include/alibabacloud/green/model/CreateCdiBaseBagRequest.h
|
||||
include/alibabacloud/green/model/CreateCdiBaseBagResult.h
|
||||
include/alibabacloud/green/model/VerifyPhoneRequest.h
|
||||
include/alibabacloud/green/model/VerifyPhoneResult.h
|
||||
include/alibabacloud/green/model/ImageDetectionRequest.h
|
||||
include/alibabacloud/green/model/ImageDetectionResult.h
|
||||
include/alibabacloud/green/model/DeleteKeywordLibRequest.h
|
||||
include/alibabacloud/green/model/DeleteKeywordLibResult.h
|
||||
include/alibabacloud/green/model/ImportKeywordsRequest.h
|
||||
include/alibabacloud/green/model/ImportKeywordsResult.h
|
||||
include/alibabacloud/green/model/VoiceCancelScanRequest.h
|
||||
include/alibabacloud/green/model/VoiceCancelScanResult.h
|
||||
include/alibabacloud/green/model/SendWebsiteFeedbackRequest.h
|
||||
include/alibabacloud/green/model/SendWebsiteFeedbackResult.h
|
||||
include/alibabacloud/green/model/DescribeImageFromLibRequest.h
|
||||
include/alibabacloud/green/model/DescribeImageFromLibResult.h
|
||||
include/alibabacloud/green/model/RenewWebSiteInstanceRequest.h
|
||||
include/alibabacloud/green/model/RenewWebSiteInstanceResult.h
|
||||
include/alibabacloud/green/model/DescribeViewContentRequest.h
|
||||
include/alibabacloud/green/model/DescribeViewContentResult.h
|
||||
include/alibabacloud/green/model/VoiceIdentityRegisterRequest.h
|
||||
include/alibabacloud/green/model/VoiceIdentityRegisterResult.h
|
||||
include/alibabacloud/green/model/DescribeWebsiteStatRequest.h
|
||||
include/alibabacloud/green/model/DescribeWebsiteStatResult.h
|
||||
include/alibabacloud/green/model/UpdateNotificationSettingRequest.h
|
||||
include/alibabacloud/green/model/UpdateNotificationSettingResult.h
|
||||
include/alibabacloud/green/model/DescribeAuditContentItemRequest.h
|
||||
include/alibabacloud/green/model/DescribeAuditContentItemResult.h
|
||||
include/alibabacloud/green/model/SearchPersonRequest.h
|
||||
include/alibabacloud/green/model/SearchPersonResult.h
|
||||
include/alibabacloud/green/model/MarkOssResultRequest.h
|
||||
include/alibabacloud/green/model/MarkOssResultResult.h
|
||||
include/alibabacloud/green/model/DescribeAppInfoRequest.h
|
||||
include/alibabacloud/green/model/DescribeAppInfoResult.h
|
||||
include/alibabacloud/green/model/AddSimilarityImageRequest.h
|
||||
include/alibabacloud/green/model/AddSimilarityImageResult.h
|
||||
include/alibabacloud/green/model/DescribeCustomOcrTemplateRequest.h
|
||||
include/alibabacloud/green/model/DescribeCustomOcrTemplateResult.h
|
||||
include/alibabacloud/green/model/VoiceIdentityUnregisterRequest.h
|
||||
include/alibabacloud/green/model/VoiceIdentityUnregisterResult.h
|
||||
include/alibabacloud/green/model/DeleteKeywordRequest.h
|
||||
include/alibabacloud/green/model/DeleteKeywordResult.h
|
||||
include/alibabacloud/green/model/CreateWebSiteInstanceRequest.h
|
||||
include/alibabacloud/green/model/CreateWebSiteInstanceResult.h
|
||||
include/alibabacloud/green/model/ImageSyncScanRequest.h
|
||||
include/alibabacloud/green/model/ImageSyncScanResult.h
|
||||
include/alibabacloud/green/model/GetPersonRequest.h
|
||||
include/alibabacloud/green/model/GetPersonResult.h
|
||||
include/alibabacloud/green/model/DescribeWebsiteInstanceIdRequest.h
|
||||
include/alibabacloud/green/model/DescribeWebsiteInstanceIdResult.h
|
||||
include/alibabacloud/green/model/MarkWebsiteScanResultRequest.h
|
||||
include/alibabacloud/green/model/MarkWebsiteScanResultResult.h
|
||||
include/alibabacloud/green/model/VideoFeedbackRequest.h
|
||||
include/alibabacloud/green/model/VideoFeedbackResult.h
|
||||
include/alibabacloud/green/model/ExportKeywordsRequest.h
|
||||
include/alibabacloud/green/model/ExportKeywordsResult.h
|
||||
include/alibabacloud/green/model/MarkAuditContentRequest.h
|
||||
include/alibabacloud/green/model/MarkAuditContentResult.h
|
||||
include/alibabacloud/green/model/AddGroupsRequest.h
|
||||
include/alibabacloud/green/model/AddGroupsResult.h
|
||||
include/alibabacloud/green/model/VerifyEmailRequest.h
|
||||
include/alibabacloud/green/model/VerifyEmailResult.h
|
||||
include/alibabacloud/green/model/DescribeWebsiteVerifyInfoRequest.h
|
||||
include/alibabacloud/green/model/DescribeWebsiteVerifyInfoResult.h
|
||||
include/alibabacloud/green/model/FileAsyncScanResultsRequest.h
|
||||
include/alibabacloud/green/model/FileAsyncScanResultsResult.h
|
||||
include/alibabacloud/green/model/DescribeBizTypeSettingRequest.h
|
||||
include/alibabacloud/green/model/DescribeBizTypeSettingResult.h
|
||||
include/alibabacloud/green/model/DescribeSdkUrlRequest.h
|
||||
include/alibabacloud/green/model/DescribeSdkUrlResult.h
|
||||
include/alibabacloud/green/model/GetSimilarityLibraryRequest.h
|
||||
include/alibabacloud/green/model/GetSimilarityLibraryResult.h
|
||||
include/alibabacloud/green/model/DescribeOssIncrementStatsRequest.h
|
||||
include/alibabacloud/green/model/DescribeOssIncrementStatsResult.h
|
||||
include/alibabacloud/green/model/GetSimilarityImageRequest.h
|
||||
include/alibabacloud/green/model/GetSimilarityImageResult.h
|
||||
include/alibabacloud/green/model/SendVerifyCodeToEmailRequest.h
|
||||
include/alibabacloud/green/model/SendVerifyCodeToEmailResult.h
|
||||
include/alibabacloud/green/model/CreateImageLibRequest.h
|
||||
include/alibabacloud/green/model/CreateImageLibResult.h
|
||||
include/alibabacloud/green/model/GetFacesRequest.h
|
||||
include/alibabacloud/green/model/GetFacesResult.h
|
||||
include/alibabacloud/green/model/VoiceAsyncScanRequest.h
|
||||
include/alibabacloud/green/model/VoiceAsyncScanResult.h
|
||||
include/alibabacloud/green/model/UpdateCustomOcrTemplateRequest.h
|
||||
include/alibabacloud/green/model/UpdateCustomOcrTemplateResult.h
|
||||
include/alibabacloud/green/model/UpdateAuditSettingRequest.h
|
||||
include/alibabacloud/green/model/UpdateAuditSettingResult.h
|
||||
include/alibabacloud/green/model/GetGroupsRequest.h
|
||||
include/alibabacloud/green/model/GetGroupsResult.h
|
||||
include/alibabacloud/green/model/TextScanRequest.h
|
||||
include/alibabacloud/green/model/TextScanResult.h
|
||||
include/alibabacloud/green/model/ExportOssResultRequest.h
|
||||
include/alibabacloud/green/model/ExportOssResultResult.h
|
||||
include/alibabacloud/green/model/VoiceIdentityStartRegisterRequest.h
|
||||
include/alibabacloud/green/model/VoiceIdentityStartRegisterResult.h
|
||||
include/alibabacloud/green/model/DescribeWebsiteInstanceRequest.h
|
||||
include/alibabacloud/green/model/DescribeWebsiteInstanceResult.h
|
||||
include/alibabacloud/green/model/DescribeImageLibRequest.h
|
||||
include/alibabacloud/green/model/DescribeImageLibResult.h
|
||||
include/alibabacloud/green/model/UpgradeCdiBaseBagRequest.h
|
||||
include/alibabacloud/green/model/UpgradeCdiBaseBagResult.h
|
||||
include/alibabacloud/green/model/DescribeUserStatusRequest.h
|
||||
include/alibabacloud/green/model/DescribeUserStatusResult.h
|
||||
include/alibabacloud/green/model/GetAddVideoDnaResultsRequest.h
|
||||
include/alibabacloud/green/model/GetAddVideoDnaResultsResult.h
|
||||
include/alibabacloud/green/model/DescribeKeywordRequest.h
|
||||
include/alibabacloud/green/model/DescribeKeywordResult.h
|
||||
include/alibabacloud/green/model/AddFacesRequest.h
|
||||
include/alibabacloud/green/model/AddFacesResult.h
|
||||
include/alibabacloud/green/model/DescribeAuditSettingRequest.h
|
||||
include/alibabacloud/green/model/DescribeAuditSettingResult.h
|
||||
include/alibabacloud/green/model/CreateKeywordLibRequest.h
|
||||
include/alibabacloud/green/model/CreateKeywordLibResult.h
|
||||
include/alibabacloud/green/model/UpdateOssIncrementCheckSettingRequest.h
|
||||
include/alibabacloud/green/model/UpdateOssIncrementCheckSettingResult.h
|
||||
include/alibabacloud/green/model/UploadCredentialsRequest.h
|
||||
include/alibabacloud/green/model/UploadCredentialsResult.h
|
||||
include/alibabacloud/green/model/CreateBizTypeRequest.h
|
||||
include/alibabacloud/green/model/CreateBizTypeResult.h
|
||||
include/alibabacloud/green/model/GetPersonsRequest.h
|
||||
include/alibabacloud/green/model/GetPersonsResult.h
|
||||
include/alibabacloud/green/model/DeleteFacesRequest.h
|
||||
include/alibabacloud/green/model/DeleteFacesResult.h
|
||||
include/alibabacloud/green/model/DeletePersonRequest.h
|
||||
include/alibabacloud/green/model/DeletePersonResult.h
|
||||
include/alibabacloud/green/model/RefundWebSiteInstanceRequest.h
|
||||
include/alibabacloud/green/model/RefundWebSiteInstanceResult.h
|
||||
include/alibabacloud/green/model/SetPersonRequest.h
|
||||
include/alibabacloud/green/model/SetPersonResult.h
|
||||
include/alibabacloud/green/model/VoiceIdentityCheckRequest.h
|
||||
include/alibabacloud/green/model/VoiceIdentityCheckResult.h
|
||||
include/alibabacloud/green/model/TextFeedbackRequest.h
|
||||
include/alibabacloud/green/model/TextFeedbackResult.h
|
||||
include/alibabacloud/green/model/FileAsyncScanResultsRequest.h
|
||||
include/alibabacloud/green/model/FileAsyncScanResultsResult.h
|
||||
include/alibabacloud/green/model/CreateWebsiteIndexPageBaselineRequest.h
|
||||
include/alibabacloud/green/model/CreateWebsiteIndexPageBaselineResult.h
|
||||
include/alibabacloud/green/model/DeleteGroupsRequest.h
|
||||
include/alibabacloud/green/model/DeleteGroupsResult.h
|
||||
include/alibabacloud/green/model/VoiceIdentityStartCheckRequest.h
|
||||
include/alibabacloud/green/model/VoiceIdentityStartCheckResult.h
|
||||
include/alibabacloud/green/model/AddVideoDnaGroupRequest.h
|
||||
include/alibabacloud/green/model/AddVideoDnaGroupResult.h
|
||||
include/alibabacloud/green/model/ImageAsyncScanRequest.h
|
||||
include/alibabacloud/green/model/ImageAsyncScanResult.h
|
||||
include/alibabacloud/green/model/UpdateOssStockStatusRequest.h
|
||||
include/alibabacloud/green/model/UpdateOssStockStatusResult.h
|
||||
include/alibabacloud/green/model/DescribeKeywordLibRequest.h
|
||||
include/alibabacloud/green/model/DescribeKeywordLibResult.h
|
||||
include/alibabacloud/green/model/DescribeUpdatePackageResultRequest.h
|
||||
include/alibabacloud/green/model/DescribeUpdatePackageResultResult.h
|
||||
include/alibabacloud/green/model/VideoAsyncScanRequest.h
|
||||
include/alibabacloud/green/model/VideoAsyncScanResult.h
|
||||
include/alibabacloud/green/model/DescribeUploadInfoRequest.h
|
||||
include/alibabacloud/green/model/DescribeUploadInfoResult.h
|
||||
include/alibabacloud/green/model/ImageScanFeedbackRequest.h
|
||||
include/alibabacloud/green/model/ImageScanFeedbackResult.h
|
||||
include/alibabacloud/green/model/DescribeOpenApiUsageRequest.h
|
||||
include/alibabacloud/green/model/DescribeOpenApiUsageResult.h
|
||||
include/alibabacloud/green/model/DeleteSimilarityLibraryRequest.h
|
||||
include/alibabacloud/green/model/DeleteSimilarityLibraryResult.h
|
||||
include/alibabacloud/green/model/DescribeOssCallbackSettingRequest.h
|
||||
include/alibabacloud/green/model/DescribeOssCallbackSettingResult.h
|
||||
include/alibabacloud/green/model/DescribeImageUploadInfoRequest.h
|
||||
include/alibabacloud/green/model/DescribeImageUploadInfoResult.h
|
||||
include/alibabacloud/green/model/ImageResultRequest.h
|
||||
include/alibabacloud/green/model/ImageResultResult.h
|
||||
include/alibabacloud/green/model/DeleteSimilarityImageRequest.h
|
||||
include/alibabacloud/green/model/DeleteSimilarityImageResult.h
|
||||
include/alibabacloud/green/model/DeleteImageLibRequest.h
|
||||
include/alibabacloud/green/model/DeleteImageLibResult.h
|
||||
include/alibabacloud/green/model/AddPersonRequest.h
|
||||
include/alibabacloud/green/model/AddPersonResult.h
|
||||
include/alibabacloud/green/model/ListSimilarityLibrariesRequest.h
|
||||
include/alibabacloud/green/model/ListSimilarityLibrariesResult.h
|
||||
include/alibabacloud/green/model/DeleteCustomOcrTemplateRequest.h
|
||||
include/alibabacloud/green/model/DeleteCustomOcrTemplateResult.h
|
||||
include/alibabacloud/green/model/SampleFeedbackRequest.h
|
||||
include/alibabacloud/green/model/SampleFeedbackResult.h
|
||||
include/alibabacloud/green/model/ListSimilarityImagesRequest.h
|
||||
include/alibabacloud/green/model/ListSimilarityImagesResult.h
|
||||
include/alibabacloud/green/model/MarkAuditContentItemRequest.h
|
||||
include/alibabacloud/green/model/MarkAuditContentItemResult.h
|
||||
include/alibabacloud/green/model/AddVideoDnaRequest.h
|
||||
include/alibabacloud/green/model/AddVideoDnaResult.h
|
||||
include/alibabacloud/green/model/VideoSyncScanRequest.h
|
||||
include/alibabacloud/green/model/VideoSyncScanResult.h
|
||||
include/alibabacloud/green/model/DeleteNotificationContactsRequest.h
|
||||
include/alibabacloud/green/model/DeleteNotificationContactsResult.h
|
||||
include/alibabacloud/green/model/VideoAsyncScanResultsRequest.h
|
||||
include/alibabacloud/green/model/VideoAsyncScanResultsResult.h
|
||||
include/alibabacloud/green/model/DescribeOssStockStatusRequest.h
|
||||
include/alibabacloud/green/model/DescribeOssStockStatusResult.h
|
||||
include/alibabacloud/green/model/TextKeywordFilterRequest.h
|
||||
include/alibabacloud/green/model/TextKeywordFilterResult.h
|
||||
include/alibabacloud/green/model/UpdateImageLibRequest.h
|
||||
include/alibabacloud/green/model/UpdateImageLibResult.h
|
||||
include/alibabacloud/green/model/CreatCustomOcrTemplateRequest.h
|
||||
include/alibabacloud/green/model/CreatCustomOcrTemplateResult.h
|
||||
include/alibabacloud/green/model/CreateKeywordRequest.h
|
||||
include/alibabacloud/green/model/CreateKeywordResult.h
|
||||
include/alibabacloud/green/model/UploadImageToLibRequest.h
|
||||
include/alibabacloud/green/model/UploadImageToLibResult.h
|
||||
include/alibabacloud/green/model/UpdateWebsiteInstanceRequest.h
|
||||
include/alibabacloud/green/model/UpdateWebsiteInstanceResult.h
|
||||
include/alibabacloud/green/model/DescribeWebsiteScanResultDetailRequest.h
|
||||
include/alibabacloud/green/model/DescribeWebsiteScanResultDetailResult.h
|
||||
include/alibabacloud/green/model/AddSimilarityLibraryRequest.h
|
||||
include/alibabacloud/green/model/AddSimilarityLibraryResult.h
|
||||
include/alibabacloud/green/model/AddVideoDnaGroupRequest.h
|
||||
include/alibabacloud/green/model/AddVideoDnaGroupResult.h
|
||||
include/alibabacloud/green/model/CreateCdiBagRequest.h
|
||||
include/alibabacloud/green/model/CreateCdiBagResult.h
|
||||
include/alibabacloud/green/model/UpdateKeywordLibRequest.h
|
||||
include/alibabacloud/green/model/UpdateKeywordLibResult.h
|
||||
include/alibabacloud/green/model/ImageAsyncScanRequest.h
|
||||
include/alibabacloud/green/model/ImageAsyncScanResult.h
|
||||
include/alibabacloud/green/model/ImageAsyncScanResultsRequest.h
|
||||
include/alibabacloud/green/model/ImageAsyncScanResultsResult.h
|
||||
include/alibabacloud/green/model/VoiceAsyncScanResultsRequest.h
|
||||
include/alibabacloud/green/model/VoiceAsyncScanResultsResult.h
|
||||
include/alibabacloud/green/model/GetFacesRequest.h
|
||||
include/alibabacloud/green/model/GetFacesResult.h
|
||||
include/alibabacloud/green/model/VoiceAsyncScanRequest.h
|
||||
include/alibabacloud/green/model/VoiceAsyncScanResult.h
|
||||
include/alibabacloud/green/model/VoiceCancelScanRequest.h
|
||||
include/alibabacloud/green/model/VoiceCancelScanResult.h
|
||||
include/alibabacloud/green/model/GetGroupsRequest.h
|
||||
include/alibabacloud/green/model/GetGroupsResult.h
|
||||
include/alibabacloud/green/model/TextScanRequest.h
|
||||
include/alibabacloud/green/model/TextScanResult.h
|
||||
include/alibabacloud/green/model/VoiceIdentityRegisterRequest.h
|
||||
include/alibabacloud/green/model/VoiceIdentityRegisterResult.h
|
||||
include/alibabacloud/green/model/ImageScanFeedbackRequest.h
|
||||
include/alibabacloud/green/model/ImageScanFeedbackResult.h
|
||||
include/alibabacloud/green/model/VoiceIdentityStartRegisterRequest.h
|
||||
include/alibabacloud/green/model/VoiceIdentityStartRegisterResult.h
|
||||
include/alibabacloud/green/model/DeleteSimilarityImageRequest.h
|
||||
include/alibabacloud/green/model/DeleteSimilarityImageResult.h
|
||||
include/alibabacloud/green/model/SearchPersonRequest.h
|
||||
include/alibabacloud/green/model/SearchPersonResult.h
|
||||
include/alibabacloud/green/model/GetAddVideoDnaResultsRequest.h
|
||||
include/alibabacloud/green/model/GetAddVideoDnaResultsResult.h
|
||||
include/alibabacloud/green/model/AddPersonRequest.h
|
||||
include/alibabacloud/green/model/AddPersonResult.h
|
||||
include/alibabacloud/green/model/AddFacesRequest.h
|
||||
include/alibabacloud/green/model/AddFacesResult.h
|
||||
include/alibabacloud/green/model/AddSimilarityImageRequest.h
|
||||
include/alibabacloud/green/model/AddSimilarityImageResult.h
|
||||
include/alibabacloud/green/model/VoiceIdentityUnregisterRequest.h
|
||||
include/alibabacloud/green/model/VoiceIdentityUnregisterResult.h )
|
||||
include/alibabacloud/green/model/ImageResultsRequest.h
|
||||
include/alibabacloud/green/model/ImageResultsResult.h
|
||||
include/alibabacloud/green/model/VerifyWebsiteInstanceRequest.h
|
||||
include/alibabacloud/green/model/VerifyWebsiteInstanceResult.h
|
||||
include/alibabacloud/green/model/UpdateWebsiteInstanceKeyUrlRequest.h
|
||||
include/alibabacloud/green/model/UpdateWebsiteInstanceKeyUrlResult.h
|
||||
include/alibabacloud/green/model/SendVerifyCodeToPhoneRequest.h
|
||||
include/alibabacloud/green/model/SendVerifyCodeToPhoneResult.h
|
||||
include/alibabacloud/green/model/DescribeOssIncrementOverviewRequest.h
|
||||
include/alibabacloud/green/model/DescribeOssIncrementOverviewResult.h
|
||||
include/alibabacloud/green/model/DescribeNotificationSettingRequest.h
|
||||
include/alibabacloud/green/model/DescribeNotificationSettingResult.h
|
||||
include/alibabacloud/green/model/DescribeAuditContentRequest.h
|
||||
include/alibabacloud/green/model/DescribeAuditContentResult.h )
|
||||
|
||||
set(green_src
|
||||
src/GreenClient.cc
|
||||
src/model/ImageSyncScanRequest.cc
|
||||
src/model/ImageSyncScanResult.cc
|
||||
src/model/UploadCredentialsRequest.cc
|
||||
src/model/UploadCredentialsResult.cc
|
||||
src/model/GetPersonsRequest.cc
|
||||
src/model/GetPersonsResult.cc
|
||||
src/model/GetPersonRequest.cc
|
||||
src/model/GetPersonResult.cc
|
||||
src/model/DeleteFacesRequest.cc
|
||||
src/model/DeleteFacesResult.cc
|
||||
src/model/DescribeWebsiteIndexPageBaselineRequest.cc
|
||||
src/model/DescribeWebsiteIndexPageBaselineResult.cc
|
||||
src/model/VerifyCustomOcrTemplateRequest.cc
|
||||
src/model/VerifyCustomOcrTemplateResult.cc
|
||||
src/model/DescribeOssIncrementCheckSettingRequest.cc
|
||||
src/model/DescribeOssIncrementCheckSettingResult.cc
|
||||
src/model/DescribeWebsiteScanResultRequest.cc
|
||||
src/model/DescribeWebsiteScanResultResult.cc
|
||||
src/model/UpdateAppPackageRequest.cc
|
||||
src/model/UpdateAppPackageResult.cc
|
||||
src/model/DeleteVideoDnaGroupRequest.cc
|
||||
src/model/DeleteVideoDnaGroupResult.cc
|
||||
src/model/AddVideoDnaRequest.cc
|
||||
src/model/AddVideoDnaResult.cc
|
||||
src/model/VideoFeedbackRequest.cc
|
||||
src/model/VideoFeedbackResult.cc
|
||||
src/model/DeletePersonRequest.cc
|
||||
src/model/DeletePersonResult.cc
|
||||
src/model/VideoSyncScanRequest.cc
|
||||
src/model/VideoSyncScanResult.cc
|
||||
src/model/VideoAsyncScanResultsRequest.cc
|
||||
src/model/VideoAsyncScanResultsResult.cc
|
||||
src/model/UpdateOssCallbackSettingRequest.cc
|
||||
src/model/UpdateOssCallbackSettingResult.cc
|
||||
src/model/DescribeWebsiteInstanceKeyUrlRequest.cc
|
||||
src/model/DescribeWebsiteInstanceKeyUrlResult.cc
|
||||
src/model/DeleteVideoDnaRequest.cc
|
||||
src/model/DeleteVideoDnaResult.cc
|
||||
src/model/AddGroupsRequest.cc
|
||||
src/model/AddGroupsResult.cc
|
||||
src/model/RefundCdiBaseBagRequest.cc
|
||||
src/model/RefundCdiBaseBagResult.cc
|
||||
src/model/UpdateBizTypeSettingRequest.cc
|
||||
src/model/UpdateBizTypeSettingResult.cc
|
||||
src/model/FileAsyncScanRequest.cc
|
||||
src/model/FileAsyncScanResult.cc
|
||||
src/model/DescribeOssResultItemsRequest.cc
|
||||
src/model/DescribeOssResultItemsResult.cc
|
||||
src/model/UpdateWebsiteInstanceStatusRequest.cc
|
||||
src/model/UpdateWebsiteInstanceStatusResult.cc
|
||||
src/model/DescribeBizTypesRequest.cc
|
||||
src/model/DescribeBizTypesResult.cc
|
||||
src/model/RefundCdiBagRequest.cc
|
||||
src/model/RefundCdiBagResult.cc
|
||||
src/model/DeleteImageFromLibRequest.cc
|
||||
src/model/DeleteImageFromLibResult.cc
|
||||
src/model/CreateCdiBaseBagRequest.cc
|
||||
src/model/CreateCdiBaseBagResult.cc
|
||||
src/model/VerifyPhoneRequest.cc
|
||||
src/model/VerifyPhoneResult.cc
|
||||
src/model/ImageDetectionRequest.cc
|
||||
src/model/ImageDetectionResult.cc
|
||||
src/model/DeleteKeywordLibRequest.cc
|
||||
src/model/DeleteKeywordLibResult.cc
|
||||
src/model/ImportKeywordsRequest.cc
|
||||
src/model/ImportKeywordsResult.cc
|
||||
src/model/VoiceCancelScanRequest.cc
|
||||
src/model/VoiceCancelScanResult.cc
|
||||
src/model/SendWebsiteFeedbackRequest.cc
|
||||
src/model/SendWebsiteFeedbackResult.cc
|
||||
src/model/DescribeImageFromLibRequest.cc
|
||||
src/model/DescribeImageFromLibResult.cc
|
||||
src/model/RenewWebSiteInstanceRequest.cc
|
||||
src/model/RenewWebSiteInstanceResult.cc
|
||||
src/model/DescribeViewContentRequest.cc
|
||||
src/model/DescribeViewContentResult.cc
|
||||
src/model/VoiceIdentityRegisterRequest.cc
|
||||
src/model/VoiceIdentityRegisterResult.cc
|
||||
src/model/DescribeWebsiteStatRequest.cc
|
||||
src/model/DescribeWebsiteStatResult.cc
|
||||
src/model/UpdateNotificationSettingRequest.cc
|
||||
src/model/UpdateNotificationSettingResult.cc
|
||||
src/model/DescribeAuditContentItemRequest.cc
|
||||
src/model/DescribeAuditContentItemResult.cc
|
||||
src/model/SearchPersonRequest.cc
|
||||
src/model/SearchPersonResult.cc
|
||||
src/model/MarkOssResultRequest.cc
|
||||
src/model/MarkOssResultResult.cc
|
||||
src/model/DescribeAppInfoRequest.cc
|
||||
src/model/DescribeAppInfoResult.cc
|
||||
src/model/AddSimilarityImageRequest.cc
|
||||
src/model/AddSimilarityImageResult.cc
|
||||
src/model/DescribeCustomOcrTemplateRequest.cc
|
||||
src/model/DescribeCustomOcrTemplateResult.cc
|
||||
src/model/VoiceIdentityUnregisterRequest.cc
|
||||
src/model/VoiceIdentityUnregisterResult.cc
|
||||
src/model/DeleteKeywordRequest.cc
|
||||
src/model/DeleteKeywordResult.cc
|
||||
src/model/CreateWebSiteInstanceRequest.cc
|
||||
src/model/CreateWebSiteInstanceResult.cc
|
||||
src/model/ImageSyncScanRequest.cc
|
||||
src/model/ImageSyncScanResult.cc
|
||||
src/model/GetPersonRequest.cc
|
||||
src/model/GetPersonResult.cc
|
||||
src/model/DescribeWebsiteInstanceIdRequest.cc
|
||||
src/model/DescribeWebsiteInstanceIdResult.cc
|
||||
src/model/MarkWebsiteScanResultRequest.cc
|
||||
src/model/MarkWebsiteScanResultResult.cc
|
||||
src/model/VideoFeedbackRequest.cc
|
||||
src/model/VideoFeedbackResult.cc
|
||||
src/model/ExportKeywordsRequest.cc
|
||||
src/model/ExportKeywordsResult.cc
|
||||
src/model/MarkAuditContentRequest.cc
|
||||
src/model/MarkAuditContentResult.cc
|
||||
src/model/AddGroupsRequest.cc
|
||||
src/model/AddGroupsResult.cc
|
||||
src/model/VerifyEmailRequest.cc
|
||||
src/model/VerifyEmailResult.cc
|
||||
src/model/DescribeWebsiteVerifyInfoRequest.cc
|
||||
src/model/DescribeWebsiteVerifyInfoResult.cc
|
||||
src/model/FileAsyncScanResultsRequest.cc
|
||||
src/model/FileAsyncScanResultsResult.cc
|
||||
src/model/DescribeBizTypeSettingRequest.cc
|
||||
src/model/DescribeBizTypeSettingResult.cc
|
||||
src/model/DescribeSdkUrlRequest.cc
|
||||
src/model/DescribeSdkUrlResult.cc
|
||||
src/model/GetSimilarityLibraryRequest.cc
|
||||
src/model/GetSimilarityLibraryResult.cc
|
||||
src/model/DescribeOssIncrementStatsRequest.cc
|
||||
src/model/DescribeOssIncrementStatsResult.cc
|
||||
src/model/GetSimilarityImageRequest.cc
|
||||
src/model/GetSimilarityImageResult.cc
|
||||
src/model/SendVerifyCodeToEmailRequest.cc
|
||||
src/model/SendVerifyCodeToEmailResult.cc
|
||||
src/model/CreateImageLibRequest.cc
|
||||
src/model/CreateImageLibResult.cc
|
||||
src/model/GetFacesRequest.cc
|
||||
src/model/GetFacesResult.cc
|
||||
src/model/VoiceAsyncScanRequest.cc
|
||||
src/model/VoiceAsyncScanResult.cc
|
||||
src/model/UpdateCustomOcrTemplateRequest.cc
|
||||
src/model/UpdateCustomOcrTemplateResult.cc
|
||||
src/model/UpdateAuditSettingRequest.cc
|
||||
src/model/UpdateAuditSettingResult.cc
|
||||
src/model/GetGroupsRequest.cc
|
||||
src/model/GetGroupsResult.cc
|
||||
src/model/TextScanRequest.cc
|
||||
src/model/TextScanResult.cc
|
||||
src/model/ExportOssResultRequest.cc
|
||||
src/model/ExportOssResultResult.cc
|
||||
src/model/VoiceIdentityStartRegisterRequest.cc
|
||||
src/model/VoiceIdentityStartRegisterResult.cc
|
||||
src/model/DescribeWebsiteInstanceRequest.cc
|
||||
src/model/DescribeWebsiteInstanceResult.cc
|
||||
src/model/DescribeImageLibRequest.cc
|
||||
src/model/DescribeImageLibResult.cc
|
||||
src/model/UpgradeCdiBaseBagRequest.cc
|
||||
src/model/UpgradeCdiBaseBagResult.cc
|
||||
src/model/DescribeUserStatusRequest.cc
|
||||
src/model/DescribeUserStatusResult.cc
|
||||
src/model/GetAddVideoDnaResultsRequest.cc
|
||||
src/model/GetAddVideoDnaResultsResult.cc
|
||||
src/model/DescribeKeywordRequest.cc
|
||||
src/model/DescribeKeywordResult.cc
|
||||
src/model/AddFacesRequest.cc
|
||||
src/model/AddFacesResult.cc
|
||||
src/model/DescribeAuditSettingRequest.cc
|
||||
src/model/DescribeAuditSettingResult.cc
|
||||
src/model/CreateKeywordLibRequest.cc
|
||||
src/model/CreateKeywordLibResult.cc
|
||||
src/model/UpdateOssIncrementCheckSettingRequest.cc
|
||||
src/model/UpdateOssIncrementCheckSettingResult.cc
|
||||
src/model/UploadCredentialsRequest.cc
|
||||
src/model/UploadCredentialsResult.cc
|
||||
src/model/CreateBizTypeRequest.cc
|
||||
src/model/CreateBizTypeResult.cc
|
||||
src/model/GetPersonsRequest.cc
|
||||
src/model/GetPersonsResult.cc
|
||||
src/model/DeleteFacesRequest.cc
|
||||
src/model/DeleteFacesResult.cc
|
||||
src/model/DeletePersonRequest.cc
|
||||
src/model/DeletePersonResult.cc
|
||||
src/model/RefundWebSiteInstanceRequest.cc
|
||||
src/model/RefundWebSiteInstanceResult.cc
|
||||
src/model/SetPersonRequest.cc
|
||||
src/model/SetPersonResult.cc
|
||||
src/model/VoiceIdentityCheckRequest.cc
|
||||
src/model/VoiceIdentityCheckResult.cc
|
||||
src/model/TextFeedbackRequest.cc
|
||||
src/model/TextFeedbackResult.cc
|
||||
src/model/FileAsyncScanResultsRequest.cc
|
||||
src/model/FileAsyncScanResultsResult.cc
|
||||
src/model/CreateWebsiteIndexPageBaselineRequest.cc
|
||||
src/model/CreateWebsiteIndexPageBaselineResult.cc
|
||||
src/model/DeleteGroupsRequest.cc
|
||||
src/model/DeleteGroupsResult.cc
|
||||
src/model/VoiceIdentityStartCheckRequest.cc
|
||||
src/model/VoiceIdentityStartCheckResult.cc
|
||||
src/model/AddVideoDnaGroupRequest.cc
|
||||
src/model/AddVideoDnaGroupResult.cc
|
||||
src/model/ImageAsyncScanRequest.cc
|
||||
src/model/ImageAsyncScanResult.cc
|
||||
src/model/UpdateOssStockStatusRequest.cc
|
||||
src/model/UpdateOssStockStatusResult.cc
|
||||
src/model/DescribeKeywordLibRequest.cc
|
||||
src/model/DescribeKeywordLibResult.cc
|
||||
src/model/DescribeUpdatePackageResultRequest.cc
|
||||
src/model/DescribeUpdatePackageResultResult.cc
|
||||
src/model/VideoAsyncScanRequest.cc
|
||||
src/model/VideoAsyncScanResult.cc
|
||||
src/model/DescribeUploadInfoRequest.cc
|
||||
src/model/DescribeUploadInfoResult.cc
|
||||
src/model/ImageScanFeedbackRequest.cc
|
||||
src/model/ImageScanFeedbackResult.cc
|
||||
src/model/DescribeOpenApiUsageRequest.cc
|
||||
src/model/DescribeOpenApiUsageResult.cc
|
||||
src/model/DeleteSimilarityLibraryRequest.cc
|
||||
src/model/DeleteSimilarityLibraryResult.cc
|
||||
src/model/DescribeOssCallbackSettingRequest.cc
|
||||
src/model/DescribeOssCallbackSettingResult.cc
|
||||
src/model/DescribeImageUploadInfoRequest.cc
|
||||
src/model/DescribeImageUploadInfoResult.cc
|
||||
src/model/ImageResultRequest.cc
|
||||
src/model/ImageResultResult.cc
|
||||
src/model/DeleteSimilarityImageRequest.cc
|
||||
src/model/DeleteSimilarityImageResult.cc
|
||||
src/model/DeleteImageLibRequest.cc
|
||||
src/model/DeleteImageLibResult.cc
|
||||
src/model/AddPersonRequest.cc
|
||||
src/model/AddPersonResult.cc
|
||||
src/model/ListSimilarityLibrariesRequest.cc
|
||||
src/model/ListSimilarityLibrariesResult.cc
|
||||
src/model/DeleteCustomOcrTemplateRequest.cc
|
||||
src/model/DeleteCustomOcrTemplateResult.cc
|
||||
src/model/SampleFeedbackRequest.cc
|
||||
src/model/SampleFeedbackResult.cc
|
||||
src/model/ListSimilarityImagesRequest.cc
|
||||
src/model/ListSimilarityImagesResult.cc
|
||||
src/model/MarkAuditContentItemRequest.cc
|
||||
src/model/MarkAuditContentItemResult.cc
|
||||
src/model/AddVideoDnaRequest.cc
|
||||
src/model/AddVideoDnaResult.cc
|
||||
src/model/VideoSyncScanRequest.cc
|
||||
src/model/VideoSyncScanResult.cc
|
||||
src/model/DeleteNotificationContactsRequest.cc
|
||||
src/model/DeleteNotificationContactsResult.cc
|
||||
src/model/VideoAsyncScanResultsRequest.cc
|
||||
src/model/VideoAsyncScanResultsResult.cc
|
||||
src/model/DescribeOssStockStatusRequest.cc
|
||||
src/model/DescribeOssStockStatusResult.cc
|
||||
src/model/TextKeywordFilterRequest.cc
|
||||
src/model/TextKeywordFilterResult.cc
|
||||
src/model/UpdateImageLibRequest.cc
|
||||
src/model/UpdateImageLibResult.cc
|
||||
src/model/CreatCustomOcrTemplateRequest.cc
|
||||
src/model/CreatCustomOcrTemplateResult.cc
|
||||
src/model/CreateKeywordRequest.cc
|
||||
src/model/CreateKeywordResult.cc
|
||||
src/model/UploadImageToLibRequest.cc
|
||||
src/model/UploadImageToLibResult.cc
|
||||
src/model/UpdateWebsiteInstanceRequest.cc
|
||||
src/model/UpdateWebsiteInstanceResult.cc
|
||||
src/model/DescribeWebsiteScanResultDetailRequest.cc
|
||||
src/model/DescribeWebsiteScanResultDetailResult.cc
|
||||
src/model/AddSimilarityLibraryRequest.cc
|
||||
src/model/AddSimilarityLibraryResult.cc
|
||||
src/model/AddVideoDnaGroupRequest.cc
|
||||
src/model/AddVideoDnaGroupResult.cc
|
||||
src/model/CreateCdiBagRequest.cc
|
||||
src/model/CreateCdiBagResult.cc
|
||||
src/model/UpdateKeywordLibRequest.cc
|
||||
src/model/UpdateKeywordLibResult.cc
|
||||
src/model/ImageAsyncScanRequest.cc
|
||||
src/model/ImageAsyncScanResult.cc
|
||||
src/model/ImageAsyncScanResultsRequest.cc
|
||||
src/model/ImageAsyncScanResultsResult.cc
|
||||
src/model/VoiceAsyncScanResultsRequest.cc
|
||||
src/model/VoiceAsyncScanResultsResult.cc
|
||||
src/model/GetFacesRequest.cc
|
||||
src/model/GetFacesResult.cc
|
||||
src/model/VoiceAsyncScanRequest.cc
|
||||
src/model/VoiceAsyncScanResult.cc
|
||||
src/model/VoiceCancelScanRequest.cc
|
||||
src/model/VoiceCancelScanResult.cc
|
||||
src/model/GetGroupsRequest.cc
|
||||
src/model/GetGroupsResult.cc
|
||||
src/model/TextScanRequest.cc
|
||||
src/model/TextScanResult.cc
|
||||
src/model/VoiceIdentityRegisterRequest.cc
|
||||
src/model/VoiceIdentityRegisterResult.cc
|
||||
src/model/ImageScanFeedbackRequest.cc
|
||||
src/model/ImageScanFeedbackResult.cc
|
||||
src/model/VoiceIdentityStartRegisterRequest.cc
|
||||
src/model/VoiceIdentityStartRegisterResult.cc
|
||||
src/model/DeleteSimilarityImageRequest.cc
|
||||
src/model/DeleteSimilarityImageResult.cc
|
||||
src/model/SearchPersonRequest.cc
|
||||
src/model/SearchPersonResult.cc
|
||||
src/model/GetAddVideoDnaResultsRequest.cc
|
||||
src/model/GetAddVideoDnaResultsResult.cc
|
||||
src/model/AddPersonRequest.cc
|
||||
src/model/AddPersonResult.cc
|
||||
src/model/AddFacesRequest.cc
|
||||
src/model/AddFacesResult.cc
|
||||
src/model/AddSimilarityImageRequest.cc
|
||||
src/model/AddSimilarityImageResult.cc
|
||||
src/model/VoiceIdentityUnregisterRequest.cc
|
||||
src/model/VoiceIdentityUnregisterResult.cc )
|
||||
src/model/ImageResultsRequest.cc
|
||||
src/model/ImageResultsResult.cc
|
||||
src/model/VerifyWebsiteInstanceRequest.cc
|
||||
src/model/VerifyWebsiteInstanceResult.cc
|
||||
src/model/UpdateWebsiteInstanceKeyUrlRequest.cc
|
||||
src/model/UpdateWebsiteInstanceKeyUrlResult.cc
|
||||
src/model/SendVerifyCodeToPhoneRequest.cc
|
||||
src/model/SendVerifyCodeToPhoneResult.cc
|
||||
src/model/DescribeOssIncrementOverviewRequest.cc
|
||||
src/model/DescribeOssIncrementOverviewResult.cc
|
||||
src/model/DescribeNotificationSettingRequest.cc
|
||||
src/model/DescribeNotificationSettingResult.cc
|
||||
src/model/DescribeAuditContentRequest.cc
|
||||
src/model/DescribeAuditContentResult.cc )
|
||||
|
||||
add_library(green ${LIB_TYPE}
|
||||
${green_public_header}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_ADDSIMILARITYLIBRARYREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_ADDSIMILARITYLIBRARYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT AddSimilarityLibraryRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddSimilarityLibraryRequest();
|
||||
~AddSimilarityLibraryRequest();
|
||||
|
||||
std::string getClientInfo()const;
|
||||
void setClientInfo(const std::string& clientInfo);
|
||||
|
||||
private:
|
||||
std::string clientInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_ADDSIMILARITYLIBRARYREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_ADDSIMILARITYLIBRARYRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_ADDSIMILARITYLIBRARYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT AddSimilarityLibraryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddSimilarityLibraryResult();
|
||||
explicit AddSimilarityLibraryResult(const std::string &payload);
|
||||
~AddSimilarityLibraryResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_ADDSIMILARITYLIBRARYRESULT_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_GREEN_MODEL_CREATCUSTOMOCRTEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_CREATCUSTOMOCRTEMPLATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT CreatCustomOcrTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreatCustomOcrTemplateRequest();
|
||||
~CreatCustomOcrTemplateRequest();
|
||||
|
||||
std::string getImgUrl()const;
|
||||
void setImgUrl(const std::string& imgUrl);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getReferArea()const;
|
||||
void setReferArea(const std::string& referArea);
|
||||
std::string getRecognizeArea()const;
|
||||
void setRecognizeArea(const std::string& recognizeArea);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
std::string imgUrl_;
|
||||
std::string sourceIp_;
|
||||
std::string referArea_;
|
||||
std::string recognizeArea_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATCUSTOMOCRTEMPLATEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_CREATCUSTOMOCRTEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_CREATCUSTOMOCRTEMPLATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT CreatCustomOcrTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreatCustomOcrTemplateResult();
|
||||
explicit CreatCustomOcrTemplateResult(const std::string &payload);
|
||||
~CreatCustomOcrTemplateResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATCUSTOMOCRTEMPLATERESULT_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_GREEN_MODEL_CREATEBIZTYPEREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_CREATEBIZTYPEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT CreateBizTypeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateBizTypeRequest();
|
||||
~CreateBizTypeRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getIndustryInfo()const;
|
||||
void setIndustryInfo(const std::string& industryInfo);
|
||||
std::string getBizTypeName()const;
|
||||
void setBizTypeName(const std::string& bizTypeName);
|
||||
std::string getBizTypeImport()const;
|
||||
void setBizTypeImport(const std::string& bizTypeImport);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string industryInfo_;
|
||||
std::string bizTypeName_;
|
||||
std::string bizTypeImport_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEBIZTYPEREQUEST_H_
|
||||
49
green/include/alibabacloud/green/model/CreateBizTypeResult.h
Normal file
49
green/include/alibabacloud/green/model/CreateBizTypeResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_CREATEBIZTYPERESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_CREATEBIZTYPERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT CreateBizTypeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateBizTypeResult();
|
||||
explicit CreateBizTypeResult(const std::string &payload);
|
||||
~CreateBizTypeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEBIZTYPERESULT_H_
|
||||
63
green/include/alibabacloud/green/model/CreateCdiBagRequest.h
Normal file
63
green/include/alibabacloud/green/model/CreateCdiBagRequest.h
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_CREATECDIBAGREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_CREATECDIBAGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT CreateCdiBagRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateCdiBagRequest();
|
||||
~CreateCdiBagRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
int getOrderNum()const;
|
||||
void setOrderNum(int orderNum);
|
||||
std::string getCommodityCode()const;
|
||||
void setCommodityCode(const std::string& commodityCode);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getFlowOutSpec()const;
|
||||
void setFlowOutSpec(int flowOutSpec);
|
||||
std::string getOrderType()const;
|
||||
void setOrderType(const std::string& orderType);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
int orderNum_;
|
||||
std::string commodityCode_;
|
||||
long ownerId_;
|
||||
int flowOutSpec_;
|
||||
std::string orderType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATECDIBAGREQUEST_H_
|
||||
57
green/include/alibabacloud/green/model/CreateCdiBagResult.h
Normal file
57
green/include/alibabacloud/green/model/CreateCdiBagResult.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_CREATECDIBAGRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_CREATECDIBAGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT CreateCdiBagResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateCdiBagResult();
|
||||
explicit CreateCdiBagResult(const std::string &payload);
|
||||
~CreateCdiBagResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<std::string> getInstanceIds()const;
|
||||
std::string getOrderId()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<std::string> instanceIds_;
|
||||
std::string orderId_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATECDIBAGRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_CREATECDIBASEBAGREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_CREATECDIBASEBAGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT CreateCdiBaseBagRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateCdiBaseBagRequest();
|
||||
~CreateCdiBaseBagRequest();
|
||||
|
||||
int getDuration()const;
|
||||
void setDuration(int duration);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getCommodityCode()const;
|
||||
void setCommodityCode(const std::string& commodityCode);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getFlowOutSpec()const;
|
||||
void setFlowOutSpec(int flowOutSpec);
|
||||
std::string getOrderType()const;
|
||||
void setOrderType(const std::string& orderType);
|
||||
|
||||
private:
|
||||
int duration_;
|
||||
std::string clientToken_;
|
||||
std::string commodityCode_;
|
||||
long ownerId_;
|
||||
int flowOutSpec_;
|
||||
std::string orderType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATECDIBASEBAGREQUEST_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_GREEN_MODEL_CREATECDIBASEBAGRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_CREATECDIBASEBAGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT CreateCdiBaseBagResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateCdiBaseBagResult();
|
||||
explicit CreateCdiBaseBagResult(const std::string &payload);
|
||||
~CreateCdiBaseBagResult();
|
||||
std::string getMessage()const;
|
||||
std::string getInstanceId()const;
|
||||
std::string getOrderId()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string instanceId_;
|
||||
std::string orderId_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATECDIBASEBAGRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_CREATEIMAGELIBREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_CREATEIMAGELIBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT CreateImageLibRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateImageLibRequest();
|
||||
~CreateImageLibRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
bool getEnable()const;
|
||||
void setEnable(bool enable);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getBizTypes()const;
|
||||
void setBizTypes(const std::string& bizTypes);
|
||||
std::string getServiceModule()const;
|
||||
void setServiceModule(const std::string& serviceModule);
|
||||
std::string getCategory()const;
|
||||
void setCategory(const std::string& category);
|
||||
std::string getScene()const;
|
||||
void setScene(const std::string& scene);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
bool enable_;
|
||||
std::string name_;
|
||||
std::string bizTypes_;
|
||||
std::string serviceModule_;
|
||||
std::string category_;
|
||||
std::string scene_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEIMAGELIBREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_CREATEIMAGELIBRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_CREATEIMAGELIBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT CreateImageLibResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateImageLibResult();
|
||||
explicit CreateImageLibResult(const std::string &payload);
|
||||
~CreateImageLibResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEIMAGELIBRESULT_H_
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_GREEN_MODEL_CREATEKEYWORDLIBREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDLIBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT CreateKeywordLibRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateKeywordLibRequest();
|
||||
~CreateKeywordLibRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getLibType()const;
|
||||
void setLibType(const std::string& libType);
|
||||
bool getEnable()const;
|
||||
void setEnable(bool enable);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getBizTypes()const;
|
||||
void setBizTypes(const std::string& bizTypes);
|
||||
std::string getLanguage()const;
|
||||
void setLanguage(const std::string& language);
|
||||
std::string getServiceModule()const;
|
||||
void setServiceModule(const std::string& serviceModule);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getCategory()const;
|
||||
void setCategory(const std::string& category);
|
||||
std::string getMatchMode()const;
|
||||
void setMatchMode(const std::string& matchMode);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string libType_;
|
||||
bool enable_;
|
||||
std::string name_;
|
||||
std::string bizTypes_;
|
||||
std::string language_;
|
||||
std::string serviceModule_;
|
||||
std::string lang_;
|
||||
std::string category_;
|
||||
std::string matchMode_;
|
||||
std::string resourceType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDLIBREQUEST_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_GREEN_MODEL_CREATEKEYWORDLIBRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDLIBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT CreateKeywordLibResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateKeywordLibResult();
|
||||
explicit CreateKeywordLibResult(const std::string &payload);
|
||||
~CreateKeywordLibResult();
|
||||
std::string getId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string id_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDLIBRESULT_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_GREEN_MODEL_CREATEKEYWORDREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT CreateKeywordRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateKeywordRequest();
|
||||
~CreateKeywordRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getKeywords()const;
|
||||
void setKeywords(const std::string& keywords);
|
||||
int getKeywordLibId()const;
|
||||
void setKeywordLibId(int keywordLibId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string keywords_;
|
||||
int keywordLibId_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDREQUEST_H_
|
||||
55
green/include/alibabacloud/green/model/CreateKeywordResult.h
Normal file
55
green/include/alibabacloud/green/model/CreateKeywordResult.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT CreateKeywordResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateKeywordResult();
|
||||
explicit CreateKeywordResult(const std::string &payload);
|
||||
~CreateKeywordResult();
|
||||
std::vector<std::string> getInvalidKeywordList()const;
|
||||
int getSuccessCount()const;
|
||||
std::vector<std::string> getValidKeywordList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> invalidKeywordList_;
|
||||
int successCount_;
|
||||
std::vector<std::string> validKeywordList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEKEYWORDRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT CreateWebSiteInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateWebSiteInstanceRequest();
|
||||
~CreateWebSiteInstanceRequest();
|
||||
|
||||
int getDuration()const;
|
||||
void setDuration(int duration);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
int getOrderNum()const;
|
||||
void setOrderNum(int orderNum);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPricingCycle()const;
|
||||
void setPricingCycle(const std::string& pricingCycle);
|
||||
std::string getOrderType()const;
|
||||
void setOrderType(const std::string& orderType);
|
||||
|
||||
private:
|
||||
int duration_;
|
||||
std::string clientToken_;
|
||||
int orderNum_;
|
||||
long ownerId_;
|
||||
std::string pricingCycle_;
|
||||
std::string orderType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINSTANCEREQUEST_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_GREEN_MODEL_CREATEWEBSITEINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT CreateWebSiteInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateWebSiteInstanceResult();
|
||||
explicit CreateWebSiteInstanceResult(const std::string &payload);
|
||||
~CreateWebSiteInstanceResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<std::string> getInstanceIds()const;
|
||||
std::string getOrderId()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<std::string> instanceIds_;
|
||||
std::string orderId_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINSTANCERESULT_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_GREEN_MODEL_CREATEWEBSITEINDEXPAGEBASELINEREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINDEXPAGEBASELINEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT CreateWebsiteIndexPageBaselineRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateWebsiteIndexPageBaselineRequest();
|
||||
~CreateWebsiteIndexPageBaselineRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string sourceIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINDEXPAGEBASELINEREQUEST_H_
|
||||
@@ -14,29 +14,29 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_REMOVEMULTIPLESTREAMMIXSERVICERESULT_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_REMOVEMULTIPLESTREAMMIXSERVICERESULT_H_
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINDEXPAGEBASELINERESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINDEXPAGEBASELINERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Live
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LIVE_EXPORT RemoveMultipleStreamMixServiceResult : public ServiceResult
|
||||
class ALIBABACLOUD_GREEN_EXPORT CreateWebsiteIndexPageBaselineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RemoveMultipleStreamMixServiceResult();
|
||||
explicit RemoveMultipleStreamMixServiceResult(const std::string &payload);
|
||||
~RemoveMultipleStreamMixServiceResult();
|
||||
CreateWebsiteIndexPageBaselineResult();
|
||||
explicit CreateWebsiteIndexPageBaselineResult(const std::string &payload);
|
||||
~CreateWebsiteIndexPageBaselineResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_REMOVEMULTIPLESTREAMMIXSERVICERESULT_H_
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_CREATEWEBSITEINDEXPAGEBASELINERESULT_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_GREEN_MODEL_DELETECUSTOMOCRTEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DELETECUSTOMOCRTEMPLATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DeleteCustomOcrTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteCustomOcrTemplateRequest();
|
||||
~DeleteCustomOcrTemplateRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getIds()const;
|
||||
void setIds(const std::string& ids);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string ids_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETECUSTOMOCRTEMPLATEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_DELETECUSTOMOCRTEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DELETECUSTOMOCRTEMPLATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DeleteCustomOcrTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteCustomOcrTemplateResult();
|
||||
explicit DeleteCustomOcrTemplateResult(const std::string &payload);
|
||||
~DeleteCustomOcrTemplateResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETECUSTOMOCRTEMPLATERESULT_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_GREEN_MODEL_DELETEIMAGEFROMLIBREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DELETEIMAGEFROMLIBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DeleteImageFromLibRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteImageFromLibRequest();
|
||||
~DeleteImageFromLibRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getIds()const;
|
||||
void setIds(const std::string& ids);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string ids_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEIMAGEFROMLIBREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_DELETEIMAGEFROMLIBRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DELETEIMAGEFROMLIBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DeleteImageFromLibResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteImageFromLibResult();
|
||||
explicit DeleteImageFromLibResult(const std::string &payload);
|
||||
~DeleteImageFromLibResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEIMAGEFROMLIBRESULT_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_GREEN_MODEL_DELETEIMAGELIBREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DELETEIMAGELIBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DeleteImageLibRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteImageLibRequest();
|
||||
~DeleteImageLibRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
int getId()const;
|
||||
void setId(int id);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
int id_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEIMAGELIBREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_DELETEIMAGELIBRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DELETEIMAGELIBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DeleteImageLibResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteImageLibResult();
|
||||
explicit DeleteImageLibResult(const std::string &payload);
|
||||
~DeleteImageLibResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEIMAGELIBRESULT_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_GREEN_MODEL_DELETEKEYWORDLIBREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDLIBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DeleteKeywordLibRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteKeywordLibRequest();
|
||||
~DeleteKeywordLibRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
int getId()const;
|
||||
void setId(int id);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
int id_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDLIBREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDLIBRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDLIBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DeleteKeywordLibResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteKeywordLibResult();
|
||||
explicit DeleteKeywordLibResult(const std::string &payload);
|
||||
~DeleteKeywordLibResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDLIBRESULT_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_GREEN_MODEL_DELETEKEYWORDREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DeleteKeywordRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteKeywordRequest();
|
||||
~DeleteKeywordRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getKeywords()const;
|
||||
void setKeywords(const std::string& keywords);
|
||||
std::string getKeywordLibId()const;
|
||||
void setKeywordLibId(const std::string& keywordLibId);
|
||||
std::string getIds()const;
|
||||
void setIds(const std::string& ids);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string keywords_;
|
||||
std::string keywordLibId_;
|
||||
std::string ids_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDREQUEST_H_
|
||||
49
green/include/alibabacloud/green/model/DeleteKeywordResult.h
Normal file
49
green/include/alibabacloud/green/model/DeleteKeywordResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DeleteKeywordResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteKeywordResult();
|
||||
explicit DeleteKeywordResult(const std::string &payload);
|
||||
~DeleteKeywordResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETEKEYWORDRESULT_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_GREEN_MODEL_DELETENOTIFICATIONCONTACTSREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DELETENOTIFICATIONCONTACTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DeleteNotificationContactsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteNotificationContactsRequest();
|
||||
~DeleteNotificationContactsRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getContactTypes()const;
|
||||
void setContactTypes(const std::string& contactTypes);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string lang_;
|
||||
std::string contactTypes_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETENOTIFICATIONCONTACTSREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_DELETENOTIFICATIONCONTACTSRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DELETENOTIFICATIONCONTACTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DeleteNotificationContactsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteNotificationContactsResult();
|
||||
explicit DeleteNotificationContactsResult(const std::string &payload);
|
||||
~DeleteNotificationContactsResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETENOTIFICATIONCONTACTSRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_DELETESIMILARITYLIBRARYREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DELETESIMILARITYLIBRARYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DeleteSimilarityLibraryRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteSimilarityLibraryRequest();
|
||||
~DeleteSimilarityLibraryRequest();
|
||||
|
||||
std::string getClientInfo()const;
|
||||
void setClientInfo(const std::string& clientInfo);
|
||||
|
||||
private:
|
||||
std::string clientInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETESIMILARITYLIBRARYREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_DELETESIMILARITYLIBRARYRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DELETESIMILARITYLIBRARYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DeleteSimilarityLibraryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteSimilarityLibraryResult();
|
||||
explicit DeleteSimilarityLibraryResult(const std::string &payload);
|
||||
~DeleteSimilarityLibraryResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DELETESIMILARITYLIBRARYRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEAPPINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEAPPINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DescribeAppInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAppInfoRequest();
|
||||
~DescribeAppInfoRequest();
|
||||
|
||||
int getTotalCount()const;
|
||||
void setTotalCount(int totalCount);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getPlatform()const;
|
||||
void setPlatform(const std::string& platform);
|
||||
|
||||
private:
|
||||
int totalCount_;
|
||||
std::string sourceIp_;
|
||||
int pageSize_;
|
||||
int currentPage_;
|
||||
std::string lang_;
|
||||
std::string platform_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEAPPINFOREQUEST_H_
|
||||
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEAPPINFORESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEAPPINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DescribeAppInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AppInfo
|
||||
{
|
||||
struct PackageInfo
|
||||
{
|
||||
std::string version;
|
||||
};
|
||||
struct DebugPackageInfo
|
||||
{
|
||||
std::string version;
|
||||
};
|
||||
std::string startDate;
|
||||
int type;
|
||||
DebugPackageInfo debugPackageInfo;
|
||||
std::string packageName;
|
||||
PackageInfo packageInfo;
|
||||
long id;
|
||||
std::string icon;
|
||||
std::string endDate;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DescribeAppInfoResult();
|
||||
explicit DescribeAppInfoResult(const std::string &payload);
|
||||
~DescribeAppInfoResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getCurrentPage()const;
|
||||
std::vector<AppInfo> getAppInfoList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int currentPage_;
|
||||
std::vector<AppInfo> appInfoList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEAPPINFORESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTITEMREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTITEMREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DescribeAuditContentItemRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAuditContentItemRequest();
|
||||
~DescribeAuditContentItemRequest();
|
||||
|
||||
int getTotalCount()const;
|
||||
void setTotalCount(int totalCount);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
|
||||
private:
|
||||
int totalCount_;
|
||||
std::string sourceIp_;
|
||||
int pageSize_;
|
||||
int currentPage_;
|
||||
std::string lang_;
|
||||
std::string resourceType_;
|
||||
std::string taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTITEMREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTITEMRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTITEMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DescribeAuditContentItemResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AuditContentItem
|
||||
{
|
||||
int audit;
|
||||
std::string suggestion;
|
||||
std::string endTime;
|
||||
std::string content;
|
||||
std::string auditResult;
|
||||
std::string startTime;
|
||||
int sn;
|
||||
long id;
|
||||
std::string parentTaskId;
|
||||
std::vector<std::string> auditIllegalReasons;
|
||||
};
|
||||
|
||||
|
||||
DescribeAuditContentItemResult();
|
||||
explicit DescribeAuditContentItemResult(const std::string &payload);
|
||||
~DescribeAuditContentItemResult();
|
||||
int getTotalCount()const;
|
||||
std::vector<AuditContentItem> getAuditContentItemList()const;
|
||||
int getPageSize()const;
|
||||
int getCurrentPage()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
std::vector<AuditContentItem> auditContentItemList_;
|
||||
int pageSize_;
|
||||
int currentPage_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTITEMRESULT_H_
|
||||
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DescribeAuditContentRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAuditContentRequest();
|
||||
~DescribeAuditContentRequest();
|
||||
|
||||
int getTotalCount()const;
|
||||
void setTotalCount(int totalCount);
|
||||
std::string getKeywordId()const;
|
||||
void setKeywordId(const std::string& keywordId);
|
||||
std::string getImageId()const;
|
||||
void setImageId(const std::string& imageId);
|
||||
std::string getSuggestion()const;
|
||||
void setSuggestion(const std::string& suggestion);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getLabel()const;
|
||||
void setLabel(const std::string& label);
|
||||
std::string getStartDate()const;
|
||||
void setStartDate(const std::string& startDate);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getScene()const;
|
||||
void setScene(const std::string& scene);
|
||||
std::string getBizType()const;
|
||||
void setBizType(const std::string& bizType);
|
||||
std::string getEndDate()const;
|
||||
void setEndDate(const std::string& endDate);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getDataId()const;
|
||||
void setDataId(const std::string& dataId);
|
||||
std::string getLibType()const;
|
||||
void setLibType(const std::string& libType);
|
||||
std::string getAuditResult()const;
|
||||
void setAuditResult(const std::string& auditResult);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
|
||||
private:
|
||||
int totalCount_;
|
||||
std::string keywordId_;
|
||||
std::string imageId_;
|
||||
std::string suggestion_;
|
||||
int currentPage_;
|
||||
std::string label_;
|
||||
std::string startDate_;
|
||||
std::string resourceType_;
|
||||
std::string scene_;
|
||||
std::string bizType_;
|
||||
std::string endDate_;
|
||||
std::string sourceIp_;
|
||||
std::string dataId_;
|
||||
std::string libType_;
|
||||
std::string auditResult_;
|
||||
int pageSize_;
|
||||
std::string lang_;
|
||||
std::string taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTREQUEST_H_
|
||||
@@ -0,0 +1,88 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_GREEN_MODEL_DESCRIBEAUDITCONTENTRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DescribeAuditContentResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AuditContent
|
||||
{
|
||||
struct Result
|
||||
{
|
||||
std::string suggestion;
|
||||
std::string label;
|
||||
std::string scene;
|
||||
};
|
||||
struct FrameResult
|
||||
{
|
||||
std::string label;
|
||||
std::string url;
|
||||
int offset;
|
||||
};
|
||||
std::string taskId;
|
||||
std::string auditResult;
|
||||
std::string bizType;
|
||||
std::string requestTime;
|
||||
std::string thumbnail;
|
||||
std::string url;
|
||||
std::vector<std::string> auditIllegalReasons;
|
||||
std::string newUrl;
|
||||
std::string scanFinishedTime;
|
||||
int audit;
|
||||
std::string suggestion;
|
||||
std::string dataId;
|
||||
std::vector<AuditContent::Result> results;
|
||||
std::vector<AuditContent::FrameResult> frameResults;
|
||||
std::string content;
|
||||
long id;
|
||||
};
|
||||
|
||||
|
||||
DescribeAuditContentResult();
|
||||
explicit DescribeAuditContentResult(const std::string &payload);
|
||||
~DescribeAuditContentResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getCurrentPage()const;
|
||||
std::vector<AuditContent> getAuditContentList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int currentPage_;
|
||||
std::vector<AuditContent> auditContentList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITCONTENTRESULT_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_GREEN_MODEL_DESCRIBEAUDITSETTINGREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITSETTINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DescribeAuditSettingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAuditSettingRequest();
|
||||
~DescribeAuditSettingRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITSETTINGREQUEST_H_
|
||||
@@ -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_GREEN_MODEL_DESCRIBEAUDITSETTINGRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITSETTINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DescribeAuditSettingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AuditRange
|
||||
{
|
||||
bool pass;
|
||||
bool block;
|
||||
bool review;
|
||||
};
|
||||
|
||||
|
||||
DescribeAuditSettingResult();
|
||||
explicit DescribeAuditSettingResult(const std::string &payload);
|
||||
~DescribeAuditSettingResult();
|
||||
AuditRange getAuditRange()const;
|
||||
std::string getCallback()const;
|
||||
std::string getSeed()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
AuditRange auditRange_;
|
||||
std::string callback_;
|
||||
std::string seed_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEAUDITSETTINGRESULT_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_GREEN_MODEL_DESCRIBEBIZTYPESETTINGREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESETTINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DescribeBizTypeSettingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeBizTypeSettingRequest();
|
||||
~DescribeBizTypeSettingRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getBizTypeName()const;
|
||||
void setBizTypeName(const std::string& bizTypeName);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string bizTypeName_;
|
||||
std::string resourceType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESETTINGREQUEST_H_
|
||||
@@ -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_GREEN_MODEL_DESCRIBEBIZTYPESETTINGRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESETTINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DescribeBizTypeSettingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Terrorism
|
||||
{
|
||||
std::vector<std::string> categories;
|
||||
};
|
||||
struct Porn
|
||||
{
|
||||
std::vector<std::string> categories1;
|
||||
};
|
||||
|
||||
|
||||
DescribeBizTypeSettingResult();
|
||||
explicit DescribeBizTypeSettingResult(const std::string &payload);
|
||||
~DescribeBizTypeSettingResult();
|
||||
Terrorism getTerrorism()const;
|
||||
Porn getPorn()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Terrorism terrorism_;
|
||||
Porn porn_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESETTINGRESULT_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_GREEN_MODEL_DESCRIBEBIZTYPESREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DescribeBizTypesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeBizTypesRequest();
|
||||
~DescribeBizTypesRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
bool getImportFlag()const;
|
||||
void setImportFlag(bool importFlag);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
bool importFlag_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DescribeBizTypesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeBizTypesResult();
|
||||
explicit DescribeBizTypesResult(const std::string &payload);
|
||||
~DescribeBizTypesResult();
|
||||
std::vector<std::string> getBizTypeList()const;
|
||||
int getTotalCount()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> bizTypeList_;
|
||||
int totalCount_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEBIZTYPESRESULT_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_GREEN_MODEL_DESCRIBECUSTOMOCRTEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBECUSTOMOCRTEMPLATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DescribeCustomOcrTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeCustomOcrTemplateRequest();
|
||||
~DescribeCustomOcrTemplateRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getIds()const;
|
||||
void setIds(const std::string& ids);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string ids_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBECUSTOMOCRTEMPLATEREQUEST_H_
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_GREEN_MODEL_DESCRIBECUSTOMOCRTEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBECUSTOMOCRTEMPLATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DescribeCustomOcrTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct OcrTemplate
|
||||
{
|
||||
struct Item
|
||||
{
|
||||
int x;
|
||||
int y;
|
||||
int height;
|
||||
int width;
|
||||
std::string name;
|
||||
};
|
||||
struct Item
|
||||
{
|
||||
int x;
|
||||
int y;
|
||||
int height;
|
||||
int width;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<OcrTemplate::Item> referArea;
|
||||
int status;
|
||||
std::vector<OcrTemplate::Item> recognizeArea;
|
||||
long id;
|
||||
std::string imgUrl;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DescribeCustomOcrTemplateResult();
|
||||
explicit DescribeCustomOcrTemplateResult(const std::string &payload);
|
||||
~DescribeCustomOcrTemplateResult();
|
||||
int getTotalCount()const;
|
||||
std::vector<OcrTemplate> getOcrTemplateList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
std::vector<OcrTemplate> ocrTemplateList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBECUSTOMOCRTEMPLATERESULT_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_GREEN_MODEL_DESCRIBEIMAGEFROMLIBREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEFROMLIBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DescribeImageFromLibRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeImageFromLibRequest();
|
||||
~DescribeImageFromLibRequest();
|
||||
|
||||
int getTotalCount()const;
|
||||
void setTotalCount(int totalCount);
|
||||
std::string getEndDate()const;
|
||||
void setEndDate(const std::string& endDate);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
int getImageLibId()const;
|
||||
void setImageLibId(int imageLibId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
long getId()const;
|
||||
void setId(long id);
|
||||
std::string getStartDate()const;
|
||||
void setStartDate(const std::string& startDate);
|
||||
|
||||
private:
|
||||
int totalCount_;
|
||||
std::string endDate_;
|
||||
std::string sourceIp_;
|
||||
int imageLibId_;
|
||||
int pageSize_;
|
||||
int currentPage_;
|
||||
long id_;
|
||||
std::string startDate_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEFROMLIBREQUEST_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEFROMLIBRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEFROMLIBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DescribeImageFromLibResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ImageFromLib
|
||||
{
|
||||
long videoHitCount;
|
||||
std::string createTime;
|
||||
long imageHitCount;
|
||||
long id;
|
||||
std::string image;
|
||||
std::string thumbnail;
|
||||
};
|
||||
|
||||
|
||||
DescribeImageFromLibResult();
|
||||
explicit DescribeImageFromLibResult(const std::string &payload);
|
||||
~DescribeImageFromLibResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getCurrentPage()const;
|
||||
std::vector<ImageFromLib> getImageFromLibList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int currentPage_;
|
||||
std::vector<ImageFromLib> imageFromLibList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEFROMLIBRESULT_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_GREEN_MODEL_DESCRIBEIMAGELIBREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGELIBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DescribeImageLibRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeImageLibRequest();
|
||||
~DescribeImageLibRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getServiceModule()const;
|
||||
void setServiceModule(const std::string& serviceModule);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string serviceModule_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGELIBREQUEST_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_GREEN_MODEL_DESCRIBEIMAGELIBRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGELIBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DescribeImageLibResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ImageLib
|
||||
{
|
||||
int imageCount;
|
||||
std::string category;
|
||||
std::string modifiedTime;
|
||||
std::vector<std::string> bizTypes;
|
||||
std::string enable;
|
||||
int id;
|
||||
std::string scene;
|
||||
std::string code;
|
||||
std::string source;
|
||||
std::string name;
|
||||
std::string serviceModule;
|
||||
};
|
||||
|
||||
|
||||
DescribeImageLibResult();
|
||||
explicit DescribeImageLibResult(const std::string &payload);
|
||||
~DescribeImageLibResult();
|
||||
int getTotalCount()const;
|
||||
std::vector<ImageLib> getImageLibList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
std::vector<ImageLib> imageLibList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGELIBRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEUPLOADINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEUPLOADINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DescribeImageUploadInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeImageUploadInfoRequest();
|
||||
~DescribeImageUploadInfoRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEUPLOADINFOREQUEST_H_
|
||||
@@ -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_GREEN_MODEL_DESCRIBEIMAGEUPLOADINFORESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEUPLOADINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DescribeImageUploadInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeImageUploadInfoResult();
|
||||
explicit DescribeImageUploadInfoResult(const std::string &payload);
|
||||
~DescribeImageUploadInfoResult();
|
||||
std::string getPolicy()const;
|
||||
int getExpire()const;
|
||||
std::string getAccessid()const;
|
||||
std::string getSignature()const;
|
||||
std::string getHost()const;
|
||||
std::string getFolder()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string policy_;
|
||||
int expire_;
|
||||
std::string accessid_;
|
||||
std::string signature_;
|
||||
std::string host_;
|
||||
std::string folder_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEIMAGEUPLOADINFORESULT_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_GREEN_MODEL_DESCRIBEKEYWORDLIBREQUEST_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDLIBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DescribeKeywordLibRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeKeywordLibRequest();
|
||||
~DescribeKeywordLibRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getServiceModule()const;
|
||||
void setServiceModule(const std::string& serviceModule);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string serviceModule_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDLIBREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDLIBRESULT_H_
|
||||
#define ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDLIBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/green/GreenExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Green
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GREEN_EXPORT DescribeKeywordLibResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct KeywordLib
|
||||
{
|
||||
std::string matchMode;
|
||||
std::string category;
|
||||
std::vector<std::string> bizTypes;
|
||||
std::string resourceType;
|
||||
int count;
|
||||
std::string libType;
|
||||
std::string code;
|
||||
std::string source;
|
||||
std::string name;
|
||||
std::string serviceModule;
|
||||
std::string modifiedTime;
|
||||
std::string language;
|
||||
bool enable;
|
||||
int id;
|
||||
};
|
||||
|
||||
|
||||
DescribeKeywordLibResult();
|
||||
explicit DescribeKeywordLibResult(const std::string &payload);
|
||||
~DescribeKeywordLibResult();
|
||||
std::vector<KeywordLib> getKeywordLibList()const;
|
||||
int getTotalCount()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<KeywordLib> keywordLibList_;
|
||||
int totalCount_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GREEN_MODEL_DESCRIBEKEYWORDLIBRESULT_H_
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user