Compare commits
45 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dbe8804b96 | ||
|
|
6e880496ba | ||
|
|
fbf5bf0457 | ||
|
|
e32ce45b9d | ||
|
|
053c0dc1a1 | ||
|
|
2070ee03ba | ||
|
|
e611ec2db4 | ||
|
|
57416bd581 | ||
|
|
2df6079b2d | ||
|
|
39221a5319 | ||
|
|
6bba61cebe | ||
|
|
a869068f77 | ||
|
|
cf9eca9516 | ||
|
|
9ae74a6524 | ||
|
|
1855010705 | ||
|
|
654af055e6 | ||
|
|
07b50e30ef | ||
|
|
767dcb5bee | ||
|
|
42b4be9e1f | ||
|
|
c811dc5d85 | ||
|
|
84659b3f3e | ||
|
|
e3faa7d285 | ||
|
|
99feb0fdea | ||
|
|
d58606d853 | ||
|
|
db4fde36ee | ||
|
|
b7d0012a43 | ||
|
|
9c23d3e24b | ||
|
|
11bf538b08 | ||
|
|
266bdb38c6 | ||
|
|
d4576ea2f3 | ||
|
|
e051f5848b | ||
|
|
bfe6e5b081 | ||
|
|
03a2cd3731 | ||
|
|
83df0154da | ||
|
|
ec5269015c | ||
|
|
95a93b89f1 | ||
|
|
bd0d4f669a | ||
|
|
c6be4b4083 | ||
|
|
dad64fbdea | ||
|
|
ff1e74581f | ||
|
|
304717df66 | ||
|
|
d4d401ed4e | ||
|
|
670f1bb324 | ||
|
|
07721caa35 | ||
|
|
9315d79274 |
158
CHANGELOG
158
CHANGELOG
@@ -1,3 +1,161 @@
|
||||
2020-06-23 Version: 1.36.472
|
||||
- Public beta version.
|
||||
- Add Api Overseas.
|
||||
|
||||
2020-06-22 Version: 1.36.471
|
||||
- Add support cn-shenzhen region.
|
||||
|
||||
2020-06-22 Version: 1.36.470
|
||||
- Add GetMultipleTrace api.
|
||||
- Add SearchTracesByPage api.
|
||||
- Add GetStack api.
|
||||
|
||||
2020-06-21 Version: 1.36.469
|
||||
- Add persons API.
|
||||
|
||||
2020-06-18 Version: 1.36.468
|
||||
- Supported TransformDBInstancePayType API.
|
||||
|
||||
2020-06-18 Version: 1.36.467
|
||||
- Add GetAuthToken OpenAPI.
|
||||
|
||||
2020-06-18 Version: 1.36.466
|
||||
- Public beta version.
|
||||
- Add Api Overseas.
|
||||
|
||||
2020-06-17 Version: 1.36.465
|
||||
- Supported sync create eni and assign private ip.
|
||||
|
||||
2020-06-17 Version: 1.36.464
|
||||
- Public beta version.
|
||||
- Add Api Overseas.
|
||||
|
||||
2020-06-16 Version: 1.36.463
|
||||
- Support TargetImageId in ApplyNodes Interface.
|
||||
|
||||
2020-06-16 Version: 1.36.462
|
||||
- Update monitor related API.
|
||||
|
||||
2020-06-15 Version: 1.36.461
|
||||
- Generated 2019-09-10 for `waf-openapi`.
|
||||
|
||||
2020-06-15 Version: 1.36.460
|
||||
- Generated 2019-09-10 for `waf-openapi`.
|
||||
|
||||
2020-06-12 Version: 1.36.459
|
||||
- Add CreateProduct API ProductSecret in Response.
|
||||
- Add AMQP APIs, including CreateSubscribeRelation, CreateConsumerGroup, etc.
|
||||
- Add LinkIoTEdge CreateSceneRule API.
|
||||
- Add LinkIoTEdge DeleteSceneRule API.
|
||||
- Add LinkIoTEdge UpdateSceneRule API.
|
||||
- Add LinkIoTEdge GetSceneRule API.
|
||||
- Add LinkIoTEdge QuerySceneRule API.
|
||||
- Add LinkIoTEdge EnableSceneRule API.
|
||||
- Add LinkIoTEdge DisableSceneRule API.
|
||||
- Add LinkIoTEdge TriggerSceneRule API.
|
||||
- Add LinkIoTEdge QuerySummarySceneRuleLog API.
|
||||
- Add LinkIoTEdge QueryDetailSceneRuleLog API.
|
||||
- Add LinkIoTEdge BindSceneRuleToEdgeInstance API.
|
||||
- Add LinkIoTEdge UnbindSceneRuleFromEdgeInstance API.
|
||||
- Add LinkIoTEdge QueryEdgeInstanceSceneRule API.
|
||||
|
||||
2020-06-12 Version: 1.36.458
|
||||
- Update monitor related API.
|
||||
|
||||
2020-06-12 Version: 1.36.457
|
||||
- Add support for enable hbaseue extra module like lindorm-search or lindorm-sql.
|
||||
|
||||
2020-06-11 Version: 1.36.456
|
||||
- Support ServicePeriodUnit in QueryInstanceBill.
|
||||
|
||||
2020-06-10 Version: 1.36.455
|
||||
- Public beta version.
|
||||
- Add Api Overseas.
|
||||
|
||||
2020-06-10 Version: 1.36.454
|
||||
- Public beta version.
|
||||
- Add Api Overseas.
|
||||
|
||||
2020-06-08 Version: 1.36.453
|
||||
- Generate dbfs sdk.
|
||||
|
||||
2020-06-08 Version: 1.36.452
|
||||
- Support offline instance.
|
||||
|
||||
2020-06-04 Version: 1.36.451
|
||||
- Support for addrp.
|
||||
|
||||
2020-06-04 Version: 1.36.450
|
||||
- Supported Eni Trunking.
|
||||
|
||||
2020-06-04 Version: 1.36.449
|
||||
- Update monitor related API.
|
||||
|
||||
2020-06-04 Version: 1.36.448
|
||||
- Add SubmitMediaDNADeleteJob and ListMediaDNADeleteJob.
|
||||
- Modify GetMediaAuditResult interface, support ad logo and live result.
|
||||
- Modify GetMediaAuditResultTimeline interface, support ad logo and live result.
|
||||
|
||||
2020-06-04 Version: 1.36.447
|
||||
- Update monitor related API.
|
||||
|
||||
2020-06-04 Version: 1.36.446
|
||||
- Update monitor related API.
|
||||
|
||||
2020-06-03 Version: 1.36.445
|
||||
- Describe describeAvailableResource.
|
||||
|
||||
2020-06-03 Version: 1.36.444
|
||||
- Describe describeAvailableResource.
|
||||
|
||||
2020-06-03 Version: 1.36.443
|
||||
- Generated 2019-01-01 for `Cassandra`.
|
||||
|
||||
2020-06-03 Version: 1.36.442
|
||||
- DescribeCameraStatistics add filed.
|
||||
|
||||
2020-06-02 Version: 1.36.441
|
||||
- Edit SearchTraces api.
|
||||
|
||||
2020-05-28 Version: 1.36.440
|
||||
- Supported AndroidNotificationXiaomiChannel for Push and MassPush.
|
||||
|
||||
2020-05-27 Version: 1.36.439
|
||||
- Added cn-heyuan endpoint url.
|
||||
- Added cn-wulanchabu endpoint url.
|
||||
|
||||
2020-05-27 Version: 1.36.438
|
||||
- Add support for create hbaseue multizone instance.
|
||||
|
||||
2020-05-26 Version: 1.36.437
|
||||
- Support DescribeAllEntity API.
|
||||
|
||||
2020-05-26 Version: 1.36.436
|
||||
- Add smartcall service api.
|
||||
|
||||
2020-05-26 Version: 1.36.435
|
||||
- Add smartcall service api.
|
||||
|
||||
2020-05-26 Version: 1.36.434
|
||||
- Add monitor related API.
|
||||
|
||||
2020-05-26 Version: 1.36.433
|
||||
- Add monitor related.
|
||||
|
||||
2020-05-26 Version: 1.36.432
|
||||
- Add monitor related.
|
||||
|
||||
2020-05-25 Version: 1.36.431
|
||||
- Add monitor related.
|
||||
|
||||
2020-05-25 Version: 1.36.430
|
||||
- Add monitor related.
|
||||
|
||||
2020-05-23 Version: 1.36.429
|
||||
- Generated 2015-01-01 for `R-kvstore`.
|
||||
- Add ModifyResourceGroup API.
|
||||
- DescribeInstanceAttribute return ResourceGroupId.
|
||||
|
||||
2020-05-22 Version: 1.36.428
|
||||
- Add schedule crud api.
|
||||
|
||||
|
||||
@@ -21,29 +21,53 @@ set(address-purification_public_header
|
||||
include/alibabacloud/address-purification/Address_purificationExport.h )
|
||||
|
||||
set(address-purification_public_header_model
|
||||
include/alibabacloud/address-purification/model/DescribeProductRequest.h
|
||||
include/alibabacloud/address-purification/model/DescribeProductResult.h
|
||||
include/alibabacloud/address-purification/model/GetAlgorithmResultRequest.h
|
||||
include/alibabacloud/address-purification/model/GetAlgorithmResultResult.h
|
||||
include/alibabacloud/address-purification/model/GetConsoleResultRequest.h
|
||||
include/alibabacloud/address-purification/model/GetConsoleResultResult.h
|
||||
include/alibabacloud/address-purification/model/GetReportRequest.h
|
||||
include/alibabacloud/address-purification/model/GetReportResult.h
|
||||
include/alibabacloud/address-purification/model/GetUserInfomationRequest.h
|
||||
include/alibabacloud/address-purification/model/GetUserInfomationResult.h )
|
||||
include/alibabacloud/address-purification/model/ClassifyPOIRequest.h
|
||||
include/alibabacloud/address-purification/model/ClassifyPOIResult.h
|
||||
include/alibabacloud/address-purification/model/CompleteAddressRequest.h
|
||||
include/alibabacloud/address-purification/model/CompleteAddressResult.h
|
||||
include/alibabacloud/address-purification/model/CorrectAddressRequest.h
|
||||
include/alibabacloud/address-purification/model/CorrectAddressResult.h
|
||||
include/alibabacloud/address-purification/model/ExtractAddressRequest.h
|
||||
include/alibabacloud/address-purification/model/ExtractAddressResult.h
|
||||
include/alibabacloud/address-purification/model/ExtractNameRequest.h
|
||||
include/alibabacloud/address-purification/model/ExtractNameResult.h
|
||||
include/alibabacloud/address-purification/model/ExtractPhoneRequest.h
|
||||
include/alibabacloud/address-purification/model/ExtractPhoneResult.h
|
||||
include/alibabacloud/address-purification/model/GetAddressDivisionCodeRequest.h
|
||||
include/alibabacloud/address-purification/model/GetAddressDivisionCodeResult.h
|
||||
include/alibabacloud/address-purification/model/GetAddressSimilarityRequest.h
|
||||
include/alibabacloud/address-purification/model/GetAddressSimilarityResult.h
|
||||
include/alibabacloud/address-purification/model/GetZipcodeRequest.h
|
||||
include/alibabacloud/address-purification/model/GetZipcodeResult.h
|
||||
include/alibabacloud/address-purification/model/StructureAddressRequest.h
|
||||
include/alibabacloud/address-purification/model/StructureAddressResult.h
|
||||
include/alibabacloud/address-purification/model/UpdateProjectRequest.h
|
||||
include/alibabacloud/address-purification/model/UpdateProjectResult.h )
|
||||
|
||||
set(address-purification_src
|
||||
src/Address-purificationClient.cc
|
||||
src/model/DescribeProductRequest.cc
|
||||
src/model/DescribeProductResult.cc
|
||||
src/model/GetAlgorithmResultRequest.cc
|
||||
src/model/GetAlgorithmResultResult.cc
|
||||
src/model/GetConsoleResultRequest.cc
|
||||
src/model/GetConsoleResultResult.cc
|
||||
src/model/GetReportRequest.cc
|
||||
src/model/GetReportResult.cc
|
||||
src/model/GetUserInfomationRequest.cc
|
||||
src/model/GetUserInfomationResult.cc )
|
||||
src/model/ClassifyPOIRequest.cc
|
||||
src/model/ClassifyPOIResult.cc
|
||||
src/model/CompleteAddressRequest.cc
|
||||
src/model/CompleteAddressResult.cc
|
||||
src/model/CorrectAddressRequest.cc
|
||||
src/model/CorrectAddressResult.cc
|
||||
src/model/ExtractAddressRequest.cc
|
||||
src/model/ExtractAddressResult.cc
|
||||
src/model/ExtractNameRequest.cc
|
||||
src/model/ExtractNameResult.cc
|
||||
src/model/ExtractPhoneRequest.cc
|
||||
src/model/ExtractPhoneResult.cc
|
||||
src/model/GetAddressDivisionCodeRequest.cc
|
||||
src/model/GetAddressDivisionCodeResult.cc
|
||||
src/model/GetAddressSimilarityRequest.cc
|
||||
src/model/GetAddressSimilarityResult.cc
|
||||
src/model/GetZipcodeRequest.cc
|
||||
src/model/GetZipcodeResult.cc
|
||||
src/model/StructureAddressRequest.cc
|
||||
src/model/StructureAddressResult.cc
|
||||
src/model/UpdateProjectRequest.cc
|
||||
src/model/UpdateProjectResult.cc )
|
||||
|
||||
add_library(address-purification ${LIB_TYPE}
|
||||
${address-purification_public_header}
|
||||
|
||||
@@ -22,16 +22,28 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "Address_purificationExport.h"
|
||||
#include "model/DescribeProductRequest.h"
|
||||
#include "model/DescribeProductResult.h"
|
||||
#include "model/GetAlgorithmResultRequest.h"
|
||||
#include "model/GetAlgorithmResultResult.h"
|
||||
#include "model/GetConsoleResultRequest.h"
|
||||
#include "model/GetConsoleResultResult.h"
|
||||
#include "model/GetReportRequest.h"
|
||||
#include "model/GetReportResult.h"
|
||||
#include "model/GetUserInfomationRequest.h"
|
||||
#include "model/GetUserInfomationResult.h"
|
||||
#include "model/ClassifyPOIRequest.h"
|
||||
#include "model/ClassifyPOIResult.h"
|
||||
#include "model/CompleteAddressRequest.h"
|
||||
#include "model/CompleteAddressResult.h"
|
||||
#include "model/CorrectAddressRequest.h"
|
||||
#include "model/CorrectAddressResult.h"
|
||||
#include "model/ExtractAddressRequest.h"
|
||||
#include "model/ExtractAddressResult.h"
|
||||
#include "model/ExtractNameRequest.h"
|
||||
#include "model/ExtractNameResult.h"
|
||||
#include "model/ExtractPhoneRequest.h"
|
||||
#include "model/ExtractPhoneResult.h"
|
||||
#include "model/GetAddressDivisionCodeRequest.h"
|
||||
#include "model/GetAddressDivisionCodeResult.h"
|
||||
#include "model/GetAddressSimilarityRequest.h"
|
||||
#include "model/GetAddressSimilarityResult.h"
|
||||
#include "model/GetZipcodeRequest.h"
|
||||
#include "model/GetZipcodeResult.h"
|
||||
#include "model/StructureAddressRequest.h"
|
||||
#include "model/StructureAddressResult.h"
|
||||
#include "model/UpdateProjectRequest.h"
|
||||
#include "model/UpdateProjectResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -41,41 +53,77 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT Address_purificationClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::DescribeProductResult> DescribeProductOutcome;
|
||||
typedef std::future<DescribeProductOutcome> DescribeProductOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::DescribeProductRequest&, const DescribeProductOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeProductAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAlgorithmResultResult> GetAlgorithmResultOutcome;
|
||||
typedef std::future<GetAlgorithmResultOutcome> GetAlgorithmResultOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::GetAlgorithmResultRequest&, const GetAlgorithmResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAlgorithmResultAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetConsoleResultResult> GetConsoleResultOutcome;
|
||||
typedef std::future<GetConsoleResultOutcome> GetConsoleResultOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::GetConsoleResultRequest&, const GetConsoleResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetConsoleResultAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetReportResult> GetReportOutcome;
|
||||
typedef std::future<GetReportOutcome> GetReportOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::GetReportRequest&, const GetReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetReportAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetUserInfomationResult> GetUserInfomationOutcome;
|
||||
typedef std::future<GetUserInfomationOutcome> GetUserInfomationOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::GetUserInfomationRequest&, const GetUserInfomationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserInfomationAsyncHandler;
|
||||
typedef Outcome<Error, Model::ClassifyPOIResult> ClassifyPOIOutcome;
|
||||
typedef std::future<ClassifyPOIOutcome> ClassifyPOIOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::ClassifyPOIRequest&, const ClassifyPOIOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ClassifyPOIAsyncHandler;
|
||||
typedef Outcome<Error, Model::CompleteAddressResult> CompleteAddressOutcome;
|
||||
typedef std::future<CompleteAddressOutcome> CompleteAddressOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::CompleteAddressRequest&, const CompleteAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CompleteAddressAsyncHandler;
|
||||
typedef Outcome<Error, Model::CorrectAddressResult> CorrectAddressOutcome;
|
||||
typedef std::future<CorrectAddressOutcome> CorrectAddressOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::CorrectAddressRequest&, const CorrectAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CorrectAddressAsyncHandler;
|
||||
typedef Outcome<Error, Model::ExtractAddressResult> ExtractAddressOutcome;
|
||||
typedef std::future<ExtractAddressOutcome> ExtractAddressOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::ExtractAddressRequest&, const ExtractAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExtractAddressAsyncHandler;
|
||||
typedef Outcome<Error, Model::ExtractNameResult> ExtractNameOutcome;
|
||||
typedef std::future<ExtractNameOutcome> ExtractNameOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::ExtractNameRequest&, const ExtractNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExtractNameAsyncHandler;
|
||||
typedef Outcome<Error, Model::ExtractPhoneResult> ExtractPhoneOutcome;
|
||||
typedef std::future<ExtractPhoneOutcome> ExtractPhoneOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::ExtractPhoneRequest&, const ExtractPhoneOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExtractPhoneAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAddressDivisionCodeResult> GetAddressDivisionCodeOutcome;
|
||||
typedef std::future<GetAddressDivisionCodeOutcome> GetAddressDivisionCodeOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::GetAddressDivisionCodeRequest&, const GetAddressDivisionCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAddressDivisionCodeAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAddressSimilarityResult> GetAddressSimilarityOutcome;
|
||||
typedef std::future<GetAddressSimilarityOutcome> GetAddressSimilarityOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::GetAddressSimilarityRequest&, const GetAddressSimilarityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAddressSimilarityAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetZipcodeResult> GetZipcodeOutcome;
|
||||
typedef std::future<GetZipcodeOutcome> GetZipcodeOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::GetZipcodeRequest&, const GetZipcodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetZipcodeAsyncHandler;
|
||||
typedef Outcome<Error, Model::StructureAddressResult> StructureAddressOutcome;
|
||||
typedef std::future<StructureAddressOutcome> StructureAddressOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::StructureAddressRequest&, const StructureAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StructureAddressAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateProjectResult> UpdateProjectOutcome;
|
||||
typedef std::future<UpdateProjectOutcome> UpdateProjectOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::UpdateProjectRequest&, const UpdateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateProjectAsyncHandler;
|
||||
|
||||
Address_purificationClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
Address_purificationClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
Address_purificationClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~Address_purificationClient();
|
||||
DescribeProductOutcome describeProduct(const Model::DescribeProductRequest &request)const;
|
||||
void describeProductAsync(const Model::DescribeProductRequest& request, const DescribeProductAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeProductOutcomeCallable describeProductCallable(const Model::DescribeProductRequest& request) const;
|
||||
GetAlgorithmResultOutcome getAlgorithmResult(const Model::GetAlgorithmResultRequest &request)const;
|
||||
void getAlgorithmResultAsync(const Model::GetAlgorithmResultRequest& request, const GetAlgorithmResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAlgorithmResultOutcomeCallable getAlgorithmResultCallable(const Model::GetAlgorithmResultRequest& request) const;
|
||||
GetConsoleResultOutcome getConsoleResult(const Model::GetConsoleResultRequest &request)const;
|
||||
void getConsoleResultAsync(const Model::GetConsoleResultRequest& request, const GetConsoleResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetConsoleResultOutcomeCallable getConsoleResultCallable(const Model::GetConsoleResultRequest& request) const;
|
||||
GetReportOutcome getReport(const Model::GetReportRequest &request)const;
|
||||
void getReportAsync(const Model::GetReportRequest& request, const GetReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetReportOutcomeCallable getReportCallable(const Model::GetReportRequest& request) const;
|
||||
GetUserInfomationOutcome getUserInfomation(const Model::GetUserInfomationRequest &request)const;
|
||||
void getUserInfomationAsync(const Model::GetUserInfomationRequest& request, const GetUserInfomationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetUserInfomationOutcomeCallable getUserInfomationCallable(const Model::GetUserInfomationRequest& request) const;
|
||||
ClassifyPOIOutcome classifyPOI(const Model::ClassifyPOIRequest &request)const;
|
||||
void classifyPOIAsync(const Model::ClassifyPOIRequest& request, const ClassifyPOIAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ClassifyPOIOutcomeCallable classifyPOICallable(const Model::ClassifyPOIRequest& request) const;
|
||||
CompleteAddressOutcome completeAddress(const Model::CompleteAddressRequest &request)const;
|
||||
void completeAddressAsync(const Model::CompleteAddressRequest& request, const CompleteAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CompleteAddressOutcomeCallable completeAddressCallable(const Model::CompleteAddressRequest& request) const;
|
||||
CorrectAddressOutcome correctAddress(const Model::CorrectAddressRequest &request)const;
|
||||
void correctAddressAsync(const Model::CorrectAddressRequest& request, const CorrectAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CorrectAddressOutcomeCallable correctAddressCallable(const Model::CorrectAddressRequest& request) const;
|
||||
ExtractAddressOutcome extractAddress(const Model::ExtractAddressRequest &request)const;
|
||||
void extractAddressAsync(const Model::ExtractAddressRequest& request, const ExtractAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ExtractAddressOutcomeCallable extractAddressCallable(const Model::ExtractAddressRequest& request) const;
|
||||
ExtractNameOutcome extractName(const Model::ExtractNameRequest &request)const;
|
||||
void extractNameAsync(const Model::ExtractNameRequest& request, const ExtractNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ExtractNameOutcomeCallable extractNameCallable(const Model::ExtractNameRequest& request) const;
|
||||
ExtractPhoneOutcome extractPhone(const Model::ExtractPhoneRequest &request)const;
|
||||
void extractPhoneAsync(const Model::ExtractPhoneRequest& request, const ExtractPhoneAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ExtractPhoneOutcomeCallable extractPhoneCallable(const Model::ExtractPhoneRequest& request) const;
|
||||
GetAddressDivisionCodeOutcome getAddressDivisionCode(const Model::GetAddressDivisionCodeRequest &request)const;
|
||||
void getAddressDivisionCodeAsync(const Model::GetAddressDivisionCodeRequest& request, const GetAddressDivisionCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAddressDivisionCodeOutcomeCallable getAddressDivisionCodeCallable(const Model::GetAddressDivisionCodeRequest& request) const;
|
||||
GetAddressSimilarityOutcome getAddressSimilarity(const Model::GetAddressSimilarityRequest &request)const;
|
||||
void getAddressSimilarityAsync(const Model::GetAddressSimilarityRequest& request, const GetAddressSimilarityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAddressSimilarityOutcomeCallable getAddressSimilarityCallable(const Model::GetAddressSimilarityRequest& request) const;
|
||||
GetZipcodeOutcome getZipcode(const Model::GetZipcodeRequest &request)const;
|
||||
void getZipcodeAsync(const Model::GetZipcodeRequest& request, const GetZipcodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetZipcodeOutcomeCallable getZipcodeCallable(const Model::GetZipcodeRequest& request) const;
|
||||
StructureAddressOutcome structureAddress(const Model::StructureAddressRequest &request)const;
|
||||
void structureAddressAsync(const Model::StructureAddressRequest& request, const StructureAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StructureAddressOutcomeCallable structureAddressCallable(const Model::StructureAddressRequest& request) const;
|
||||
UpdateProjectOutcome updateProject(const Model::UpdateProjectRequest &request)const;
|
||||
void updateProjectAsync(const Model::UpdateProjectRequest& request, const UpdateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateProjectOutcomeCallable updateProjectCallable(const Model::UpdateProjectRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -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_ADDRESS_PURIFICATION_MODEL_CLASSIFYPOIREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CLASSIFYPOIREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ClassifyPOIRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ClassifyPOIRequest();
|
||||
~ClassifyPOIRequest();
|
||||
|
||||
std::string getDefaultProvince()const;
|
||||
void setDefaultProvince(const std::string& defaultProvince);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getDefaultCity()const;
|
||||
void setDefaultCity(const std::string& defaultCity);
|
||||
std::string getDefaultDistrict()const;
|
||||
void setDefaultDistrict(const std::string& defaultDistrict);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
|
||||
private:
|
||||
std::string defaultProvince_;
|
||||
std::string serviceCode_;
|
||||
std::string defaultCity_;
|
||||
std::string defaultDistrict_;
|
||||
std::string appKey_;
|
||||
std::string text_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CLASSIFYPOIREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETREPORTRESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETREPORTRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CLASSIFYPOIRESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CLASSIFYPOIRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,27 +29,23 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetReportResult : public ServiceResult
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ClassifyPOIResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetReportResult();
|
||||
explicit GetReportResult(const std::string &payload);
|
||||
~GetReportResult();
|
||||
ClassifyPOIResult();
|
||||
explicit ClassifyPOIResult(const std::string &payload);
|
||||
~ClassifyPOIResult();
|
||||
std::string getData()const;
|
||||
std::string getErrMessage()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
std::string errMessage_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETREPORTRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CLASSIFYPOIRESULT_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_ADDRESS_PURIFICATION_MODEL_COMPLETEADDRESSREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_COMPLETEADDRESSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT CompleteAddressRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CompleteAddressRequest();
|
||||
~CompleteAddressRequest();
|
||||
|
||||
std::string getDefaultProvince()const;
|
||||
void setDefaultProvince(const std::string& defaultProvince);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getDefaultCity()const;
|
||||
void setDefaultCity(const std::string& defaultCity);
|
||||
std::string getDefaultDistrict()const;
|
||||
void setDefaultDistrict(const std::string& defaultDistrict);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
|
||||
private:
|
||||
std::string defaultProvince_;
|
||||
std::string serviceCode_;
|
||||
std::string defaultCity_;
|
||||
std::string defaultDistrict_;
|
||||
std::string appKey_;
|
||||
std::string text_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_COMPLETEADDRESSREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETUSERINFOMATIONRESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETUSERINFOMATIONRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_COMPLETEADDRESSRESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_COMPLETEADDRESSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,27 +29,23 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetUserInfomationResult : public ServiceResult
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT CompleteAddressResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetUserInfomationResult();
|
||||
explicit GetUserInfomationResult(const std::string &payload);
|
||||
~GetUserInfomationResult();
|
||||
CompleteAddressResult();
|
||||
explicit CompleteAddressResult(const std::string &payload);
|
||||
~CompleteAddressResult();
|
||||
std::string getData()const;
|
||||
std::string getErrMessage()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
std::string errMessage_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETUSERINFOMATIONRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_COMPLETEADDRESSRESULT_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_ADDRESS_PURIFICATION_MODEL_CORRECTADDRESSREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CORRECTADDRESSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT CorrectAddressRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CorrectAddressRequest();
|
||||
~CorrectAddressRequest();
|
||||
|
||||
std::string getDefaultProvince()const;
|
||||
void setDefaultProvince(const std::string& defaultProvince);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getDefaultCity()const;
|
||||
void setDefaultCity(const std::string& defaultCity);
|
||||
std::string getDefaultDistrict()const;
|
||||
void setDefaultDistrict(const std::string& defaultDistrict);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
|
||||
private:
|
||||
std::string defaultProvince_;
|
||||
std::string serviceCode_;
|
||||
std::string defaultCity_;
|
||||
std::string defaultDistrict_;
|
||||
std::string appKey_;
|
||||
std::string text_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CORRECTADDRESSREQUEST_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_ADDRESS_PURIFICATION_MODEL_CORRECTADDRESSRESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CORRECTADDRESSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT CorrectAddressResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CorrectAddressResult();
|
||||
explicit CorrectAddressResult(const std::string &payload);
|
||||
~CorrectAddressResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_CORRECTADDRESSRESULT_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_ADDRESS_PURIFICATION_MODEL_EXTRACTADDRESSREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTADDRESSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ExtractAddressRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ExtractAddressRequest();
|
||||
~ExtractAddressRequest();
|
||||
|
||||
std::string getDefaultProvince()const;
|
||||
void setDefaultProvince(const std::string& defaultProvince);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getDefaultCity()const;
|
||||
void setDefaultCity(const std::string& defaultCity);
|
||||
std::string getDefaultDistrict()const;
|
||||
void setDefaultDistrict(const std::string& defaultDistrict);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
|
||||
private:
|
||||
std::string defaultProvince_;
|
||||
std::string serviceCode_;
|
||||
std::string defaultCity_;
|
||||
std::string defaultDistrict_;
|
||||
std::string appKey_;
|
||||
std::string text_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTADDRESSREQUEST_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_ADDRESS_PURIFICATION_MODEL_EXTRACTADDRESSRESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTADDRESSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ExtractAddressResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ExtractAddressResult();
|
||||
explicit ExtractAddressResult(const std::string &payload);
|
||||
~ExtractAddressResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTADDRESSRESULT_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_ADDRESS_PURIFICATION_MODEL_EXTRACTNAMEREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTNAMEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ExtractNameRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ExtractNameRequest();
|
||||
~ExtractNameRequest();
|
||||
|
||||
std::string getDefaultProvince()const;
|
||||
void setDefaultProvince(const std::string& defaultProvince);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getDefaultCity()const;
|
||||
void setDefaultCity(const std::string& defaultCity);
|
||||
std::string getDefaultDistrict()const;
|
||||
void setDefaultDistrict(const std::string& defaultDistrict);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
|
||||
private:
|
||||
std::string defaultProvince_;
|
||||
std::string serviceCode_;
|
||||
std::string defaultCity_;
|
||||
std::string defaultDistrict_;
|
||||
std::string appKey_;
|
||||
std::string text_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTNAMEREQUEST_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_ADDRESS_PURIFICATION_MODEL_EXTRACTNAMERESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTNAMERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ExtractNameResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ExtractNameResult();
|
||||
explicit ExtractNameResult(const std::string &payload);
|
||||
~ExtractNameResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTNAMERESULT_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_ADDRESS_PURIFICATION_MODEL_EXTRACTPHONEREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTPHONEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ExtractPhoneRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ExtractPhoneRequest();
|
||||
~ExtractPhoneRequest();
|
||||
|
||||
std::string getDefaultProvince()const;
|
||||
void setDefaultProvince(const std::string& defaultProvince);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getDefaultCity()const;
|
||||
void setDefaultCity(const std::string& defaultCity);
|
||||
std::string getDefaultDistrict()const;
|
||||
void setDefaultDistrict(const std::string& defaultDistrict);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
|
||||
private:
|
||||
std::string defaultProvince_;
|
||||
std::string serviceCode_;
|
||||
std::string defaultCity_;
|
||||
std::string defaultDistrict_;
|
||||
std::string appKey_;
|
||||
std::string text_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTPHONEREQUEST_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_ADDRESS_PURIFICATION_MODEL_EXTRACTPHONERESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTPHONERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT ExtractPhoneResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ExtractPhoneResult();
|
||||
explicit ExtractPhoneResult(const std::string &payload);
|
||||
~ExtractPhoneResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTPHONERESULT_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_ADDRESS_PURIFICATION_MODEL_GETADDRESSDIVISIONCODEREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSDIVISIONCODEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetAddressDivisionCodeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetAddressDivisionCodeRequest();
|
||||
~GetAddressDivisionCodeRequest();
|
||||
|
||||
std::string getDefaultProvince()const;
|
||||
void setDefaultProvince(const std::string& defaultProvince);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getDefaultCity()const;
|
||||
void setDefaultCity(const std::string& defaultCity);
|
||||
std::string getDefaultDistrict()const;
|
||||
void setDefaultDistrict(const std::string& defaultDistrict);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
|
||||
private:
|
||||
std::string defaultProvince_;
|
||||
std::string serviceCode_;
|
||||
std::string defaultCity_;
|
||||
std::string defaultDistrict_;
|
||||
std::string appKey_;
|
||||
std::string text_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSDIVISIONCODEREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_DESCRIBEPRODUCTRESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_DESCRIBEPRODUCTRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSDIVISIONCODERESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSDIVISIONCODERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,29 +29,23 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT DescribeProductResult : public ServiceResult
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetAddressDivisionCodeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeProductResult();
|
||||
explicit DescribeProductResult(const std::string &payload);
|
||||
~DescribeProductResult();
|
||||
GetAddressDivisionCodeResult();
|
||||
explicit GetAddressDivisionCodeResult(const std::string &payload);
|
||||
~GetAddressDivisionCodeResult();
|
||||
std::string getData()const;
|
||||
std::string getErrMessage()const;
|
||||
std::string getCode()const;
|
||||
std::string getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
std::string errMessage_;
|
||||
std::string code_;
|
||||
std::string success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_DESCRIBEPRODUCTRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSDIVISIONCODERESULT_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_ADDRESS_PURIFICATION_MODEL_GETADDRESSSIMILARITYREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSSIMILARITYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetAddressSimilarityRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetAddressSimilarityRequest();
|
||||
~GetAddressSimilarityRequest();
|
||||
|
||||
std::string getDefaultProvince()const;
|
||||
void setDefaultProvince(const std::string& defaultProvince);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getDefaultCity()const;
|
||||
void setDefaultCity(const std::string& defaultCity);
|
||||
std::string getDefaultDistrict()const;
|
||||
void setDefaultDistrict(const std::string& defaultDistrict);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
|
||||
private:
|
||||
std::string defaultProvince_;
|
||||
std::string serviceCode_;
|
||||
std::string defaultCity_;
|
||||
std::string defaultDistrict_;
|
||||
std::string appKey_;
|
||||
std::string text_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSSIMILARITYREQUEST_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_ADDRESS_PURIFICATION_MODEL_GETADDRESSSIMILARITYRESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSSIMILARITYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetAddressSimilarityResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetAddressSimilarityResult();
|
||||
explicit GetAddressSimilarityResult(const std::string &payload);
|
||||
~GetAddressSimilarityResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSSIMILARITYRESULT_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETCONSOLERESULTREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETCONSOLERESULTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetConsoleResultRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetConsoleResultRequest();
|
||||
~GetConsoleResultRequest();
|
||||
|
||||
std::string getProductCode()const;
|
||||
void setProductCode(const std::string& productCode);
|
||||
std::string getApiCode()const;
|
||||
void setApiCode(const std::string& apiCode);
|
||||
std::string getCommodityCode()const;
|
||||
void setCommodityCode(const std::string& commodityCode);
|
||||
std::string getParameters()const;
|
||||
void setParameters(const std::string& parameters);
|
||||
|
||||
private:
|
||||
std::string productCode_;
|
||||
std::string apiCode_;
|
||||
std::string commodityCode_;
|
||||
std::string parameters_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETCONSOLERESULTREQUEST_H_
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETREPORTREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETREPORTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetReportRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetReportRequest();
|
||||
~GetReportRequest();
|
||||
|
||||
std::string getProductCode()const;
|
||||
void setProductCode(const std::string& productCode);
|
||||
std::string getReportType()const;
|
||||
void setReportType(const std::string& reportType);
|
||||
std::string getApiCode()const;
|
||||
void setApiCode(const std::string& apiCode);
|
||||
std::string getGranularity()const;
|
||||
void setGranularity(const std::string& granularity);
|
||||
std::string getCommodityCode()const;
|
||||
void setCommodityCode(const std::string& commodityCode);
|
||||
std::string getParameters()const;
|
||||
void setParameters(const std::string& parameters);
|
||||
|
||||
private:
|
||||
std::string productCode_;
|
||||
std::string reportType_;
|
||||
std::string apiCode_;
|
||||
std::string granularity_;
|
||||
std::string commodityCode_;
|
||||
std::string parameters_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETREPORTREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETALGORITHMRESULTREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETALGORITHMRESULTREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETZIPCODEREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETZIPCODEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,27 +28,36 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetAlgorithmResultRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetZipcodeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetAlgorithmResultRequest();
|
||||
~GetAlgorithmResultRequest();
|
||||
GetZipcodeRequest();
|
||||
~GetZipcodeRequest();
|
||||
|
||||
std::string getDefaultProvince()const;
|
||||
void setDefaultProvince(const std::string& defaultProvince);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getApiCode()const;
|
||||
void setApiCode(const std::string& apiCode);
|
||||
std::string getParameters()const;
|
||||
void setParameters(const std::string& parameters);
|
||||
std::string getDefaultCity()const;
|
||||
void setDefaultCity(const std::string& defaultCity);
|
||||
std::string getDefaultDistrict()const;
|
||||
void setDefaultDistrict(const std::string& defaultDistrict);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
|
||||
private:
|
||||
std::string defaultProvince_;
|
||||
std::string serviceCode_;
|
||||
std::string apiCode_;
|
||||
std::string parameters_;
|
||||
std::string defaultCity_;
|
||||
std::string defaultDistrict_;
|
||||
std::string appKey_;
|
||||
std::string text_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETALGORITHMRESULTREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETZIPCODEREQUEST_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_ADDRESS_PURIFICATION_MODEL_GETZIPCODERESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETZIPCODERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetZipcodeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetZipcodeResult();
|
||||
explicit GetZipcodeResult(const std::string &payload);
|
||||
~GetZipcodeResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETZIPCODERESULT_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_ADDRESS_PURIFICATION_MODEL_STRUCTUREADDRESSREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_STRUCTUREADDRESSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT StructureAddressRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StructureAddressRequest();
|
||||
~StructureAddressRequest();
|
||||
|
||||
std::string getDefaultProvince()const;
|
||||
void setDefaultProvince(const std::string& defaultProvince);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getDefaultCity()const;
|
||||
void setDefaultCity(const std::string& defaultCity);
|
||||
std::string getDefaultDistrict()const;
|
||||
void setDefaultDistrict(const std::string& defaultDistrict);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
|
||||
private:
|
||||
std::string defaultProvince_;
|
||||
std::string serviceCode_;
|
||||
std::string defaultCity_;
|
||||
std::string defaultDistrict_;
|
||||
std::string appKey_;
|
||||
std::string text_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_STRUCTUREADDRESSREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETCONSOLERESULTRESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETCONSOLERESULTRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_STRUCTUREADDRESSRESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_STRUCTUREADDRESSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,27 +29,23 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetConsoleResultResult : public ServiceResult
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT StructureAddressResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetConsoleResultResult();
|
||||
explicit GetConsoleResultResult(const std::string &payload);
|
||||
~GetConsoleResultResult();
|
||||
StructureAddressResult();
|
||||
explicit StructureAddressResult(const std::string &payload);
|
||||
~StructureAddressResult();
|
||||
std::string getData()const;
|
||||
std::string getErrMessage()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
std::string errMessage_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETCONSOLERESULTRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_STRUCTUREADDRESSRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_DESCRIBEPRODUCTREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_DESCRIBEPRODUCTREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_UPDATEPROJECTREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_UPDATEPROJECTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,12 +28,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT DescribeProductRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT UpdateProjectRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeProductRequest();
|
||||
~DescribeProductRequest();
|
||||
UpdateProjectRequest();
|
||||
~UpdateProjectRequest();
|
||||
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
@@ -48,4 +48,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_DESCRIBEPRODUCTREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_UPDATEPROJECTREQUEST_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_ADDRESS_PURIFICATION_MODEL_UPDATEPROJECTRESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_UPDATEPROJECTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT UpdateProjectResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateProjectResult();
|
||||
explicit UpdateProjectResult(const std::string &payload);
|
||||
~UpdateProjectResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_UPDATEPROJECTRESULT_H_
|
||||
@@ -31,200 +31,416 @@ Address_purificationClient::Address_purificationClient(const Credentials &creden
|
||||
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, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "addrp");
|
||||
}
|
||||
|
||||
Address_purificationClient::Address_purificationClient(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, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "addrp");
|
||||
}
|
||||
|
||||
Address_purificationClient::Address_purificationClient(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, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "addrp");
|
||||
}
|
||||
|
||||
Address_purificationClient::~Address_purificationClient()
|
||||
{}
|
||||
|
||||
Address_purificationClient::DescribeProductOutcome Address_purificationClient::describeProduct(const DescribeProductRequest &request) const
|
||||
Address_purificationClient::ClassifyPOIOutcome Address_purificationClient::classifyPOI(const ClassifyPOIRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeProductOutcome(endpointOutcome.error());
|
||||
return ClassifyPOIOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeProductOutcome(DescribeProductResult(outcome.result()));
|
||||
return ClassifyPOIOutcome(ClassifyPOIResult(outcome.result()));
|
||||
else
|
||||
return DescribeProductOutcome(outcome.error());
|
||||
return ClassifyPOIOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::describeProductAsync(const DescribeProductRequest& request, const DescribeProductAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void Address_purificationClient::classifyPOIAsync(const ClassifyPOIRequest& request, const ClassifyPOIAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeProduct(request), context);
|
||||
handler(this, request, classifyPOI(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::DescribeProductOutcomeCallable Address_purificationClient::describeProductCallable(const DescribeProductRequest &request) const
|
||||
Address_purificationClient::ClassifyPOIOutcomeCallable Address_purificationClient::classifyPOICallable(const ClassifyPOIRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeProductOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<ClassifyPOIOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeProduct(request);
|
||||
return this->classifyPOI(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAlgorithmResultOutcome Address_purificationClient::getAlgorithmResult(const GetAlgorithmResultRequest &request) const
|
||||
Address_purificationClient::CompleteAddressOutcome Address_purificationClient::completeAddress(const CompleteAddressRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetAlgorithmResultOutcome(endpointOutcome.error());
|
||||
return CompleteAddressOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetAlgorithmResultOutcome(GetAlgorithmResultResult(outcome.result()));
|
||||
return CompleteAddressOutcome(CompleteAddressResult(outcome.result()));
|
||||
else
|
||||
return GetAlgorithmResultOutcome(outcome.error());
|
||||
return CompleteAddressOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::getAlgorithmResultAsync(const GetAlgorithmResultRequest& request, const GetAlgorithmResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void Address_purificationClient::completeAddressAsync(const CompleteAddressRequest& request, const CompleteAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getAlgorithmResult(request), context);
|
||||
handler(this, request, completeAddress(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAlgorithmResultOutcomeCallable Address_purificationClient::getAlgorithmResultCallable(const GetAlgorithmResultRequest &request) const
|
||||
Address_purificationClient::CompleteAddressOutcomeCallable Address_purificationClient::completeAddressCallable(const CompleteAddressRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetAlgorithmResultOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<CompleteAddressOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getAlgorithmResult(request);
|
||||
return this->completeAddress(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::GetConsoleResultOutcome Address_purificationClient::getConsoleResult(const GetConsoleResultRequest &request) const
|
||||
Address_purificationClient::CorrectAddressOutcome Address_purificationClient::correctAddress(const CorrectAddressRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetConsoleResultOutcome(endpointOutcome.error());
|
||||
return CorrectAddressOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetConsoleResultOutcome(GetConsoleResultResult(outcome.result()));
|
||||
return CorrectAddressOutcome(CorrectAddressResult(outcome.result()));
|
||||
else
|
||||
return GetConsoleResultOutcome(outcome.error());
|
||||
return CorrectAddressOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::getConsoleResultAsync(const GetConsoleResultRequest& request, const GetConsoleResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void Address_purificationClient::correctAddressAsync(const CorrectAddressRequest& request, const CorrectAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getConsoleResult(request), context);
|
||||
handler(this, request, correctAddress(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::GetConsoleResultOutcomeCallable Address_purificationClient::getConsoleResultCallable(const GetConsoleResultRequest &request) const
|
||||
Address_purificationClient::CorrectAddressOutcomeCallable Address_purificationClient::correctAddressCallable(const CorrectAddressRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetConsoleResultOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<CorrectAddressOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getConsoleResult(request);
|
||||
return this->correctAddress(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::GetReportOutcome Address_purificationClient::getReport(const GetReportRequest &request) const
|
||||
Address_purificationClient::ExtractAddressOutcome Address_purificationClient::extractAddress(const ExtractAddressRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetReportOutcome(endpointOutcome.error());
|
||||
return ExtractAddressOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetReportOutcome(GetReportResult(outcome.result()));
|
||||
return ExtractAddressOutcome(ExtractAddressResult(outcome.result()));
|
||||
else
|
||||
return GetReportOutcome(outcome.error());
|
||||
return ExtractAddressOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::getReportAsync(const GetReportRequest& request, const GetReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void Address_purificationClient::extractAddressAsync(const ExtractAddressRequest& request, const ExtractAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getReport(request), context);
|
||||
handler(this, request, extractAddress(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::GetReportOutcomeCallable Address_purificationClient::getReportCallable(const GetReportRequest &request) const
|
||||
Address_purificationClient::ExtractAddressOutcomeCallable Address_purificationClient::extractAddressCallable(const ExtractAddressRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetReportOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<ExtractAddressOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getReport(request);
|
||||
return this->extractAddress(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::GetUserInfomationOutcome Address_purificationClient::getUserInfomation(const GetUserInfomationRequest &request) const
|
||||
Address_purificationClient::ExtractNameOutcome Address_purificationClient::extractName(const ExtractNameRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetUserInfomationOutcome(endpointOutcome.error());
|
||||
return ExtractNameOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetUserInfomationOutcome(GetUserInfomationResult(outcome.result()));
|
||||
return ExtractNameOutcome(ExtractNameResult(outcome.result()));
|
||||
else
|
||||
return GetUserInfomationOutcome(outcome.error());
|
||||
return ExtractNameOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::getUserInfomationAsync(const GetUserInfomationRequest& request, const GetUserInfomationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void Address_purificationClient::extractNameAsync(const ExtractNameRequest& request, const ExtractNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getUserInfomation(request), context);
|
||||
handler(this, request, extractName(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::GetUserInfomationOutcomeCallable Address_purificationClient::getUserInfomationCallable(const GetUserInfomationRequest &request) const
|
||||
Address_purificationClient::ExtractNameOutcomeCallable Address_purificationClient::extractNameCallable(const ExtractNameRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetUserInfomationOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<ExtractNameOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getUserInfomation(request);
|
||||
return this->extractName(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::ExtractPhoneOutcome Address_purificationClient::extractPhone(const ExtractPhoneRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ExtractPhoneOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ExtractPhoneOutcome(ExtractPhoneResult(outcome.result()));
|
||||
else
|
||||
return ExtractPhoneOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::extractPhoneAsync(const ExtractPhoneRequest& request, const ExtractPhoneAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, extractPhone(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::ExtractPhoneOutcomeCallable Address_purificationClient::extractPhoneCallable(const ExtractPhoneRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ExtractPhoneOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->extractPhone(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAddressDivisionCodeOutcome Address_purificationClient::getAddressDivisionCode(const GetAddressDivisionCodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetAddressDivisionCodeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetAddressDivisionCodeOutcome(GetAddressDivisionCodeResult(outcome.result()));
|
||||
else
|
||||
return GetAddressDivisionCodeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::getAddressDivisionCodeAsync(const GetAddressDivisionCodeRequest& request, const GetAddressDivisionCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getAddressDivisionCode(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAddressDivisionCodeOutcomeCallable Address_purificationClient::getAddressDivisionCodeCallable(const GetAddressDivisionCodeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetAddressDivisionCodeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getAddressDivisionCode(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAddressSimilarityOutcome Address_purificationClient::getAddressSimilarity(const GetAddressSimilarityRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetAddressSimilarityOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetAddressSimilarityOutcome(GetAddressSimilarityResult(outcome.result()));
|
||||
else
|
||||
return GetAddressSimilarityOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::getAddressSimilarityAsync(const GetAddressSimilarityRequest& request, const GetAddressSimilarityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getAddressSimilarity(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAddressSimilarityOutcomeCallable Address_purificationClient::getAddressSimilarityCallable(const GetAddressSimilarityRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetAddressSimilarityOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getAddressSimilarity(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::GetZipcodeOutcome Address_purificationClient::getZipcode(const GetZipcodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetZipcodeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetZipcodeOutcome(GetZipcodeResult(outcome.result()));
|
||||
else
|
||||
return GetZipcodeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::getZipcodeAsync(const GetZipcodeRequest& request, const GetZipcodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getZipcode(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::GetZipcodeOutcomeCallable Address_purificationClient::getZipcodeCallable(const GetZipcodeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetZipcodeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getZipcode(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::StructureAddressOutcome Address_purificationClient::structureAddress(const StructureAddressRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StructureAddressOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StructureAddressOutcome(StructureAddressResult(outcome.result()));
|
||||
else
|
||||
return StructureAddressOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::structureAddressAsync(const StructureAddressRequest& request, const StructureAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, structureAddress(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::StructureAddressOutcomeCallable Address_purificationClient::structureAddressCallable(const StructureAddressRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StructureAddressOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->structureAddress(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::UpdateProjectOutcome Address_purificationClient::updateProject(const UpdateProjectRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateProjectOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateProjectOutcome(UpdateProjectResult(outcome.result()));
|
||||
else
|
||||
return UpdateProjectOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::updateProjectAsync(const UpdateProjectRequest& request, const UpdateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateProject(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::UpdateProjectOutcomeCallable Address_purificationClient::updateProjectCallable(const UpdateProjectRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateProjectOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateProject(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
|
||||
95
address-purification/src/model/ClassifyPOIRequest.cc
Normal file
95
address-purification/src/model/ClassifyPOIRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/address-purification/model/ClassifyPOIRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::ClassifyPOIRequest;
|
||||
|
||||
ClassifyPOIRequest::ClassifyPOIRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "ClassifyPOI")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ClassifyPOIRequest::~ClassifyPOIRequest()
|
||||
{}
|
||||
|
||||
std::string ClassifyPOIRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void ClassifyPOIRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string ClassifyPOIRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void ClassifyPOIRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string ClassifyPOIRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void ClassifyPOIRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string ClassifyPOIRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void ClassifyPOIRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string ClassifyPOIRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void ClassifyPOIRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string ClassifyPOIRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void ClassifyPOIRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
@@ -14,52 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/address-purification/model/GetReportResult.h>
|
||||
#include <alibabacloud/address-purification/model/ClassifyPOIResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
GetReportResult::GetReportResult() :
|
||||
ClassifyPOIResult::ClassifyPOIResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetReportResult::GetReportResult(const std::string &payload) :
|
||||
ClassifyPOIResult::ClassifyPOIResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetReportResult::~GetReportResult()
|
||||
ClassifyPOIResult::~ClassifyPOIResult()
|
||||
{}
|
||||
|
||||
void GetReportResult::parse(const std::string &payload)
|
||||
void ClassifyPOIResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetReportResult::getData()const
|
||||
std::string ClassifyPOIResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string GetReportResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
std::string GetReportResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
95
address-purification/src/model/CompleteAddressRequest.cc
Normal file
95
address-purification/src/model/CompleteAddressRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/address-purification/model/CompleteAddressRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::CompleteAddressRequest;
|
||||
|
||||
CompleteAddressRequest::CompleteAddressRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "CompleteAddress")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CompleteAddressRequest::~CompleteAddressRequest()
|
||||
{}
|
||||
|
||||
std::string CompleteAddressRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void CompleteAddressRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string CompleteAddressRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void CompleteAddressRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string CompleteAddressRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void CompleteAddressRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string CompleteAddressRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void CompleteAddressRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string CompleteAddressRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void CompleteAddressRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string CompleteAddressRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void CompleteAddressRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
@@ -14,52 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/address-purification/model/GetUserInfomationResult.h>
|
||||
#include <alibabacloud/address-purification/model/CompleteAddressResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
GetUserInfomationResult::GetUserInfomationResult() :
|
||||
CompleteAddressResult::CompleteAddressResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetUserInfomationResult::GetUserInfomationResult(const std::string &payload) :
|
||||
CompleteAddressResult::CompleteAddressResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetUserInfomationResult::~GetUserInfomationResult()
|
||||
CompleteAddressResult::~CompleteAddressResult()
|
||||
{}
|
||||
|
||||
void GetUserInfomationResult::parse(const std::string &payload)
|
||||
void CompleteAddressResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetUserInfomationResult::getData()const
|
||||
std::string CompleteAddressResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string GetUserInfomationResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
std::string GetUserInfomationResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
95
address-purification/src/model/CorrectAddressRequest.cc
Normal file
95
address-purification/src/model/CorrectAddressRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/address-purification/model/CorrectAddressRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::CorrectAddressRequest;
|
||||
|
||||
CorrectAddressRequest::CorrectAddressRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "CorrectAddress")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CorrectAddressRequest::~CorrectAddressRequest()
|
||||
{}
|
||||
|
||||
std::string CorrectAddressRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void CorrectAddressRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string CorrectAddressRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void CorrectAddressRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string CorrectAddressRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void CorrectAddressRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string CorrectAddressRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void CorrectAddressRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string CorrectAddressRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void CorrectAddressRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string CorrectAddressRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void CorrectAddressRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
51
address-purification/src/model/CorrectAddressResult.cc
Normal file
51
address-purification/src/model/CorrectAddressResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/address-purification/model/CorrectAddressResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
CorrectAddressResult::CorrectAddressResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CorrectAddressResult::CorrectAddressResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CorrectAddressResult::~CorrectAddressResult()
|
||||
{}
|
||||
|
||||
void CorrectAddressResult::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 CorrectAddressResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
95
address-purification/src/model/ExtractAddressRequest.cc
Normal file
95
address-purification/src/model/ExtractAddressRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/address-purification/model/ExtractAddressRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::ExtractAddressRequest;
|
||||
|
||||
ExtractAddressRequest::ExtractAddressRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "ExtractAddress")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ExtractAddressRequest::~ExtractAddressRequest()
|
||||
{}
|
||||
|
||||
std::string ExtractAddressRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void ExtractAddressRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string ExtractAddressRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void ExtractAddressRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string ExtractAddressRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void ExtractAddressRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string ExtractAddressRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void ExtractAddressRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string ExtractAddressRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void ExtractAddressRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string ExtractAddressRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void ExtractAddressRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
51
address-purification/src/model/ExtractAddressResult.cc
Normal file
51
address-purification/src/model/ExtractAddressResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/address-purification/model/ExtractAddressResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
ExtractAddressResult::ExtractAddressResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ExtractAddressResult::ExtractAddressResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ExtractAddressResult::~ExtractAddressResult()
|
||||
{}
|
||||
|
||||
void ExtractAddressResult::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 ExtractAddressResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
95
address-purification/src/model/ExtractNameRequest.cc
Normal file
95
address-purification/src/model/ExtractNameRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/address-purification/model/ExtractNameRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::ExtractNameRequest;
|
||||
|
||||
ExtractNameRequest::ExtractNameRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "ExtractName")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ExtractNameRequest::~ExtractNameRequest()
|
||||
{}
|
||||
|
||||
std::string ExtractNameRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void ExtractNameRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string ExtractNameRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void ExtractNameRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string ExtractNameRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void ExtractNameRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string ExtractNameRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void ExtractNameRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string ExtractNameRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void ExtractNameRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string ExtractNameRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void ExtractNameRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
51
address-purification/src/model/ExtractNameResult.cc
Normal file
51
address-purification/src/model/ExtractNameResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/address-purification/model/ExtractNameResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
ExtractNameResult::ExtractNameResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ExtractNameResult::ExtractNameResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ExtractNameResult::~ExtractNameResult()
|
||||
{}
|
||||
|
||||
void ExtractNameResult::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 ExtractNameResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
95
address-purification/src/model/ExtractPhoneRequest.cc
Normal file
95
address-purification/src/model/ExtractPhoneRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/address-purification/model/ExtractPhoneRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::ExtractPhoneRequest;
|
||||
|
||||
ExtractPhoneRequest::ExtractPhoneRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "ExtractPhone")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ExtractPhoneRequest::~ExtractPhoneRequest()
|
||||
{}
|
||||
|
||||
std::string ExtractPhoneRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void ExtractPhoneRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string ExtractPhoneRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void ExtractPhoneRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string ExtractPhoneRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void ExtractPhoneRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string ExtractPhoneRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void ExtractPhoneRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string ExtractPhoneRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void ExtractPhoneRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string ExtractPhoneRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void ExtractPhoneRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
51
address-purification/src/model/ExtractPhoneResult.cc
Normal file
51
address-purification/src/model/ExtractPhoneResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/address-purification/model/ExtractPhoneResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
ExtractPhoneResult::ExtractPhoneResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ExtractPhoneResult::ExtractPhoneResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ExtractPhoneResult::~ExtractPhoneResult()
|
||||
{}
|
||||
|
||||
void ExtractPhoneResult::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 ExtractPhoneResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/address-purification/model/GetAddressDivisionCodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::GetAddressDivisionCodeRequest;
|
||||
|
||||
GetAddressDivisionCodeRequest::GetAddressDivisionCodeRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "GetAddressDivisionCode")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAddressDivisionCodeRequest::~GetAddressDivisionCodeRequest()
|
||||
{}
|
||||
|
||||
std::string GetAddressDivisionCodeRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void GetAddressDivisionCodeRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string GetAddressDivisionCodeRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetAddressDivisionCodeRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string GetAddressDivisionCodeRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void GetAddressDivisionCodeRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string GetAddressDivisionCodeRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void GetAddressDivisionCodeRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string GetAddressDivisionCodeRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void GetAddressDivisionCodeRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string GetAddressDivisionCodeRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetAddressDivisionCodeRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/address-purification/model/GetAddressDivisionCodeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
GetAddressDivisionCodeResult::GetAddressDivisionCodeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetAddressDivisionCodeResult::GetAddressDivisionCodeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetAddressDivisionCodeResult::~GetAddressDivisionCodeResult()
|
||||
{}
|
||||
|
||||
void GetAddressDivisionCodeResult::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 GetAddressDivisionCodeResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/address-purification/model/GetAddressSimilarityRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::GetAddressSimilarityRequest;
|
||||
|
||||
GetAddressSimilarityRequest::GetAddressSimilarityRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "GetAddressSimilarity")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAddressSimilarityRequest::~GetAddressSimilarityRequest()
|
||||
{}
|
||||
|
||||
std::string GetAddressSimilarityRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void GetAddressSimilarityRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string GetAddressSimilarityRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetAddressSimilarityRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string GetAddressSimilarityRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void GetAddressSimilarityRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string GetAddressSimilarityRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void GetAddressSimilarityRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string GetAddressSimilarityRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void GetAddressSimilarityRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string GetAddressSimilarityRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetAddressSimilarityRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
@@ -14,38 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/waf-openapi/model/DescribeDomainStatusResult.h>
|
||||
#include <alibabacloud/address-purification/model/GetAddressSimilarityResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Waf_openapi;
|
||||
using namespace AlibabaCloud::Waf_openapi::Model;
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
DescribeDomainStatusResult::DescribeDomainStatusResult() :
|
||||
GetAddressSimilarityResult::GetAddressSimilarityResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDomainStatusResult::DescribeDomainStatusResult(const std::string &payload) :
|
||||
GetAddressSimilarityResult::GetAddressSimilarityResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDomainStatusResult::~DescribeDomainStatusResult()
|
||||
GetAddressSimilarityResult::~GetAddressSimilarityResult()
|
||||
{}
|
||||
|
||||
void DescribeDomainStatusResult::parse(const std::string &payload)
|
||||
void GetAddressSimilarityResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ConfigStatus"].isNull())
|
||||
configStatus_ = value["ConfigStatus"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatusResult::getConfigStatus()const
|
||||
std::string GetAddressSimilarityResult::getData()const
|
||||
{
|
||||
return configStatus_;
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/address-purification/model/GetAlgorithmResultRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::GetAlgorithmResultRequest;
|
||||
|
||||
GetAlgorithmResultRequest::GetAlgorithmResultRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "GetAlgorithmResult")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAlgorithmResultRequest::~GetAlgorithmResultRequest()
|
||||
{}
|
||||
|
||||
std::string GetAlgorithmResultRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetAlgorithmResultRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string GetAlgorithmResultRequest::getApiCode()const
|
||||
{
|
||||
return apiCode_;
|
||||
}
|
||||
|
||||
void GetAlgorithmResultRequest::setApiCode(const std::string& apiCode)
|
||||
{
|
||||
apiCode_ = apiCode;
|
||||
setBodyParameter("ApiCode", apiCode);
|
||||
}
|
||||
|
||||
std::string GetAlgorithmResultRequest::getParameters()const
|
||||
{
|
||||
return parameters_;
|
||||
}
|
||||
|
||||
void GetAlgorithmResultRequest::setParameters(const std::string& parameters)
|
||||
{
|
||||
parameters_ = parameters;
|
||||
setBodyParameter("Parameters", parameters);
|
||||
}
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/address-purification/model/GetConsoleResultRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::GetConsoleResultRequest;
|
||||
|
||||
GetConsoleResultRequest::GetConsoleResultRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "GetConsoleResult")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetConsoleResultRequest::~GetConsoleResultRequest()
|
||||
{}
|
||||
|
||||
std::string GetConsoleResultRequest::getProductCode()const
|
||||
{
|
||||
return productCode_;
|
||||
}
|
||||
|
||||
void GetConsoleResultRequest::setProductCode(const std::string& productCode)
|
||||
{
|
||||
productCode_ = productCode;
|
||||
setBodyParameter("ProductCode", productCode);
|
||||
}
|
||||
|
||||
std::string GetConsoleResultRequest::getApiCode()const
|
||||
{
|
||||
return apiCode_;
|
||||
}
|
||||
|
||||
void GetConsoleResultRequest::setApiCode(const std::string& apiCode)
|
||||
{
|
||||
apiCode_ = apiCode;
|
||||
setBodyParameter("ApiCode", apiCode);
|
||||
}
|
||||
|
||||
std::string GetConsoleResultRequest::getCommodityCode()const
|
||||
{
|
||||
return commodityCode_;
|
||||
}
|
||||
|
||||
void GetConsoleResultRequest::setCommodityCode(const std::string& commodityCode)
|
||||
{
|
||||
commodityCode_ = commodityCode;
|
||||
setBodyParameter("CommodityCode", commodityCode);
|
||||
}
|
||||
|
||||
std::string GetConsoleResultRequest::getParameters()const
|
||||
{
|
||||
return parameters_;
|
||||
}
|
||||
|
||||
void GetConsoleResultRequest::setParameters(const std::string& parameters)
|
||||
{
|
||||
parameters_ = parameters;
|
||||
setBodyParameter("Parameters", parameters);
|
||||
}
|
||||
|
||||
@@ -1,95 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/address-purification/model/GetReportRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::GetReportRequest;
|
||||
|
||||
GetReportRequest::GetReportRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "GetReport")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetReportRequest::~GetReportRequest()
|
||||
{}
|
||||
|
||||
std::string GetReportRequest::getProductCode()const
|
||||
{
|
||||
return productCode_;
|
||||
}
|
||||
|
||||
void GetReportRequest::setProductCode(const std::string& productCode)
|
||||
{
|
||||
productCode_ = productCode;
|
||||
setBodyParameter("ProductCode", productCode);
|
||||
}
|
||||
|
||||
std::string GetReportRequest::getReportType()const
|
||||
{
|
||||
return reportType_;
|
||||
}
|
||||
|
||||
void GetReportRequest::setReportType(const std::string& reportType)
|
||||
{
|
||||
reportType_ = reportType;
|
||||
setBodyParameter("ReportType", reportType);
|
||||
}
|
||||
|
||||
std::string GetReportRequest::getApiCode()const
|
||||
{
|
||||
return apiCode_;
|
||||
}
|
||||
|
||||
void GetReportRequest::setApiCode(const std::string& apiCode)
|
||||
{
|
||||
apiCode_ = apiCode;
|
||||
setBodyParameter("ApiCode", apiCode);
|
||||
}
|
||||
|
||||
std::string GetReportRequest::getGranularity()const
|
||||
{
|
||||
return granularity_;
|
||||
}
|
||||
|
||||
void GetReportRequest::setGranularity(const std::string& granularity)
|
||||
{
|
||||
granularity_ = granularity;
|
||||
setBodyParameter("Granularity", granularity);
|
||||
}
|
||||
|
||||
std::string GetReportRequest::getCommodityCode()const
|
||||
{
|
||||
return commodityCode_;
|
||||
}
|
||||
|
||||
void GetReportRequest::setCommodityCode(const std::string& commodityCode)
|
||||
{
|
||||
commodityCode_ = commodityCode;
|
||||
setBodyParameter("CommodityCode", commodityCode);
|
||||
}
|
||||
|
||||
std::string GetReportRequest::getParameters()const
|
||||
{
|
||||
return parameters_;
|
||||
}
|
||||
|
||||
void GetReportRequest::setParameters(const std::string& parameters)
|
||||
{
|
||||
parameters_ = parameters;
|
||||
setBodyParameter("Parameters", parameters);
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/address-purification/model/GetUserInfomationRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::GetUserInfomationRequest;
|
||||
|
||||
GetUserInfomationRequest::GetUserInfomationRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "GetUserInfomation")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetUserInfomationRequest::~GetUserInfomationRequest()
|
||||
{}
|
||||
|
||||
std::string GetUserInfomationRequest::getProductCode()const
|
||||
{
|
||||
return productCode_;
|
||||
}
|
||||
|
||||
void GetUserInfomationRequest::setProductCode(const std::string& productCode)
|
||||
{
|
||||
productCode_ = productCode;
|
||||
setBodyParameter("ProductCode", productCode);
|
||||
}
|
||||
|
||||
std::string GetUserInfomationRequest::getParameters()const
|
||||
{
|
||||
return parameters_;
|
||||
}
|
||||
|
||||
void GetUserInfomationRequest::setParameters(const std::string& parameters)
|
||||
{
|
||||
parameters_ = parameters;
|
||||
setBodyParameter("Parameters", parameters);
|
||||
}
|
||||
|
||||
95
address-purification/src/model/GetZipcodeRequest.cc
Normal file
95
address-purification/src/model/GetZipcodeRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/address-purification/model/GetZipcodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::GetZipcodeRequest;
|
||||
|
||||
GetZipcodeRequest::GetZipcodeRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "GetZipcode")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetZipcodeRequest::~GetZipcodeRequest()
|
||||
{}
|
||||
|
||||
std::string GetZipcodeRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void GetZipcodeRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string GetZipcodeRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetZipcodeRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string GetZipcodeRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void GetZipcodeRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string GetZipcodeRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void GetZipcodeRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string GetZipcodeRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void GetZipcodeRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string GetZipcodeRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetZipcodeRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/waf-openapi/model/CreateIPBlockResult.h>
|
||||
#include <alibabacloud/address-purification/model/GetZipcodeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Waf_openapi;
|
||||
using namespace AlibabaCloud::Waf_openapi::Model;
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
CreateIPBlockResult::CreateIPBlockResult() :
|
||||
GetZipcodeResult::GetZipcodeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateIPBlockResult::CreateIPBlockResult(const std::string &payload) :
|
||||
GetZipcodeResult::GetZipcodeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateIPBlockResult::~CreateIPBlockResult()
|
||||
GetZipcodeResult::~GetZipcodeResult()
|
||||
{}
|
||||
|
||||
void CreateIPBlockResult::parse(const std::string &payload)
|
||||
void GetZipcodeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -44,7 +44,7 @@ void CreateIPBlockResult::parse(const std::string &payload)
|
||||
|
||||
}
|
||||
|
||||
std::string CreateIPBlockResult::getData()const
|
||||
std::string GetZipcodeResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
95
address-purification/src/model/StructureAddressRequest.cc
Normal file
95
address-purification/src/model/StructureAddressRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/address-purification/model/StructureAddressRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::StructureAddressRequest;
|
||||
|
||||
StructureAddressRequest::StructureAddressRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "StructureAddress")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
StructureAddressRequest::~StructureAddressRequest()
|
||||
{}
|
||||
|
||||
std::string StructureAddressRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void StructureAddressRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string StructureAddressRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void StructureAddressRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string StructureAddressRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void StructureAddressRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string StructureAddressRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void StructureAddressRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string StructureAddressRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void StructureAddressRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string StructureAddressRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void StructureAddressRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
@@ -14,52 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/address-purification/model/GetConsoleResultResult.h>
|
||||
#include <alibabacloud/address-purification/model/StructureAddressResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
GetConsoleResultResult::GetConsoleResultResult() :
|
||||
StructureAddressResult::StructureAddressResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetConsoleResultResult::GetConsoleResultResult(const std::string &payload) :
|
||||
StructureAddressResult::StructureAddressResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetConsoleResultResult::~GetConsoleResultResult()
|
||||
StructureAddressResult::~StructureAddressResult()
|
||||
{}
|
||||
|
||||
void GetConsoleResultResult::parse(const std::string &payload)
|
||||
void StructureAddressResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrCode"].isNull())
|
||||
errCode_ = value["ErrCode"].asString();
|
||||
if(!value["ErrMessage"].isNull())
|
||||
errMessage_ = value["ErrMessage"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetConsoleResultResult::getData()const
|
||||
std::string StructureAddressResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string GetConsoleResultResult::getErrMessage()const
|
||||
{
|
||||
return errMessage_;
|
||||
}
|
||||
|
||||
std::string GetConsoleResultResult::getErrCode()const
|
||||
{
|
||||
return errCode_;
|
||||
}
|
||||
|
||||
@@ -14,36 +14,36 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/address-purification/model/DescribeProductRequest.h>
|
||||
#include <alibabacloud/address-purification/model/UpdateProjectRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::DescribeProductRequest;
|
||||
using AlibabaCloud::Address_purification::Model::UpdateProjectRequest;
|
||||
|
||||
DescribeProductRequest::DescribeProductRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "DescribeProduct")
|
||||
UpdateProjectRequest::UpdateProjectRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "UpdateProject")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeProductRequest::~DescribeProductRequest()
|
||||
UpdateProjectRequest::~UpdateProjectRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeProductRequest::getServiceCode()const
|
||||
std::string UpdateProjectRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void DescribeProductRequest::setServiceCode(const std::string& serviceCode)
|
||||
void UpdateProjectRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string DescribeProductRequest::getParameters()const
|
||||
std::string UpdateProjectRequest::getParameters()const
|
||||
{
|
||||
return parameters_;
|
||||
}
|
||||
|
||||
void DescribeProductRequest::setParameters(const std::string& parameters)
|
||||
void UpdateProjectRequest::setParameters(const std::string& parameters)
|
||||
{
|
||||
parameters_ = parameters;
|
||||
setBodyParameter("Parameters", parameters);
|
||||
51
address-purification/src/model/UpdateProjectResult.cc
Normal file
51
address-purification/src/model/UpdateProjectResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/address-purification/model/UpdateProjectResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
UpdateProjectResult::UpdateProjectResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateProjectResult::UpdateProjectResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateProjectResult::~UpdateProjectResult()
|
||||
{}
|
||||
|
||||
void UpdateProjectResult::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 UpdateProjectResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -25,8 +25,16 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/ActiveDeviceResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ActiveMeetingRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ActiveMeetingResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeResult.h
|
||||
include/alibabacloud/aliyuncvc/model/BatchCreateDeviceRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/BatchCreateDeviceResult.h
|
||||
include/alibabacloud/aliyuncvc/model/BatchDeleteDevicesRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/BatchDeleteDevicesResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CallDeviceRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CallDeviceResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CheckMeetingCodeRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CheckMeetingCodeResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateEvaluationRequest.h
|
||||
@@ -39,6 +47,8 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/CreateMeetingInternationalResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateUserRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateUserResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateUserInternationalRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateUserInternationalResult.h
|
||||
include/alibabacloud/aliyuncvc/model/DeleteDeviceRequest.h
|
||||
@@ -63,6 +73,8 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/GetMeetingInternationalResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetMeetingMemberRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetMeetingMemberResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetMembersRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetMembersResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetUserRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetUserResult.h
|
||||
include/alibabacloud/aliyuncvc/model/JoinDeviceMeetingRequest.h
|
||||
@@ -73,8 +85,12 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/JoinMeetingResult.h
|
||||
include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ListCommoditiesRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ListCommoditiesResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ListDeviceIpRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ListDeviceIpResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ListDevicesRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ListDevicesResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ListEvaluationsRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ListEvaluationsResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ListIsvStatisticsRequest.h
|
||||
@@ -87,14 +103,34 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalResult.h
|
||||
include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoResult.h
|
||||
include/alibabacloud/aliyuncvc/model/QueryMeetingInfoRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/QueryMeetingInfoResult.h
|
||||
include/alibabacloud/aliyuncvc/model/QueryMemberRecordRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/QueryMemberRecordResult.h
|
||||
include/alibabacloud/aliyuncvc/model/QueryStatisticsRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/QueryStatisticsResult.h
|
||||
include/alibabacloud/aliyuncvc/model/QueryUserBuyAttributeRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/QueryUserBuyAttributeResult.h
|
||||
include/alibabacloud/aliyuncvc/model/QueryUserEvaluationRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/QueryUserEvaluationResult.h
|
||||
include/alibabacloud/aliyuncvc/model/QueryUserInfoRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/QueryUserInfoResult.h
|
||||
include/alibabacloud/aliyuncvc/model/QueryUserListRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/QueryUserListResult.h
|
||||
include/alibabacloud/aliyuncvc/model/RegisterDeviceRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/RegisterDeviceResult.h
|
||||
include/alibabacloud/aliyuncvc/model/RegisterUemDeviceRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/RegisterUemDeviceResult.h
|
||||
include/alibabacloud/aliyuncvc/model/RemoveMeetingRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/RemoveMeetingResult.h
|
||||
include/alibabacloud/aliyuncvc/model/StartLiveRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/StartLiveResult.h
|
||||
include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatResult.h
|
||||
include/alibabacloud/aliyuncvc/model/UpdateGonggeLayoutRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/UpdateGonggeLayoutResult.h
|
||||
include/alibabacloud/aliyuncvc/model/UpdateLivePasswordRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/UpdateLivePasswordResult.h )
|
||||
|
||||
@@ -104,8 +140,16 @@ set(aliyuncvc_src
|
||||
src/model/ActiveDeviceResult.cc
|
||||
src/model/ActiveMeetingRequest.cc
|
||||
src/model/ActiveMeetingResult.cc
|
||||
src/model/ActiveMeetingCodeRequest.cc
|
||||
src/model/ActiveMeetingCodeResult.cc
|
||||
src/model/BatchCreateDeviceRequest.cc
|
||||
src/model/BatchCreateDeviceResult.cc
|
||||
src/model/BatchDeleteDevicesRequest.cc
|
||||
src/model/BatchDeleteDevicesResult.cc
|
||||
src/model/CallDeviceRequest.cc
|
||||
src/model/CallDeviceResult.cc
|
||||
src/model/CheckMeetingCodeRequest.cc
|
||||
src/model/CheckMeetingCodeResult.cc
|
||||
src/model/CreateDeviceMeetingRequest.cc
|
||||
src/model/CreateDeviceMeetingResult.cc
|
||||
src/model/CreateEvaluationRequest.cc
|
||||
@@ -118,6 +162,8 @@ set(aliyuncvc_src
|
||||
src/model/CreateMeetingInternationalResult.cc
|
||||
src/model/CreateUserRequest.cc
|
||||
src/model/CreateUserResult.cc
|
||||
src/model/CreateUserEvaluationsRequest.cc
|
||||
src/model/CreateUserEvaluationsResult.cc
|
||||
src/model/CreateUserInternationalRequest.cc
|
||||
src/model/CreateUserInternationalResult.cc
|
||||
src/model/DeleteDeviceRequest.cc
|
||||
@@ -142,6 +188,8 @@ set(aliyuncvc_src
|
||||
src/model/GetMeetingInternationalResult.cc
|
||||
src/model/GetMeetingMemberRequest.cc
|
||||
src/model/GetMeetingMemberResult.cc
|
||||
src/model/GetMembersRequest.cc
|
||||
src/model/GetMembersResult.cc
|
||||
src/model/GetUserRequest.cc
|
||||
src/model/GetUserResult.cc
|
||||
src/model/JoinDeviceMeetingRequest.cc
|
||||
@@ -152,8 +200,12 @@ set(aliyuncvc_src
|
||||
src/model/JoinMeetingResult.cc
|
||||
src/model/JoinMeetingInternationalRequest.cc
|
||||
src/model/JoinMeetingInternationalResult.cc
|
||||
src/model/ListCommoditiesRequest.cc
|
||||
src/model/ListCommoditiesResult.cc
|
||||
src/model/ListDeviceIpRequest.cc
|
||||
src/model/ListDeviceIpResult.cc
|
||||
src/model/ListDevicesRequest.cc
|
||||
src/model/ListDevicesResult.cc
|
||||
src/model/ListEvaluationsRequest.cc
|
||||
src/model/ListEvaluationsResult.cc
|
||||
src/model/ListIsvStatisticsRequest.cc
|
||||
@@ -166,14 +218,34 @@ set(aliyuncvc_src
|
||||
src/model/ModifyMeetingPasswordResult.cc
|
||||
src/model/ModifyMeetingPasswordInternationalRequest.cc
|
||||
src/model/ModifyMeetingPasswordInternationalResult.cc
|
||||
src/model/QueryIsvUserInfoRequest.cc
|
||||
src/model/QueryIsvUserInfoResult.cc
|
||||
src/model/QueryMeetingInfoRequest.cc
|
||||
src/model/QueryMeetingInfoResult.cc
|
||||
src/model/QueryMemberRecordRequest.cc
|
||||
src/model/QueryMemberRecordResult.cc
|
||||
src/model/QueryStatisticsRequest.cc
|
||||
src/model/QueryStatisticsResult.cc
|
||||
src/model/QueryUserBuyAttributeRequest.cc
|
||||
src/model/QueryUserBuyAttributeResult.cc
|
||||
src/model/QueryUserEvaluationRequest.cc
|
||||
src/model/QueryUserEvaluationResult.cc
|
||||
src/model/QueryUserInfoRequest.cc
|
||||
src/model/QueryUserInfoResult.cc
|
||||
src/model/QueryUserListRequest.cc
|
||||
src/model/QueryUserListResult.cc
|
||||
src/model/RegisterDeviceRequest.cc
|
||||
src/model/RegisterDeviceResult.cc
|
||||
src/model/RegisterUemDeviceRequest.cc
|
||||
src/model/RegisterUemDeviceResult.cc
|
||||
src/model/RemoveMeetingRequest.cc
|
||||
src/model/RemoveMeetingResult.cc
|
||||
src/model/StartLiveRequest.cc
|
||||
src/model/StartLiveResult.cc
|
||||
src/model/UpdateDeviceHeartBeatRequest.cc
|
||||
src/model/UpdateDeviceHeartBeatResult.cc
|
||||
src/model/UpdateGonggeLayoutRequest.cc
|
||||
src/model/UpdateGonggeLayoutResult.cc
|
||||
src/model/UpdateLivePasswordRequest.cc
|
||||
src/model/UpdateLivePasswordResult.cc )
|
||||
|
||||
|
||||
@@ -26,8 +26,16 @@
|
||||
#include "model/ActiveDeviceResult.h"
|
||||
#include "model/ActiveMeetingRequest.h"
|
||||
#include "model/ActiveMeetingResult.h"
|
||||
#include "model/ActiveMeetingCodeRequest.h"
|
||||
#include "model/ActiveMeetingCodeResult.h"
|
||||
#include "model/BatchCreateDeviceRequest.h"
|
||||
#include "model/BatchCreateDeviceResult.h"
|
||||
#include "model/BatchDeleteDevicesRequest.h"
|
||||
#include "model/BatchDeleteDevicesResult.h"
|
||||
#include "model/CallDeviceRequest.h"
|
||||
#include "model/CallDeviceResult.h"
|
||||
#include "model/CheckMeetingCodeRequest.h"
|
||||
#include "model/CheckMeetingCodeResult.h"
|
||||
#include "model/CreateDeviceMeetingRequest.h"
|
||||
#include "model/CreateDeviceMeetingResult.h"
|
||||
#include "model/CreateEvaluationRequest.h"
|
||||
@@ -40,6 +48,8 @@
|
||||
#include "model/CreateMeetingInternationalResult.h"
|
||||
#include "model/CreateUserRequest.h"
|
||||
#include "model/CreateUserResult.h"
|
||||
#include "model/CreateUserEvaluationsRequest.h"
|
||||
#include "model/CreateUserEvaluationsResult.h"
|
||||
#include "model/CreateUserInternationalRequest.h"
|
||||
#include "model/CreateUserInternationalResult.h"
|
||||
#include "model/DeleteDeviceRequest.h"
|
||||
@@ -64,6 +74,8 @@
|
||||
#include "model/GetMeetingInternationalResult.h"
|
||||
#include "model/GetMeetingMemberRequest.h"
|
||||
#include "model/GetMeetingMemberResult.h"
|
||||
#include "model/GetMembersRequest.h"
|
||||
#include "model/GetMembersResult.h"
|
||||
#include "model/GetUserRequest.h"
|
||||
#include "model/GetUserResult.h"
|
||||
#include "model/JoinDeviceMeetingRequest.h"
|
||||
@@ -74,8 +86,12 @@
|
||||
#include "model/JoinMeetingResult.h"
|
||||
#include "model/JoinMeetingInternationalRequest.h"
|
||||
#include "model/JoinMeetingInternationalResult.h"
|
||||
#include "model/ListCommoditiesRequest.h"
|
||||
#include "model/ListCommoditiesResult.h"
|
||||
#include "model/ListDeviceIpRequest.h"
|
||||
#include "model/ListDeviceIpResult.h"
|
||||
#include "model/ListDevicesRequest.h"
|
||||
#include "model/ListDevicesResult.h"
|
||||
#include "model/ListEvaluationsRequest.h"
|
||||
#include "model/ListEvaluationsResult.h"
|
||||
#include "model/ListIsvStatisticsRequest.h"
|
||||
@@ -88,14 +104,34 @@
|
||||
#include "model/ModifyMeetingPasswordResult.h"
|
||||
#include "model/ModifyMeetingPasswordInternationalRequest.h"
|
||||
#include "model/ModifyMeetingPasswordInternationalResult.h"
|
||||
#include "model/QueryIsvUserInfoRequest.h"
|
||||
#include "model/QueryIsvUserInfoResult.h"
|
||||
#include "model/QueryMeetingInfoRequest.h"
|
||||
#include "model/QueryMeetingInfoResult.h"
|
||||
#include "model/QueryMemberRecordRequest.h"
|
||||
#include "model/QueryMemberRecordResult.h"
|
||||
#include "model/QueryStatisticsRequest.h"
|
||||
#include "model/QueryStatisticsResult.h"
|
||||
#include "model/QueryUserBuyAttributeRequest.h"
|
||||
#include "model/QueryUserBuyAttributeResult.h"
|
||||
#include "model/QueryUserEvaluationRequest.h"
|
||||
#include "model/QueryUserEvaluationResult.h"
|
||||
#include "model/QueryUserInfoRequest.h"
|
||||
#include "model/QueryUserInfoResult.h"
|
||||
#include "model/QueryUserListRequest.h"
|
||||
#include "model/QueryUserListResult.h"
|
||||
#include "model/RegisterDeviceRequest.h"
|
||||
#include "model/RegisterDeviceResult.h"
|
||||
#include "model/RegisterUemDeviceRequest.h"
|
||||
#include "model/RegisterUemDeviceResult.h"
|
||||
#include "model/RemoveMeetingRequest.h"
|
||||
#include "model/RemoveMeetingResult.h"
|
||||
#include "model/StartLiveRequest.h"
|
||||
#include "model/StartLiveResult.h"
|
||||
#include "model/UpdateDeviceHeartBeatRequest.h"
|
||||
#include "model/UpdateDeviceHeartBeatResult.h"
|
||||
#include "model/UpdateGonggeLayoutRequest.h"
|
||||
#include "model/UpdateGonggeLayoutResult.h"
|
||||
#include "model/UpdateLivePasswordRequest.h"
|
||||
#include "model/UpdateLivePasswordResult.h"
|
||||
|
||||
@@ -113,9 +149,21 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ActiveMeetingResult> ActiveMeetingOutcome;
|
||||
typedef std::future<ActiveMeetingOutcome> ActiveMeetingOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::ActiveMeetingRequest&, const ActiveMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ActiveMeetingAsyncHandler;
|
||||
typedef Outcome<Error, Model::ActiveMeetingCodeResult> ActiveMeetingCodeOutcome;
|
||||
typedef std::future<ActiveMeetingCodeOutcome> ActiveMeetingCodeOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::ActiveMeetingCodeRequest&, const ActiveMeetingCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ActiveMeetingCodeAsyncHandler;
|
||||
typedef Outcome<Error, Model::BatchCreateDeviceResult> BatchCreateDeviceOutcome;
|
||||
typedef std::future<BatchCreateDeviceOutcome> BatchCreateDeviceOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::BatchCreateDeviceRequest&, const BatchCreateDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchCreateDeviceAsyncHandler;
|
||||
typedef Outcome<Error, Model::BatchDeleteDevicesResult> BatchDeleteDevicesOutcome;
|
||||
typedef std::future<BatchDeleteDevicesOutcome> BatchDeleteDevicesOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::BatchDeleteDevicesRequest&, const BatchDeleteDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchDeleteDevicesAsyncHandler;
|
||||
typedef Outcome<Error, Model::CallDeviceResult> CallDeviceOutcome;
|
||||
typedef std::future<CallDeviceOutcome> CallDeviceOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::CallDeviceRequest&, const CallDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CallDeviceAsyncHandler;
|
||||
typedef Outcome<Error, Model::CheckMeetingCodeResult> CheckMeetingCodeOutcome;
|
||||
typedef std::future<CheckMeetingCodeOutcome> CheckMeetingCodeOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::CheckMeetingCodeRequest&, const CheckMeetingCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckMeetingCodeAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDeviceMeetingResult> CreateDeviceMeetingOutcome;
|
||||
typedef std::future<CreateDeviceMeetingOutcome> CreateDeviceMeetingOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::CreateDeviceMeetingRequest&, const CreateDeviceMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDeviceMeetingAsyncHandler;
|
||||
@@ -134,6 +182,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateUserResult> CreateUserOutcome;
|
||||
typedef std::future<CreateUserOutcome> CreateUserOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::CreateUserRequest&, const CreateUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateUserEvaluationsResult> CreateUserEvaluationsOutcome;
|
||||
typedef std::future<CreateUserEvaluationsOutcome> CreateUserEvaluationsOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::CreateUserEvaluationsRequest&, const CreateUserEvaluationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUserEvaluationsAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateUserInternationalResult> CreateUserInternationalOutcome;
|
||||
typedef std::future<CreateUserInternationalOutcome> CreateUserInternationalOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::CreateUserInternationalRequest&, const CreateUserInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUserInternationalAsyncHandler;
|
||||
@@ -170,6 +221,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetMeetingMemberResult> GetMeetingMemberOutcome;
|
||||
typedef std::future<GetMeetingMemberOutcome> GetMeetingMemberOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetMeetingMemberRequest&, const GetMeetingMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMeetingMemberAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetMembersResult> GetMembersOutcome;
|
||||
typedef std::future<GetMembersOutcome> GetMembersOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetMembersRequest&, const GetMembersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMembersAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetUserResult> GetUserOutcome;
|
||||
typedef std::future<GetUserOutcome> GetUserOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetUserRequest&, const GetUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserAsyncHandler;
|
||||
@@ -185,9 +239,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::JoinMeetingInternationalResult> JoinMeetingInternationalOutcome;
|
||||
typedef std::future<JoinMeetingInternationalOutcome> JoinMeetingInternationalOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::JoinMeetingInternationalRequest&, const JoinMeetingInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> JoinMeetingInternationalAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCommoditiesResult> ListCommoditiesOutcome;
|
||||
typedef std::future<ListCommoditiesOutcome> ListCommoditiesOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::ListCommoditiesRequest&, const ListCommoditiesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCommoditiesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDeviceIpResult> ListDeviceIpOutcome;
|
||||
typedef std::future<ListDeviceIpOutcome> ListDeviceIpOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::ListDeviceIpRequest&, const ListDeviceIpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDeviceIpAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDevicesResult> ListDevicesOutcome;
|
||||
typedef std::future<ListDevicesOutcome> ListDevicesOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::ListDevicesRequest&, const ListDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDevicesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListEvaluationsResult> ListEvaluationsOutcome;
|
||||
typedef std::future<ListEvaluationsOutcome> ListEvaluationsOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::ListEvaluationsRequest&, const ListEvaluationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListEvaluationsAsyncHandler;
|
||||
@@ -206,18 +266,48 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyMeetingPasswordInternationalResult> ModifyMeetingPasswordInternationalOutcome;
|
||||
typedef std::future<ModifyMeetingPasswordInternationalOutcome> ModifyMeetingPasswordInternationalOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::ModifyMeetingPasswordInternationalRequest&, const ModifyMeetingPasswordInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMeetingPasswordInternationalAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryIsvUserInfoResult> QueryIsvUserInfoOutcome;
|
||||
typedef std::future<QueryIsvUserInfoOutcome> QueryIsvUserInfoOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::QueryIsvUserInfoRequest&, const QueryIsvUserInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryIsvUserInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryMeetingInfoResult> QueryMeetingInfoOutcome;
|
||||
typedef std::future<QueryMeetingInfoOutcome> QueryMeetingInfoOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::QueryMeetingInfoRequest&, const QueryMeetingInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMeetingInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryMemberRecordResult> QueryMemberRecordOutcome;
|
||||
typedef std::future<QueryMemberRecordOutcome> QueryMemberRecordOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::QueryMemberRecordRequest&, const QueryMemberRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMemberRecordAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryStatisticsResult> QueryStatisticsOutcome;
|
||||
typedef std::future<QueryStatisticsOutcome> QueryStatisticsOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::QueryStatisticsRequest&, const QueryStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryStatisticsAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryUserBuyAttributeResult> QueryUserBuyAttributeOutcome;
|
||||
typedef std::future<QueryUserBuyAttributeOutcome> QueryUserBuyAttributeOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::QueryUserBuyAttributeRequest&, const QueryUserBuyAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryUserBuyAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryUserEvaluationResult> QueryUserEvaluationOutcome;
|
||||
typedef std::future<QueryUserEvaluationOutcome> QueryUserEvaluationOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::QueryUserEvaluationRequest&, const QueryUserEvaluationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryUserEvaluationAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryUserInfoResult> QueryUserInfoOutcome;
|
||||
typedef std::future<QueryUserInfoOutcome> QueryUserInfoOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::QueryUserInfoRequest&, const QueryUserInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryUserInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryUserListResult> QueryUserListOutcome;
|
||||
typedef std::future<QueryUserListOutcome> QueryUserListOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::QueryUserListRequest&, const QueryUserListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryUserListAsyncHandler;
|
||||
typedef Outcome<Error, Model::RegisterDeviceResult> RegisterDeviceOutcome;
|
||||
typedef std::future<RegisterDeviceOutcome> RegisterDeviceOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::RegisterDeviceRequest&, const RegisterDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterDeviceAsyncHandler;
|
||||
typedef Outcome<Error, Model::RegisterUemDeviceResult> RegisterUemDeviceOutcome;
|
||||
typedef std::future<RegisterUemDeviceOutcome> RegisterUemDeviceOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::RegisterUemDeviceRequest&, const RegisterUemDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterUemDeviceAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveMeetingResult> RemoveMeetingOutcome;
|
||||
typedef std::future<RemoveMeetingOutcome> RemoveMeetingOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::RemoveMeetingRequest&, const RemoveMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveMeetingAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartLiveResult> StartLiveOutcome;
|
||||
typedef std::future<StartLiveOutcome> StartLiveOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::StartLiveRequest&, const StartLiveOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartLiveAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateDeviceHeartBeatResult> UpdateDeviceHeartBeatOutcome;
|
||||
typedef std::future<UpdateDeviceHeartBeatOutcome> UpdateDeviceHeartBeatOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::UpdateDeviceHeartBeatRequest&, const UpdateDeviceHeartBeatOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDeviceHeartBeatAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateGonggeLayoutResult> UpdateGonggeLayoutOutcome;
|
||||
typedef std::future<UpdateGonggeLayoutOutcome> UpdateGonggeLayoutOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::UpdateGonggeLayoutRequest&, const UpdateGonggeLayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateGonggeLayoutAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateLivePasswordResult> UpdateLivePasswordOutcome;
|
||||
typedef std::future<UpdateLivePasswordOutcome> UpdateLivePasswordOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::UpdateLivePasswordRequest&, const UpdateLivePasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateLivePasswordAsyncHandler;
|
||||
@@ -232,9 +322,21 @@ namespace AlibabaCloud
|
||||
ActiveMeetingOutcome activeMeeting(const Model::ActiveMeetingRequest &request)const;
|
||||
void activeMeetingAsync(const Model::ActiveMeetingRequest& request, const ActiveMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ActiveMeetingOutcomeCallable activeMeetingCallable(const Model::ActiveMeetingRequest& request) const;
|
||||
ActiveMeetingCodeOutcome activeMeetingCode(const Model::ActiveMeetingCodeRequest &request)const;
|
||||
void activeMeetingCodeAsync(const Model::ActiveMeetingCodeRequest& request, const ActiveMeetingCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ActiveMeetingCodeOutcomeCallable activeMeetingCodeCallable(const Model::ActiveMeetingCodeRequest& request) const;
|
||||
BatchCreateDeviceOutcome batchCreateDevice(const Model::BatchCreateDeviceRequest &request)const;
|
||||
void batchCreateDeviceAsync(const Model::BatchCreateDeviceRequest& request, const BatchCreateDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BatchCreateDeviceOutcomeCallable batchCreateDeviceCallable(const Model::BatchCreateDeviceRequest& request) const;
|
||||
BatchDeleteDevicesOutcome batchDeleteDevices(const Model::BatchDeleteDevicesRequest &request)const;
|
||||
void batchDeleteDevicesAsync(const Model::BatchDeleteDevicesRequest& request, const BatchDeleteDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BatchDeleteDevicesOutcomeCallable batchDeleteDevicesCallable(const Model::BatchDeleteDevicesRequest& request) const;
|
||||
CallDeviceOutcome callDevice(const Model::CallDeviceRequest &request)const;
|
||||
void callDeviceAsync(const Model::CallDeviceRequest& request, const CallDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CallDeviceOutcomeCallable callDeviceCallable(const Model::CallDeviceRequest& request) const;
|
||||
CheckMeetingCodeOutcome checkMeetingCode(const Model::CheckMeetingCodeRequest &request)const;
|
||||
void checkMeetingCodeAsync(const Model::CheckMeetingCodeRequest& request, const CheckMeetingCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CheckMeetingCodeOutcomeCallable checkMeetingCodeCallable(const Model::CheckMeetingCodeRequest& request) const;
|
||||
CreateDeviceMeetingOutcome createDeviceMeeting(const Model::CreateDeviceMeetingRequest &request)const;
|
||||
void createDeviceMeetingAsync(const Model::CreateDeviceMeetingRequest& request, const CreateDeviceMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDeviceMeetingOutcomeCallable createDeviceMeetingCallable(const Model::CreateDeviceMeetingRequest& request) const;
|
||||
@@ -253,6 +355,9 @@ namespace AlibabaCloud
|
||||
CreateUserOutcome createUser(const Model::CreateUserRequest &request)const;
|
||||
void createUserAsync(const Model::CreateUserRequest& request, const CreateUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateUserOutcomeCallable createUserCallable(const Model::CreateUserRequest& request) const;
|
||||
CreateUserEvaluationsOutcome createUserEvaluations(const Model::CreateUserEvaluationsRequest &request)const;
|
||||
void createUserEvaluationsAsync(const Model::CreateUserEvaluationsRequest& request, const CreateUserEvaluationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateUserEvaluationsOutcomeCallable createUserEvaluationsCallable(const Model::CreateUserEvaluationsRequest& request) const;
|
||||
CreateUserInternationalOutcome createUserInternational(const Model::CreateUserInternationalRequest &request)const;
|
||||
void createUserInternationalAsync(const Model::CreateUserInternationalRequest& request, const CreateUserInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateUserInternationalOutcomeCallable createUserInternationalCallable(const Model::CreateUserInternationalRequest& request) const;
|
||||
@@ -289,6 +394,9 @@ namespace AlibabaCloud
|
||||
GetMeetingMemberOutcome getMeetingMember(const Model::GetMeetingMemberRequest &request)const;
|
||||
void getMeetingMemberAsync(const Model::GetMeetingMemberRequest& request, const GetMeetingMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMeetingMemberOutcomeCallable getMeetingMemberCallable(const Model::GetMeetingMemberRequest& request) const;
|
||||
GetMembersOutcome getMembers(const Model::GetMembersRequest &request)const;
|
||||
void getMembersAsync(const Model::GetMembersRequest& request, const GetMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMembersOutcomeCallable getMembersCallable(const Model::GetMembersRequest& request) const;
|
||||
GetUserOutcome getUser(const Model::GetUserRequest &request)const;
|
||||
void getUserAsync(const Model::GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const;
|
||||
@@ -304,9 +412,15 @@ namespace AlibabaCloud
|
||||
JoinMeetingInternationalOutcome joinMeetingInternational(const Model::JoinMeetingInternationalRequest &request)const;
|
||||
void joinMeetingInternationalAsync(const Model::JoinMeetingInternationalRequest& request, const JoinMeetingInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
JoinMeetingInternationalOutcomeCallable joinMeetingInternationalCallable(const Model::JoinMeetingInternationalRequest& request) const;
|
||||
ListCommoditiesOutcome listCommodities(const Model::ListCommoditiesRequest &request)const;
|
||||
void listCommoditiesAsync(const Model::ListCommoditiesRequest& request, const ListCommoditiesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCommoditiesOutcomeCallable listCommoditiesCallable(const Model::ListCommoditiesRequest& request) const;
|
||||
ListDeviceIpOutcome listDeviceIp(const Model::ListDeviceIpRequest &request)const;
|
||||
void listDeviceIpAsync(const Model::ListDeviceIpRequest& request, const ListDeviceIpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDeviceIpOutcomeCallable listDeviceIpCallable(const Model::ListDeviceIpRequest& request) const;
|
||||
ListDevicesOutcome listDevices(const Model::ListDevicesRequest &request)const;
|
||||
void listDevicesAsync(const Model::ListDevicesRequest& request, const ListDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDevicesOutcomeCallable listDevicesCallable(const Model::ListDevicesRequest& request) const;
|
||||
ListEvaluationsOutcome listEvaluations(const Model::ListEvaluationsRequest &request)const;
|
||||
void listEvaluationsAsync(const Model::ListEvaluationsRequest& request, const ListEvaluationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListEvaluationsOutcomeCallable listEvaluationsCallable(const Model::ListEvaluationsRequest& request) const;
|
||||
@@ -325,18 +439,48 @@ namespace AlibabaCloud
|
||||
ModifyMeetingPasswordInternationalOutcome modifyMeetingPasswordInternational(const Model::ModifyMeetingPasswordInternationalRequest &request)const;
|
||||
void modifyMeetingPasswordInternationalAsync(const Model::ModifyMeetingPasswordInternationalRequest& request, const ModifyMeetingPasswordInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyMeetingPasswordInternationalOutcomeCallable modifyMeetingPasswordInternationalCallable(const Model::ModifyMeetingPasswordInternationalRequest& request) const;
|
||||
QueryIsvUserInfoOutcome queryIsvUserInfo(const Model::QueryIsvUserInfoRequest &request)const;
|
||||
void queryIsvUserInfoAsync(const Model::QueryIsvUserInfoRequest& request, const QueryIsvUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryIsvUserInfoOutcomeCallable queryIsvUserInfoCallable(const Model::QueryIsvUserInfoRequest& request) const;
|
||||
QueryMeetingInfoOutcome queryMeetingInfo(const Model::QueryMeetingInfoRequest &request)const;
|
||||
void queryMeetingInfoAsync(const Model::QueryMeetingInfoRequest& request, const QueryMeetingInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryMeetingInfoOutcomeCallable queryMeetingInfoCallable(const Model::QueryMeetingInfoRequest& request) const;
|
||||
QueryMemberRecordOutcome queryMemberRecord(const Model::QueryMemberRecordRequest &request)const;
|
||||
void queryMemberRecordAsync(const Model::QueryMemberRecordRequest& request, const QueryMemberRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryMemberRecordOutcomeCallable queryMemberRecordCallable(const Model::QueryMemberRecordRequest& request) const;
|
||||
QueryStatisticsOutcome queryStatistics(const Model::QueryStatisticsRequest &request)const;
|
||||
void queryStatisticsAsync(const Model::QueryStatisticsRequest& request, const QueryStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryStatisticsOutcomeCallable queryStatisticsCallable(const Model::QueryStatisticsRequest& request) const;
|
||||
QueryUserBuyAttributeOutcome queryUserBuyAttribute(const Model::QueryUserBuyAttributeRequest &request)const;
|
||||
void queryUserBuyAttributeAsync(const Model::QueryUserBuyAttributeRequest& request, const QueryUserBuyAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryUserBuyAttributeOutcomeCallable queryUserBuyAttributeCallable(const Model::QueryUserBuyAttributeRequest& request) const;
|
||||
QueryUserEvaluationOutcome queryUserEvaluation(const Model::QueryUserEvaluationRequest &request)const;
|
||||
void queryUserEvaluationAsync(const Model::QueryUserEvaluationRequest& request, const QueryUserEvaluationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryUserEvaluationOutcomeCallable queryUserEvaluationCallable(const Model::QueryUserEvaluationRequest& request) const;
|
||||
QueryUserInfoOutcome queryUserInfo(const Model::QueryUserInfoRequest &request)const;
|
||||
void queryUserInfoAsync(const Model::QueryUserInfoRequest& request, const QueryUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryUserInfoOutcomeCallable queryUserInfoCallable(const Model::QueryUserInfoRequest& request) const;
|
||||
QueryUserListOutcome queryUserList(const Model::QueryUserListRequest &request)const;
|
||||
void queryUserListAsync(const Model::QueryUserListRequest& request, const QueryUserListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryUserListOutcomeCallable queryUserListCallable(const Model::QueryUserListRequest& request) const;
|
||||
RegisterDeviceOutcome registerDevice(const Model::RegisterDeviceRequest &request)const;
|
||||
void registerDeviceAsync(const Model::RegisterDeviceRequest& request, const RegisterDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RegisterDeviceOutcomeCallable registerDeviceCallable(const Model::RegisterDeviceRequest& request) const;
|
||||
RegisterUemDeviceOutcome registerUemDevice(const Model::RegisterUemDeviceRequest &request)const;
|
||||
void registerUemDeviceAsync(const Model::RegisterUemDeviceRequest& request, const RegisterUemDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RegisterUemDeviceOutcomeCallable registerUemDeviceCallable(const Model::RegisterUemDeviceRequest& request) const;
|
||||
RemoveMeetingOutcome removeMeeting(const Model::RemoveMeetingRequest &request)const;
|
||||
void removeMeetingAsync(const Model::RemoveMeetingRequest& request, const RemoveMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveMeetingOutcomeCallable removeMeetingCallable(const Model::RemoveMeetingRequest& request) const;
|
||||
StartLiveOutcome startLive(const Model::StartLiveRequest &request)const;
|
||||
void startLiveAsync(const Model::StartLiveRequest& request, const StartLiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartLiveOutcomeCallable startLiveCallable(const Model::StartLiveRequest& request) const;
|
||||
UpdateDeviceHeartBeatOutcome updateDeviceHeartBeat(const Model::UpdateDeviceHeartBeatRequest &request)const;
|
||||
void updateDeviceHeartBeatAsync(const Model::UpdateDeviceHeartBeatRequest& request, const UpdateDeviceHeartBeatAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateDeviceHeartBeatOutcomeCallable updateDeviceHeartBeatCallable(const Model::UpdateDeviceHeartBeatRequest& request) const;
|
||||
UpdateGonggeLayoutOutcome updateGonggeLayout(const Model::UpdateGonggeLayoutRequest &request)const;
|
||||
void updateGonggeLayoutAsync(const Model::UpdateGonggeLayoutRequest& request, const UpdateGonggeLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateGonggeLayoutOutcomeCallable updateGonggeLayoutCallable(const Model::UpdateGonggeLayoutRequest& request) const;
|
||||
UpdateLivePasswordOutcome updateLivePassword(const Model::UpdateLivePasswordRequest &request)const;
|
||||
void updateLivePasswordAsync(const Model::UpdateLivePasswordRequest& request, const UpdateLivePasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateLivePasswordOutcomeCallable updateLivePasswordCallable(const Model::UpdateLivePasswordRequest& request) const;
|
||||
|
||||
@@ -14,38 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETUSERINFOMATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETUSERINFOMATIONREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/address-purification/Address_purificationExport.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Address_purification
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADDRESS_PURIFICATION_EXPORT GetUserInfomationRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT ActiveMeetingCodeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetUserInfomationRequest();
|
||||
~GetUserInfomationRequest();
|
||||
ActiveMeetingCodeRequest();
|
||||
~ActiveMeetingCodeRequest();
|
||||
|
||||
std::string getProductCode()const;
|
||||
void setProductCode(const std::string& productCode);
|
||||
std::string getParameters()const;
|
||||
void setParameters(const std::string& parameters);
|
||||
std::string getMeetingUUID()const;
|
||||
void setMeetingUUID(const std::string& meetingUUID);
|
||||
std::string getMeetingCode()const;
|
||||
void setMeetingCode(const std::string& meetingCode);
|
||||
|
||||
private:
|
||||
std::string productCode_;
|
||||
std::string parameters_;
|
||||
std::string meetingUUID_;
|
||||
std::string meetingCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETUSERINFOMATIONREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODEREQUEST_H_
|
||||
@@ -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_ALIYUNCVC_MODEL_ACTIVEMEETINGCODERESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT ActiveMeetingCodeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MeetingInfo
|
||||
{
|
||||
std::string meetingCode;
|
||||
long validDate;
|
||||
};
|
||||
|
||||
|
||||
ActiveMeetingCodeResult();
|
||||
explicit ActiveMeetingCodeResult(const std::string &payload);
|
||||
~ActiveMeetingCodeResult();
|
||||
MeetingInfo getMeetingInfo()const;
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
MeetingInfo meetingInfo_;
|
||||
std::string message_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODERESULT_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_ALIYUNCVC_MODEL_BATCHDELETEDEVICESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_BATCHDELETEDEVICESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT BatchDeleteDevicesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BatchDeleteDevicesRequest();
|
||||
~BatchDeleteDevicesRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getSN()const;
|
||||
void setSN(const std::string& sN);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string sN_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_BATCHDELETEDEVICESREQUEST_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_ALIYUNCVC_MODEL_BATCHDELETEDEVICESRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_BATCHDELETEDEVICESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT BatchDeleteDevicesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
BatchDeleteDevicesResult();
|
||||
explicit BatchDeleteDevicesResult(const std::string &payload);
|
||||
~BatchDeleteDevicesResult();
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_BATCHDELETEDEVICESRESULT_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_ALIYUNCVC_MODEL_CALLDEVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CALLDEVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT CallDeviceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CallDeviceRequest();
|
||||
~CallDeviceRequest();
|
||||
|
||||
std::string getOperateUserId()const;
|
||||
void setOperateUserId(const std::string& operateUserId);
|
||||
bool getJoinMeetingFlag()const;
|
||||
void setJoinMeetingFlag(bool joinMeetingFlag);
|
||||
std::string getMeetingCode()const;
|
||||
void setMeetingCode(const std::string& meetingCode);
|
||||
std::string getSN()const;
|
||||
void setSN(const std::string& sN);
|
||||
|
||||
private:
|
||||
std::string operateUserId_;
|
||||
bool joinMeetingFlag_;
|
||||
std::string meetingCode_;
|
||||
std::string sN_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CALLDEVICEREQUEST_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_ALIYUNCVC_MODEL_CALLDEVICERESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CALLDEVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT CallDeviceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CallDeviceResult();
|
||||
explicit CallDeviceResult(const std::string &payload);
|
||||
~CallDeviceResult();
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
std::string getMessageId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
std::string messageId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CALLDEVICERESULT_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_ALIYUNCVC_MODEL_CHECKMEETINGCODEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT CheckMeetingCodeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CheckMeetingCodeRequest();
|
||||
~CheckMeetingCodeRequest();
|
||||
|
||||
std::string getMeetingCode()const;
|
||||
void setMeetingCode(const std::string& meetingCode);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
|
||||
private:
|
||||
std::string meetingCode_;
|
||||
std::string userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODEREQUEST_H_
|
||||
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ALIYUNCVC_MODEL_CHECKMEETINGCODERESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT CheckMeetingCodeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MeetingInfo
|
||||
{
|
||||
struct SlsInfo
|
||||
{
|
||||
std::string project;
|
||||
std::string logstore;
|
||||
std::string logServiceEndpoint;
|
||||
};
|
||||
SlsInfo slsInfo;
|
||||
std::string meetingDomain;
|
||||
std::string meetingCode;
|
||||
std::string memberUUID;
|
||||
std::string meetingUUID;
|
||||
std::string clientAppId;
|
||||
std::string meetingAppId;
|
||||
std::string meetingToken;
|
||||
};
|
||||
|
||||
|
||||
CheckMeetingCodeResult();
|
||||
explicit CheckMeetingCodeResult(const std::string &payload);
|
||||
~CheckMeetingCodeResult();
|
||||
MeetingInfo getMeetingInfo()const;
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
MeetingInfo meetingInfo_;
|
||||
std::string message_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODERESULT_H_
|
||||
@@ -39,22 +39,10 @@ namespace AlibabaCloud
|
||||
void setMeetingName(const std::string& meetingName);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
bool getOpenPasswordFlag()const;
|
||||
void setOpenPasswordFlag(bool openPasswordFlag);
|
||||
std::string getPassword()const;
|
||||
void setPassword(const std::string& password);
|
||||
bool getMasterEnableFlag()const;
|
||||
void setMasterEnableFlag(bool masterEnableFlag);
|
||||
std::string getMeetingMode()const;
|
||||
void setMeetingMode(const std::string& meetingMode);
|
||||
|
||||
private:
|
||||
std::string meetingName_;
|
||||
std::string userId_;
|
||||
bool openPasswordFlag_;
|
||||
std::string password_;
|
||||
bool masterEnableFlag_;
|
||||
std::string meetingMode_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateUserEvaluationsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateUserEvaluationsRequest();
|
||||
~CreateUserEvaluationsRequest();
|
||||
|
||||
std::string getMemo()const;
|
||||
void setMemo(const std::string& memo);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
long getCreateDate()const;
|
||||
void setCreateDate(long createDate);
|
||||
std::string getMemberUUID()const;
|
||||
void setMemberUUID(const std::string& memberUUID);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getEvaluation()const;
|
||||
void setEvaluation(const std::string& evaluation);
|
||||
std::string getScore()const;
|
||||
void setScore(const std::string& score);
|
||||
std::string getMeetingUUID()const;
|
||||
void setMeetingUUID(const std::string& meetingUUID);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
|
||||
private:
|
||||
std::string memo_;
|
||||
std::string description_;
|
||||
long createDate_;
|
||||
std::string memberUUID_;
|
||||
std::string userId_;
|
||||
std::string evaluation_;
|
||||
std::string score_;
|
||||
std::string meetingUUID_;
|
||||
std::string appId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSREQUEST_H_
|
||||
@@ -14,43 +14,42 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBERULESUMMARYRESULT_H_
|
||||
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBERULESUMMARYRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Waf_openapi
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeRuleSummaryResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateUserEvaluationsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Item
|
||||
{
|
||||
long pv;
|
||||
long timeStamp;
|
||||
};
|
||||
|
||||
|
||||
DescribeRuleSummaryResult();
|
||||
explicit DescribeRuleSummaryResult(const std::string &payload);
|
||||
~DescribeRuleSummaryResult();
|
||||
std::vector<Item> getRuleSummarys()const;
|
||||
CreateUserEvaluationsResult();
|
||||
explicit CreateUserEvaluationsResult(const std::string &payload);
|
||||
~CreateUserEvaluationsResult();
|
||||
std::string getMessage()const;
|
||||
std::string getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Item> ruleSummarys_;
|
||||
std::string message_;
|
||||
std::string errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBERULESUMMARYRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSRESULT_H_
|
||||
@@ -38,7 +38,6 @@ namespace AlibabaCloud
|
||||
explicit CreateUserResult(const std::string &payload);
|
||||
~CreateUserResult();
|
||||
std::string getMessage()const;
|
||||
std::string getUserId()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
@@ -46,7 +45,6 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string userId_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
|
||||
@@ -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_ALIYUNCVC_MODEL_GETMEMBERSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEMBERSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetMembersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetMembersRequest();
|
||||
~GetMembersRequest();
|
||||
|
||||
std::string getMeetingUUID()const;
|
||||
void setMeetingUUID(const std::string& meetingUUID);
|
||||
|
||||
private:
|
||||
std::string meetingUUID_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEMBERSREQUEST_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEMBERSRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEMBERSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetMembersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MeetingInfo
|
||||
{
|
||||
struct MemberListItem
|
||||
{
|
||||
std::string status;
|
||||
std::string userName;
|
||||
std::string memberUUID;
|
||||
std::string userId;
|
||||
std::string userAvatarUrl;
|
||||
};
|
||||
std::string meetingCode;
|
||||
std::string meetingUUID;
|
||||
std::vector<MemberListItem> memberList;
|
||||
std::string userId;
|
||||
long createTime;
|
||||
std::string meetingName;
|
||||
long validTime;
|
||||
};
|
||||
|
||||
|
||||
GetMembersResult();
|
||||
explicit GetMembersResult(const std::string &payload);
|
||||
~GetMembersResult();
|
||||
MeetingInfo getMeetingInfo()const;
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
MeetingInfo meetingInfo_;
|
||||
std::string message_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEMBERSRESULT_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_ALIYUNCVC_MODEL_LISTCOMMODITIESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCOMMODITIESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT ListCommoditiesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListCommoditiesRequest();
|
||||
~ListCommoditiesRequest();
|
||||
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCOMMODITIESREQUEST_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_ALIYUNCVC_MODEL_LISTCOMMODITIESRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCOMMODITIESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT ListCommoditiesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Commodity
|
||||
{
|
||||
std::string endTime;
|
||||
std::string startTime;
|
||||
std::string instancepropertyvalue;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<Commodity> commodities;
|
||||
};
|
||||
|
||||
|
||||
ListCommoditiesResult();
|
||||
explicit ListCommoditiesResult(const std::string &payload);
|
||||
~ListCommoditiesResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCOMMODITIESRESULT_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_ALIYUNCVC_MODEL_LISTDEVICESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT ListDevicesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListDevicesRequest();
|
||||
~ListDevicesRequest();
|
||||
|
||||
std::string getCastScreenCode()const;
|
||||
void setCastScreenCode(const std::string& castScreenCode);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getSN()const;
|
||||
void setSN(const std::string& sN);
|
||||
|
||||
private:
|
||||
std::string castScreenCode_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
std::string sN_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICESREQUEST_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICESRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT ListDevicesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Device
|
||||
{
|
||||
std::string status;
|
||||
std::string castScreenCode;
|
||||
std::string createTime;
|
||||
std::string pictureUrl;
|
||||
std::string sN;
|
||||
std::string conferenceName;
|
||||
std::string activationCode;
|
||||
std::string conferenceCode;
|
||||
};
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
int total;
|
||||
std::vector<Device> devices;
|
||||
};
|
||||
|
||||
|
||||
ListDevicesResult();
|
||||
explicit ListDevicesResult(const std::string &payload);
|
||||
~ListDevicesResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICESRESULT_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_ALIYUNCVC_MODEL_QUERYISVUSERINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryIsvUserInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryIsvUserInfoRequest();
|
||||
~QueryIsvUserInfoRequest();
|
||||
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
|
||||
private:
|
||||
std::string userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFOREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFORESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryIsvUserInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct UserInfo
|
||||
{
|
||||
std::string groupName;
|
||||
std::string userMobile;
|
||||
std::string userName;
|
||||
std::string userTel;
|
||||
std::string userId;
|
||||
long createTime;
|
||||
std::string userAvatarUrl;
|
||||
std::string userEmail;
|
||||
std::string departName;
|
||||
std::string groupId;
|
||||
std::string departId;
|
||||
};
|
||||
|
||||
|
||||
QueryIsvUserInfoResult();
|
||||
explicit QueryIsvUserInfoResult(const std::string &payload);
|
||||
~QueryIsvUserInfoResult();
|
||||
std::string getMessage()const;
|
||||
UserInfo getUserInfo()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
UserInfo userInfo_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFORESULT_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_ALIYUNCVC_MODEL_QUERYMEETINGINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMeetingInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryMeetingInfoRequest();
|
||||
~QueryMeetingInfoRequest();
|
||||
|
||||
std::string getMeetingUUID()const;
|
||||
void setMeetingUUID(const std::string& meetingUUID);
|
||||
|
||||
private:
|
||||
std::string meetingUUID_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFOREQUEST_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFORESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMeetingInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MeetingInfo
|
||||
{
|
||||
struct MemberListItem
|
||||
{
|
||||
std::string status;
|
||||
std::string userName;
|
||||
std::string memberUUID;
|
||||
std::string userId;
|
||||
std::string userAvatarUrl;
|
||||
};
|
||||
std::string meetingCode;
|
||||
long validDate;
|
||||
std::string meetingUUID;
|
||||
std::vector<MemberListItem> memberList;
|
||||
std::string userId;
|
||||
std::string meetingName;
|
||||
long createDate;
|
||||
};
|
||||
|
||||
|
||||
QueryMeetingInfoResult();
|
||||
explicit QueryMeetingInfoResult(const std::string &payload);
|
||||
~QueryMeetingInfoResult();
|
||||
MeetingInfo getMeetingInfo()const;
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
MeetingInfo meetingInfo_;
|
||||
std::string message_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFORESULT_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_ALIYUNCVC_MODEL_QUERYMEMBERRECORDREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMemberRecordRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryMemberRecordRequest();
|
||||
~QueryMemberRecordRequest();
|
||||
|
||||
std::string getMeetingUUID()const;
|
||||
void setMeetingUUID(const std::string& meetingUUID);
|
||||
|
||||
private:
|
||||
std::string meetingUUID_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDREQUEST_H_
|
||||
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ALIYUNCVC_MODEL_QUERYMEMBERRECORDRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMemberRecordResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MeetingInfo
|
||||
{
|
||||
struct MemberRecord
|
||||
{
|
||||
std::string status;
|
||||
std::string memberUUID;
|
||||
std::string userId;
|
||||
};
|
||||
std::string meetingCode;
|
||||
std::string userName;
|
||||
std::string meetingUUID;
|
||||
std::string userId;
|
||||
std::string meetingName;
|
||||
std::vector<MemberRecord> memberRecordsList;
|
||||
long createDate;
|
||||
std::string memo;
|
||||
};
|
||||
|
||||
|
||||
QueryMemberRecordResult();
|
||||
explicit QueryMemberRecordResult(const std::string &payload);
|
||||
~QueryMemberRecordResult();
|
||||
MeetingInfo getMeetingInfo()const;
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
MeetingInfo meetingInfo_;
|
||||
std::string message_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDRESULT_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_ALIYUNCVC_MODEL_QUERYSTATISTICSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYSTATISTICSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryStatisticsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryStatisticsRequest();
|
||||
~QueryStatisticsRequest();
|
||||
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYSTATISTICSREQUEST_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYSTATISTICSRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYSTATISTICSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryStatisticsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Total
|
||||
{
|
||||
int meetingNum;
|
||||
int meetingLength;
|
||||
int memberNum;
|
||||
};
|
||||
struct DayInfoItem
|
||||
{
|
||||
std::string meetingNum;
|
||||
std::string meetingLength;
|
||||
std::string day;
|
||||
std::string memberNum;
|
||||
};
|
||||
std::vector<DayInfoItem> dayInfo;
|
||||
Total total;
|
||||
};
|
||||
|
||||
|
||||
QueryStatisticsResult();
|
||||
explicit QueryStatisticsResult(const std::string &payload);
|
||||
~QueryStatisticsResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYSTATISTICSRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserBuyAttributeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryUserBuyAttributeRequest();
|
||||
~QueryUserBuyAttributeRequest();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTEREQUEST_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_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserBuyAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
QueryUserBuyAttributeResult();
|
||||
explicit QueryUserBuyAttributeResult(const std::string &payload);
|
||||
~QueryUserBuyAttributeResult();
|
||||
std::string getMessage()const;
|
||||
bool getUserBuyAttribute()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
bool userBuyAttribute_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTERESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserEvaluationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryUserEvaluationRequest();
|
||||
~QueryUserEvaluationRequest();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONREQUEST_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_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserEvaluationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
QueryUserEvaluationResult();
|
||||
explicit QueryUserEvaluationResult(const std::string &payload);
|
||||
~QueryUserEvaluationResult();
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
std::string getUserEvaluation()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int errorCode_;
|
||||
std::string userEvaluation_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONRESULT_H_
|
||||
@@ -14,38 +14,32 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SAS_MODEL_MODIFYAUTODELCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_SAS_MODEL_MODIFYAUTODELCONFIGREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/sas/SasExport.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Sas
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SAS_EXPORT ModifyAutoDelConfigRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyAutoDelConfigRequest();
|
||||
~ModifyAutoDelConfigRequest();
|
||||
QueryUserInfoRequest();
|
||||
~QueryUserInfoRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
int getDays()const;
|
||||
void setDays(int days);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
int days_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SAS_MODEL_MODIFYAUTODELCONFIGREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFOREQUEST_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_ALIYUNCVC_MODEL_QUERYUSERINFORESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct UserInfo
|
||||
{
|
||||
int maxNum;
|
||||
int memberConcurrentMax;
|
||||
int curNum;
|
||||
};
|
||||
|
||||
|
||||
QueryUserInfoResult();
|
||||
explicit QueryUserInfoResult(const std::string &payload);
|
||||
~QueryUserInfoResult();
|
||||
std::string getMessage()const;
|
||||
UserInfo getUserInfo()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
UserInfo userInfo_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFORESULT_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_ALIYUNCVC_MODEL_QUERYUSERLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryUserListRequest();
|
||||
~QueryUserListRequest();
|
||||
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageNum_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTREQUEST_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_ALIYUNCVC_MODEL_QUERYUSERLISTRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct UserInfo
|
||||
{
|
||||
std::string groupName;
|
||||
std::string userMobile;
|
||||
std::string userName;
|
||||
std::string userTel;
|
||||
long createTime;
|
||||
std::string userAvatarUrl;
|
||||
std::string groupName1;
|
||||
std::string userEmail;
|
||||
std::string departName;
|
||||
std::string groupId;
|
||||
std::string departId;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<UserInfo> userInfos;
|
||||
};
|
||||
|
||||
|
||||
QueryUserListResult();
|
||||
explicit QueryUserListResult(const std::string &payload);
|
||||
~QueryUserListResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTRESULT_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_ALIYUNCVC_MODEL_REMOVEMEETINGREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT RemoveMeetingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RemoveMeetingRequest();
|
||||
~RemoveMeetingRequest();
|
||||
|
||||
std::string getMeetingUUID()const;
|
||||
void setMeetingUUID(const std::string& meetingUUID);
|
||||
|
||||
private:
|
||||
std::string meetingUUID_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGREQUEST_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_ALIYUNCVC_MODEL_REMOVEMEETINGRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT RemoveMeetingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RemoveMeetingResult();
|
||||
explicit RemoveMeetingResult(const std::string &payload);
|
||||
~RemoveMeetingResult();
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGRESULT_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_ALIYUNCVC_MODEL_UPDATEGONGGELAYOUTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEGONGGELAYOUTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT UpdateGonggeLayoutRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateGonggeLayoutRequest();
|
||||
~UpdateGonggeLayoutRequest();
|
||||
|
||||
std::string getMeetingUUID()const;
|
||||
void setMeetingUUID(const std::string& meetingUUID);
|
||||
std::string getVideoCount()const;
|
||||
void setVideoCount(const std::string& videoCount);
|
||||
std::string getValue()const;
|
||||
void setValue(const std::string& value);
|
||||
|
||||
private:
|
||||
std::string meetingUUID_;
|
||||
std::string videoCount_;
|
||||
std::string value_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEGONGGELAYOUTREQUEST_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_ALIYUNCVC_MODEL_UPDATEGONGGELAYOUTRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEGONGGELAYOUTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT UpdateGonggeLayoutResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateGonggeLayoutResult();
|
||||
explicit UpdateGonggeLayoutResult(const std::string &payload);
|
||||
~UpdateGonggeLayoutResult();
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEGONGGELAYOUTRESULT_H_
|
||||
@@ -123,6 +123,42 @@ AliyuncvcClient::ActiveMeetingOutcomeCallable AliyuncvcClient::activeMeetingCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::ActiveMeetingCodeOutcome AliyuncvcClient::activeMeetingCode(const ActiveMeetingCodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ActiveMeetingCodeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ActiveMeetingCodeOutcome(ActiveMeetingCodeResult(outcome.result()));
|
||||
else
|
||||
return ActiveMeetingCodeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::activeMeetingCodeAsync(const ActiveMeetingCodeRequest& request, const ActiveMeetingCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, activeMeetingCode(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::ActiveMeetingCodeOutcomeCallable AliyuncvcClient::activeMeetingCodeCallable(const ActiveMeetingCodeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ActiveMeetingCodeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->activeMeetingCode(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::BatchCreateDeviceOutcome AliyuncvcClient::batchCreateDevice(const BatchCreateDeviceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -159,6 +195,114 @@ AliyuncvcClient::BatchCreateDeviceOutcomeCallable AliyuncvcClient::batchCreateDe
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::BatchDeleteDevicesOutcome AliyuncvcClient::batchDeleteDevices(const BatchDeleteDevicesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return BatchDeleteDevicesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return BatchDeleteDevicesOutcome(BatchDeleteDevicesResult(outcome.result()));
|
||||
else
|
||||
return BatchDeleteDevicesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::batchDeleteDevicesAsync(const BatchDeleteDevicesRequest& request, const BatchDeleteDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, batchDeleteDevices(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::BatchDeleteDevicesOutcomeCallable AliyuncvcClient::batchDeleteDevicesCallable(const BatchDeleteDevicesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<BatchDeleteDevicesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->batchDeleteDevices(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::CallDeviceOutcome AliyuncvcClient::callDevice(const CallDeviceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CallDeviceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CallDeviceOutcome(CallDeviceResult(outcome.result()));
|
||||
else
|
||||
return CallDeviceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::callDeviceAsync(const CallDeviceRequest& request, const CallDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, callDevice(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::CallDeviceOutcomeCallable AliyuncvcClient::callDeviceCallable(const CallDeviceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CallDeviceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->callDevice(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::CheckMeetingCodeOutcome AliyuncvcClient::checkMeetingCode(const CheckMeetingCodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CheckMeetingCodeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CheckMeetingCodeOutcome(CheckMeetingCodeResult(outcome.result()));
|
||||
else
|
||||
return CheckMeetingCodeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::checkMeetingCodeAsync(const CheckMeetingCodeRequest& request, const CheckMeetingCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, checkMeetingCode(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::CheckMeetingCodeOutcomeCallable AliyuncvcClient::checkMeetingCodeCallable(const CheckMeetingCodeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CheckMeetingCodeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->checkMeetingCode(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::CreateDeviceMeetingOutcome AliyuncvcClient::createDeviceMeeting(const CreateDeviceMeetingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -375,6 +519,42 @@ AliyuncvcClient::CreateUserOutcomeCallable AliyuncvcClient::createUserCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::CreateUserEvaluationsOutcome AliyuncvcClient::createUserEvaluations(const CreateUserEvaluationsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateUserEvaluationsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateUserEvaluationsOutcome(CreateUserEvaluationsResult(outcome.result()));
|
||||
else
|
||||
return CreateUserEvaluationsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::createUserEvaluationsAsync(const CreateUserEvaluationsRequest& request, const CreateUserEvaluationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createUserEvaluations(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::CreateUserEvaluationsOutcomeCallable AliyuncvcClient::createUserEvaluationsCallable(const CreateUserEvaluationsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateUserEvaluationsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createUserEvaluations(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::CreateUserInternationalOutcome AliyuncvcClient::createUserInternational(const CreateUserInternationalRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -807,6 +987,42 @@ AliyuncvcClient::GetMeetingMemberOutcomeCallable AliyuncvcClient::getMeetingMemb
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetMembersOutcome AliyuncvcClient::getMembers(const GetMembersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetMembersOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetMembersOutcome(GetMembersResult(outcome.result()));
|
||||
else
|
||||
return GetMembersOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::getMembersAsync(const GetMembersRequest& request, const GetMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getMembers(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetMembersOutcomeCallable AliyuncvcClient::getMembersCallable(const GetMembersRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetMembersOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getMembers(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetUserOutcome AliyuncvcClient::getUser(const GetUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -987,6 +1203,42 @@ AliyuncvcClient::JoinMeetingInternationalOutcomeCallable AliyuncvcClient::joinMe
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::ListCommoditiesOutcome AliyuncvcClient::listCommodities(const ListCommoditiesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListCommoditiesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListCommoditiesOutcome(ListCommoditiesResult(outcome.result()));
|
||||
else
|
||||
return ListCommoditiesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::listCommoditiesAsync(const ListCommoditiesRequest& request, const ListCommoditiesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listCommodities(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::ListCommoditiesOutcomeCallable AliyuncvcClient::listCommoditiesCallable(const ListCommoditiesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListCommoditiesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listCommodities(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::ListDeviceIpOutcome AliyuncvcClient::listDeviceIp(const ListDeviceIpRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1023,6 +1275,42 @@ AliyuncvcClient::ListDeviceIpOutcomeCallable AliyuncvcClient::listDeviceIpCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::ListDevicesOutcome AliyuncvcClient::listDevices(const ListDevicesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListDevicesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListDevicesOutcome(ListDevicesResult(outcome.result()));
|
||||
else
|
||||
return ListDevicesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::listDevicesAsync(const ListDevicesRequest& request, const ListDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listDevices(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::ListDevicesOutcomeCallable AliyuncvcClient::listDevicesCallable(const ListDevicesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListDevicesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listDevices(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::ListEvaluationsOutcome AliyuncvcClient::listEvaluations(const ListEvaluationsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1239,6 +1527,294 @@ AliyuncvcClient::ModifyMeetingPasswordInternationalOutcomeCallable AliyuncvcClie
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryIsvUserInfoOutcome AliyuncvcClient::queryIsvUserInfo(const QueryIsvUserInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryIsvUserInfoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryIsvUserInfoOutcome(QueryIsvUserInfoResult(outcome.result()));
|
||||
else
|
||||
return QueryIsvUserInfoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::queryIsvUserInfoAsync(const QueryIsvUserInfoRequest& request, const QueryIsvUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryIsvUserInfo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryIsvUserInfoOutcomeCallable AliyuncvcClient::queryIsvUserInfoCallable(const QueryIsvUserInfoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryIsvUserInfoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryIsvUserInfo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryMeetingInfoOutcome AliyuncvcClient::queryMeetingInfo(const QueryMeetingInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryMeetingInfoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryMeetingInfoOutcome(QueryMeetingInfoResult(outcome.result()));
|
||||
else
|
||||
return QueryMeetingInfoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::queryMeetingInfoAsync(const QueryMeetingInfoRequest& request, const QueryMeetingInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryMeetingInfo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryMeetingInfoOutcomeCallable AliyuncvcClient::queryMeetingInfoCallable(const QueryMeetingInfoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryMeetingInfoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryMeetingInfo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryMemberRecordOutcome AliyuncvcClient::queryMemberRecord(const QueryMemberRecordRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryMemberRecordOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryMemberRecordOutcome(QueryMemberRecordResult(outcome.result()));
|
||||
else
|
||||
return QueryMemberRecordOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::queryMemberRecordAsync(const QueryMemberRecordRequest& request, const QueryMemberRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryMemberRecord(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryMemberRecordOutcomeCallable AliyuncvcClient::queryMemberRecordCallable(const QueryMemberRecordRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryMemberRecordOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryMemberRecord(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryStatisticsOutcome AliyuncvcClient::queryStatistics(const QueryStatisticsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryStatisticsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryStatisticsOutcome(QueryStatisticsResult(outcome.result()));
|
||||
else
|
||||
return QueryStatisticsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::queryStatisticsAsync(const QueryStatisticsRequest& request, const QueryStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryStatistics(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryStatisticsOutcomeCallable AliyuncvcClient::queryStatisticsCallable(const QueryStatisticsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryStatisticsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryStatistics(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryUserBuyAttributeOutcome AliyuncvcClient::queryUserBuyAttribute(const QueryUserBuyAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryUserBuyAttributeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryUserBuyAttributeOutcome(QueryUserBuyAttributeResult(outcome.result()));
|
||||
else
|
||||
return QueryUserBuyAttributeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::queryUserBuyAttributeAsync(const QueryUserBuyAttributeRequest& request, const QueryUserBuyAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryUserBuyAttribute(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryUserBuyAttributeOutcomeCallable AliyuncvcClient::queryUserBuyAttributeCallable(const QueryUserBuyAttributeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryUserBuyAttributeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryUserBuyAttribute(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryUserEvaluationOutcome AliyuncvcClient::queryUserEvaluation(const QueryUserEvaluationRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryUserEvaluationOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryUserEvaluationOutcome(QueryUserEvaluationResult(outcome.result()));
|
||||
else
|
||||
return QueryUserEvaluationOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::queryUserEvaluationAsync(const QueryUserEvaluationRequest& request, const QueryUserEvaluationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryUserEvaluation(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryUserEvaluationOutcomeCallable AliyuncvcClient::queryUserEvaluationCallable(const QueryUserEvaluationRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryUserEvaluationOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryUserEvaluation(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryUserInfoOutcome AliyuncvcClient::queryUserInfo(const QueryUserInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryUserInfoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryUserInfoOutcome(QueryUserInfoResult(outcome.result()));
|
||||
else
|
||||
return QueryUserInfoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::queryUserInfoAsync(const QueryUserInfoRequest& request, const QueryUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryUserInfo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryUserInfoOutcomeCallable AliyuncvcClient::queryUserInfoCallable(const QueryUserInfoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryUserInfoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryUserInfo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryUserListOutcome AliyuncvcClient::queryUserList(const QueryUserListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryUserListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryUserListOutcome(QueryUserListResult(outcome.result()));
|
||||
else
|
||||
return QueryUserListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::queryUserListAsync(const QueryUserListRequest& request, const QueryUserListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryUserList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::QueryUserListOutcomeCallable AliyuncvcClient::queryUserListCallable(const QueryUserListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryUserListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryUserList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::RegisterDeviceOutcome AliyuncvcClient::registerDevice(const RegisterDeviceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1311,6 +1887,42 @@ AliyuncvcClient::RegisterUemDeviceOutcomeCallable AliyuncvcClient::registerUemDe
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::RemoveMeetingOutcome AliyuncvcClient::removeMeeting(const RemoveMeetingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RemoveMeetingOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RemoveMeetingOutcome(RemoveMeetingResult(outcome.result()));
|
||||
else
|
||||
return RemoveMeetingOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::removeMeetingAsync(const RemoveMeetingRequest& request, const RemoveMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, removeMeeting(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::RemoveMeetingOutcomeCallable AliyuncvcClient::removeMeetingCallable(const RemoveMeetingRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RemoveMeetingOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->removeMeeting(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::StartLiveOutcome AliyuncvcClient::startLive(const StartLiveRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1383,6 +1995,42 @@ AliyuncvcClient::UpdateDeviceHeartBeatOutcomeCallable AliyuncvcClient::updateDev
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::UpdateGonggeLayoutOutcome AliyuncvcClient::updateGonggeLayout(const UpdateGonggeLayoutRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateGonggeLayoutOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateGonggeLayoutOutcome(UpdateGonggeLayoutResult(outcome.result()));
|
||||
else
|
||||
return UpdateGonggeLayoutOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::updateGonggeLayoutAsync(const UpdateGonggeLayoutRequest& request, const UpdateGonggeLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateGonggeLayout(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::UpdateGonggeLayoutOutcomeCallable AliyuncvcClient::updateGonggeLayoutCallable(const UpdateGonggeLayoutRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateGonggeLayoutOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateGonggeLayout(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::UpdateLivePasswordOutcome AliyuncvcClient::updateLivePassword(const UpdateLivePasswordRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
51
aliyuncvc/src/model/ActiveMeetingCodeRequest.cc
Normal file
51
aliyuncvc/src/model/ActiveMeetingCodeRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/ActiveMeetingCodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::ActiveMeetingCodeRequest;
|
||||
|
||||
ActiveMeetingCodeRequest::ActiveMeetingCodeRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-09-19", "ActiveMeetingCode")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ActiveMeetingCodeRequest::~ActiveMeetingCodeRequest()
|
||||
{}
|
||||
|
||||
std::string ActiveMeetingCodeRequest::getMeetingUUID()const
|
||||
{
|
||||
return meetingUUID_;
|
||||
}
|
||||
|
||||
void ActiveMeetingCodeRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
{
|
||||
meetingUUID_ = meetingUUID;
|
||||
setParameter("MeetingUUID", meetingUUID);
|
||||
}
|
||||
|
||||
std::string ActiveMeetingCodeRequest::getMeetingCode()const
|
||||
{
|
||||
return meetingCode_;
|
||||
}
|
||||
|
||||
void ActiveMeetingCodeRequest::setMeetingCode(const std::string& meetingCode)
|
||||
{
|
||||
meetingCode_ = meetingCode;
|
||||
setParameter("MeetingCode", meetingCode);
|
||||
}
|
||||
|
||||
75
aliyuncvc/src/model/ActiveMeetingCodeResult.cc
Normal file
75
aliyuncvc/src/model/ActiveMeetingCodeResult.cc
Normal file
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/ActiveMeetingCodeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
ActiveMeetingCodeResult::ActiveMeetingCodeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ActiveMeetingCodeResult::ActiveMeetingCodeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ActiveMeetingCodeResult::~ActiveMeetingCodeResult()
|
||||
{}
|
||||
|
||||
void ActiveMeetingCodeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto meetingInfoNode = value["MeetingInfo"];
|
||||
if(!meetingInfoNode["ValidDate"].isNull())
|
||||
meetingInfo_.validDate = std::stol(meetingInfoNode["ValidDate"].asString());
|
||||
if(!meetingInfoNode["MeetingCode"].isNull())
|
||||
meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
ActiveMeetingCodeResult::MeetingInfo ActiveMeetingCodeResult::getMeetingInfo()const
|
||||
{
|
||||
return meetingInfo_;
|
||||
}
|
||||
|
||||
std::string ActiveMeetingCodeResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int ActiveMeetingCodeResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool ActiveMeetingCodeResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
51
aliyuncvc/src/model/BatchDeleteDevicesRequest.cc
Normal file
51
aliyuncvc/src/model/BatchDeleteDevicesRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/BatchDeleteDevicesRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::BatchDeleteDevicesRequest;
|
||||
|
||||
BatchDeleteDevicesRequest::BatchDeleteDevicesRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2020-03-30", "BatchDeleteDevices")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
BatchDeleteDevicesRequest::~BatchDeleteDevicesRequest()
|
||||
{}
|
||||
|
||||
std::string BatchDeleteDevicesRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void BatchDeleteDevicesRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setBodyParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
std::string BatchDeleteDevicesRequest::getSN()const
|
||||
{
|
||||
return sN_;
|
||||
}
|
||||
|
||||
void BatchDeleteDevicesRequest::setSN(const std::string& sN)
|
||||
{
|
||||
sN_ = sN;
|
||||
setBodyParameter("SN", sN);
|
||||
}
|
||||
|
||||
65
aliyuncvc/src/model/BatchDeleteDevicesResult.cc
Normal file
65
aliyuncvc/src/model/BatchDeleteDevicesResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/BatchDeleteDevicesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
BatchDeleteDevicesResult::BatchDeleteDevicesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
BatchDeleteDevicesResult::BatchDeleteDevicesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
BatchDeleteDevicesResult::~BatchDeleteDevicesResult()
|
||||
{}
|
||||
|
||||
void BatchDeleteDevicesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string BatchDeleteDevicesResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int BatchDeleteDevicesResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool BatchDeleteDevicesResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user