Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8617b6ffe5 | ||
|
|
5d8e86e1a6 | ||
|
|
f613ffa984 | ||
|
|
a6b0e4e963 | ||
|
|
2e6be9d7ed | ||
|
|
920e72f912 | ||
|
|
bd94cb0b25 | ||
|
|
cfd8b7cb85 | ||
|
|
c74e24f508 |
37
CHANGELOG
37
CHANGELOG
@@ -1,3 +1,40 @@
|
||||
2021-05-22 Version: 1.36.751
|
||||
- Aaaaa.
|
||||
|
||||
2021-05-21 Version: 1.36.750
|
||||
- Supported DescribeLoadBalancers with DeleteProtection and so on.
|
||||
|
||||
2021-05-21 Version: 1.36.749
|
||||
- Support StrictResourceProvision in ApplyNodes.
|
||||
|
||||
2021-05-20 Version: 1.36.748
|
||||
- Upgrade mongodb sdk.
|
||||
|
||||
2021-05-20 Version: 1.36.747
|
||||
- DescribeAvailableResource frequency.
|
||||
|
||||
2021-05-19 Version: 1.36.746
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
2021-05-19 Version: 1.36.745
|
||||
- Update API.
|
||||
|
||||
2021-05-19 Version: 1.36.744
|
||||
- Publish multi language sdk.
|
||||
|
||||
2021-05-18 Version: 1.36.743
|
||||
- Add IoT Studio SetStudioProjectCooperation API.
|
||||
- Add IoT Studio QueryStudioProjectList API.
|
||||
- Add IoT Studio QueryStudioAppList API.
|
||||
- Add IoT Studio QueryStudioAppPageListOpen API.
|
||||
- Add IoT Studio QueryStudioAppDomainListOpen API.
|
||||
- Add IoT Studio DeleteStudioAppDomainOpen API.
|
||||
- Add IoT Studio CreateStudioAppDomainOpen API.
|
||||
- Add IoT Studio GetStudioAppTokenOpen API.
|
||||
- Add IoT Studio SetupStudioAppAuthModeOpen API.
|
||||
- Add IoT Studio RefreshStudioAppTokenOpen API.
|
||||
- Add IoT Studio PublishStudioApp API.
|
||||
|
||||
2021-05-18 Version: 1.36.742
|
||||
- Support MinCount for AddNodes.
|
||||
- Support HostNamePreffix and HostNameSuffix for ListNodes.
|
||||
|
||||
@@ -29,18 +29,34 @@ set(address-purification_public_header_model
|
||||
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/ExtractExpressRequest.h
|
||||
include/alibabacloud/address-purification/model/ExtractExpressResult.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/GetAddressBlockMappingRequest.h
|
||||
include/alibabacloud/address-purification/model/GetAddressBlockMappingResult.h
|
||||
include/alibabacloud/address-purification/model/GetAddressDivisionCodeRequest.h
|
||||
include/alibabacloud/address-purification/model/GetAddressDivisionCodeResult.h
|
||||
include/alibabacloud/address-purification/model/GetAddressEvaluateRequest.h
|
||||
include/alibabacloud/address-purification/model/GetAddressEvaluateResult.h
|
||||
include/alibabacloud/address-purification/model/GetAddressGeocodeRequest.h
|
||||
include/alibabacloud/address-purification/model/GetAddressGeocodeResult.h
|
||||
include/alibabacloud/address-purification/model/GetAddressSearchRequest.h
|
||||
include/alibabacloud/address-purification/model/GetAddressSearchResult.h
|
||||
include/alibabacloud/address-purification/model/GetAddressSimilarityRequest.h
|
||||
include/alibabacloud/address-purification/model/GetAddressSimilarityResult.h
|
||||
include/alibabacloud/address-purification/model/GetInputSearchRequest.h
|
||||
include/alibabacloud/address-purification/model/GetInputSearchResult.h
|
||||
include/alibabacloud/address-purification/model/GetZipcodeRequest.h
|
||||
include/alibabacloud/address-purification/model/GetZipcodeResult.h
|
||||
include/alibabacloud/address-purification/model/PredictPOIRequest.h
|
||||
include/alibabacloud/address-purification/model/PredictPOIResult.h
|
||||
include/alibabacloud/address-purification/model/StructureAddressRequest.h
|
||||
include/alibabacloud/address-purification/model/StructureAddressResult.h
|
||||
include/alibabacloud/address-purification/model/TransferCoordRequest.h
|
||||
include/alibabacloud/address-purification/model/TransferCoordResult.h
|
||||
include/alibabacloud/address-purification/model/UpdateProjectRequest.h
|
||||
include/alibabacloud/address-purification/model/UpdateProjectResult.h )
|
||||
|
||||
@@ -54,18 +70,34 @@ set(address-purification_src
|
||||
src/model/CorrectAddressResult.cc
|
||||
src/model/ExtractAddressRequest.cc
|
||||
src/model/ExtractAddressResult.cc
|
||||
src/model/ExtractExpressRequest.cc
|
||||
src/model/ExtractExpressResult.cc
|
||||
src/model/ExtractNameRequest.cc
|
||||
src/model/ExtractNameResult.cc
|
||||
src/model/ExtractPhoneRequest.cc
|
||||
src/model/ExtractPhoneResult.cc
|
||||
src/model/GetAddressBlockMappingRequest.cc
|
||||
src/model/GetAddressBlockMappingResult.cc
|
||||
src/model/GetAddressDivisionCodeRequest.cc
|
||||
src/model/GetAddressDivisionCodeResult.cc
|
||||
src/model/GetAddressEvaluateRequest.cc
|
||||
src/model/GetAddressEvaluateResult.cc
|
||||
src/model/GetAddressGeocodeRequest.cc
|
||||
src/model/GetAddressGeocodeResult.cc
|
||||
src/model/GetAddressSearchRequest.cc
|
||||
src/model/GetAddressSearchResult.cc
|
||||
src/model/GetAddressSimilarityRequest.cc
|
||||
src/model/GetAddressSimilarityResult.cc
|
||||
src/model/GetInputSearchRequest.cc
|
||||
src/model/GetInputSearchResult.cc
|
||||
src/model/GetZipcodeRequest.cc
|
||||
src/model/GetZipcodeResult.cc
|
||||
src/model/PredictPOIRequest.cc
|
||||
src/model/PredictPOIResult.cc
|
||||
src/model/StructureAddressRequest.cc
|
||||
src/model/StructureAddressResult.cc
|
||||
src/model/TransferCoordRequest.cc
|
||||
src/model/TransferCoordResult.cc
|
||||
src/model/UpdateProjectRequest.cc
|
||||
src/model/UpdateProjectResult.cc )
|
||||
|
||||
|
||||
@@ -30,18 +30,34 @@
|
||||
#include "model/CorrectAddressResult.h"
|
||||
#include "model/ExtractAddressRequest.h"
|
||||
#include "model/ExtractAddressResult.h"
|
||||
#include "model/ExtractExpressRequest.h"
|
||||
#include "model/ExtractExpressResult.h"
|
||||
#include "model/ExtractNameRequest.h"
|
||||
#include "model/ExtractNameResult.h"
|
||||
#include "model/ExtractPhoneRequest.h"
|
||||
#include "model/ExtractPhoneResult.h"
|
||||
#include "model/GetAddressBlockMappingRequest.h"
|
||||
#include "model/GetAddressBlockMappingResult.h"
|
||||
#include "model/GetAddressDivisionCodeRequest.h"
|
||||
#include "model/GetAddressDivisionCodeResult.h"
|
||||
#include "model/GetAddressEvaluateRequest.h"
|
||||
#include "model/GetAddressEvaluateResult.h"
|
||||
#include "model/GetAddressGeocodeRequest.h"
|
||||
#include "model/GetAddressGeocodeResult.h"
|
||||
#include "model/GetAddressSearchRequest.h"
|
||||
#include "model/GetAddressSearchResult.h"
|
||||
#include "model/GetAddressSimilarityRequest.h"
|
||||
#include "model/GetAddressSimilarityResult.h"
|
||||
#include "model/GetInputSearchRequest.h"
|
||||
#include "model/GetInputSearchResult.h"
|
||||
#include "model/GetZipcodeRequest.h"
|
||||
#include "model/GetZipcodeResult.h"
|
||||
#include "model/PredictPOIRequest.h"
|
||||
#include "model/PredictPOIResult.h"
|
||||
#include "model/StructureAddressRequest.h"
|
||||
#include "model/StructureAddressResult.h"
|
||||
#include "model/TransferCoordRequest.h"
|
||||
#include "model/TransferCoordResult.h"
|
||||
#include "model/UpdateProjectRequest.h"
|
||||
#include "model/UpdateProjectResult.h"
|
||||
|
||||
@@ -65,24 +81,48 @@ namespace AlibabaCloud
|
||||
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::ExtractExpressResult> ExtractExpressOutcome;
|
||||
typedef std::future<ExtractExpressOutcome> ExtractExpressOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::ExtractExpressRequest&, const ExtractExpressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExtractExpressAsyncHandler;
|
||||
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::GetAddressBlockMappingResult> GetAddressBlockMappingOutcome;
|
||||
typedef std::future<GetAddressBlockMappingOutcome> GetAddressBlockMappingOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::GetAddressBlockMappingRequest&, const GetAddressBlockMappingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAddressBlockMappingAsyncHandler;
|
||||
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::GetAddressEvaluateResult> GetAddressEvaluateOutcome;
|
||||
typedef std::future<GetAddressEvaluateOutcome> GetAddressEvaluateOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::GetAddressEvaluateRequest&, const GetAddressEvaluateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAddressEvaluateAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAddressGeocodeResult> GetAddressGeocodeOutcome;
|
||||
typedef std::future<GetAddressGeocodeOutcome> GetAddressGeocodeOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::GetAddressGeocodeRequest&, const GetAddressGeocodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAddressGeocodeAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAddressSearchResult> GetAddressSearchOutcome;
|
||||
typedef std::future<GetAddressSearchOutcome> GetAddressSearchOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::GetAddressSearchRequest&, const GetAddressSearchOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAddressSearchAsyncHandler;
|
||||
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::GetInputSearchResult> GetInputSearchOutcome;
|
||||
typedef std::future<GetInputSearchOutcome> GetInputSearchOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::GetInputSearchRequest&, const GetInputSearchOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInputSearchAsyncHandler;
|
||||
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::PredictPOIResult> PredictPOIOutcome;
|
||||
typedef std::future<PredictPOIOutcome> PredictPOIOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::PredictPOIRequest&, const PredictPOIOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PredictPOIAsyncHandler;
|
||||
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::TransferCoordResult> TransferCoordOutcome;
|
||||
typedef std::future<TransferCoordOutcome> TransferCoordOutcomeCallable;
|
||||
typedef std::function<void(const Address_purificationClient*, const Model::TransferCoordRequest&, const TransferCoordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TransferCoordAsyncHandler;
|
||||
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;
|
||||
@@ -103,24 +143,48 @@ namespace AlibabaCloud
|
||||
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;
|
||||
ExtractExpressOutcome extractExpress(const Model::ExtractExpressRequest &request)const;
|
||||
void extractExpressAsync(const Model::ExtractExpressRequest& request, const ExtractExpressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ExtractExpressOutcomeCallable extractExpressCallable(const Model::ExtractExpressRequest& 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;
|
||||
GetAddressBlockMappingOutcome getAddressBlockMapping(const Model::GetAddressBlockMappingRequest &request)const;
|
||||
void getAddressBlockMappingAsync(const Model::GetAddressBlockMappingRequest& request, const GetAddressBlockMappingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAddressBlockMappingOutcomeCallable getAddressBlockMappingCallable(const Model::GetAddressBlockMappingRequest& 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;
|
||||
GetAddressEvaluateOutcome getAddressEvaluate(const Model::GetAddressEvaluateRequest &request)const;
|
||||
void getAddressEvaluateAsync(const Model::GetAddressEvaluateRequest& request, const GetAddressEvaluateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAddressEvaluateOutcomeCallable getAddressEvaluateCallable(const Model::GetAddressEvaluateRequest& request) const;
|
||||
GetAddressGeocodeOutcome getAddressGeocode(const Model::GetAddressGeocodeRequest &request)const;
|
||||
void getAddressGeocodeAsync(const Model::GetAddressGeocodeRequest& request, const GetAddressGeocodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAddressGeocodeOutcomeCallable getAddressGeocodeCallable(const Model::GetAddressGeocodeRequest& request) const;
|
||||
GetAddressSearchOutcome getAddressSearch(const Model::GetAddressSearchRequest &request)const;
|
||||
void getAddressSearchAsync(const Model::GetAddressSearchRequest& request, const GetAddressSearchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAddressSearchOutcomeCallable getAddressSearchCallable(const Model::GetAddressSearchRequest& 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;
|
||||
GetInputSearchOutcome getInputSearch(const Model::GetInputSearchRequest &request)const;
|
||||
void getInputSearchAsync(const Model::GetInputSearchRequest& request, const GetInputSearchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetInputSearchOutcomeCallable getInputSearchCallable(const Model::GetInputSearchRequest& 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;
|
||||
PredictPOIOutcome predictPOI(const Model::PredictPOIRequest &request)const;
|
||||
void predictPOIAsync(const Model::PredictPOIRequest& request, const PredictPOIAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PredictPOIOutcomeCallable predictPOICallable(const Model::PredictPOIRequest& 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;
|
||||
TransferCoordOutcome transferCoord(const Model::TransferCoordRequest &request)const;
|
||||
void transferCoordAsync(const Model::TransferCoordRequest& request, const TransferCoordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TransferCoordOutcomeCallable transferCoordCallable(const Model::TransferCoordRequest& 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;
|
||||
|
||||
@@ -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_EXTRACTEXPRESSREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTEXPRESSREQUEST_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 ExtractExpressRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ExtractExpressRequest();
|
||||
~ExtractExpressRequest();
|
||||
|
||||
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_EXTRACTEXPRESSREQUEST_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_EXTRACTEXPRESSRESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTEXPRESSRESULT_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 ExtractExpressResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ExtractExpressResult();
|
||||
explicit ExtractExpressResult(const std::string &payload);
|
||||
~ExtractExpressResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_EXTRACTEXPRESSRESULT_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_GETADDRESSBLOCKMAPPINGREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSBLOCKMAPPINGREQUEST_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 GetAddressBlockMappingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetAddressBlockMappingRequest();
|
||||
~GetAddressBlockMappingRequest();
|
||||
|
||||
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_GETADDRESSBLOCKMAPPINGREQUEST_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_GETADDRESSBLOCKMAPPINGRESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSBLOCKMAPPINGRESULT_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 GetAddressBlockMappingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetAddressBlockMappingResult();
|
||||
explicit GetAddressBlockMappingResult(const std::string &payload);
|
||||
~GetAddressBlockMappingResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSBLOCKMAPPINGRESULT_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_GETADDRESSEVALUATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSEVALUATEREQUEST_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 GetAddressEvaluateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetAddressEvaluateRequest();
|
||||
~GetAddressEvaluateRequest();
|
||||
|
||||
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_GETADDRESSEVALUATEREQUEST_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_GETADDRESSEVALUATERESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSEVALUATERESULT_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 GetAddressEvaluateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetAddressEvaluateResult();
|
||||
explicit GetAddressEvaluateResult(const std::string &payload);
|
||||
~GetAddressEvaluateResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSEVALUATERESULT_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_GETADDRESSGEOCODEREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSGEOCODEREQUEST_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 GetAddressGeocodeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetAddressGeocodeRequest();
|
||||
~GetAddressGeocodeRequest();
|
||||
|
||||
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_GETADDRESSGEOCODEREQUEST_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_GETADDRESSGEOCODERESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSGEOCODERESULT_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 GetAddressGeocodeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetAddressGeocodeResult();
|
||||
explicit GetAddressGeocodeResult(const std::string &payload);
|
||||
~GetAddressGeocodeResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSGEOCODERESULT_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_GETADDRESSSEARCHREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSSEARCHREQUEST_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 GetAddressSearchRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetAddressSearchRequest();
|
||||
~GetAddressSearchRequest();
|
||||
|
||||
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_GETADDRESSSEARCHREQUEST_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_GETADDRESSSEARCHRESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSSEARCHRESULT_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 GetAddressSearchResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetAddressSearchResult();
|
||||
explicit GetAddressSearchResult(const std::string &payload);
|
||||
~GetAddressSearchResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETADDRESSSEARCHRESULT_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_GETINPUTSEARCHREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETINPUTSEARCHREQUEST_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 GetInputSearchRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetInputSearchRequest();
|
||||
~GetInputSearchRequest();
|
||||
|
||||
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_GETINPUTSEARCHREQUEST_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_GETINPUTSEARCHRESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETINPUTSEARCHRESULT_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 GetInputSearchResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetInputSearchResult();
|
||||
explicit GetInputSearchResult(const std::string &payload);
|
||||
~GetInputSearchResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_GETINPUTSEARCHRESULT_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_PREDICTPOIREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_PREDICTPOIREQUEST_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 PredictPOIRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PredictPOIRequest();
|
||||
~PredictPOIRequest();
|
||||
|
||||
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_PREDICTPOIREQUEST_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_PREDICTPOIRESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_PREDICTPOIRESULT_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 PredictPOIResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PredictPOIResult();
|
||||
explicit PredictPOIResult(const std::string &payload);
|
||||
~PredictPOIResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_PREDICTPOIRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_TRANSFERCOORDREQUEST_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_TRANSFERCOORDREQUEST_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 TransferCoordRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TransferCoordRequest();
|
||||
~TransferCoordRequest();
|
||||
|
||||
std::string getDefaultProvince()const;
|
||||
void setDefaultProvince(const std::string& defaultProvince);
|
||||
std::string getSrcCoord()const;
|
||||
void setSrcCoord(const std::string& srcCoord);
|
||||
std::string getDefaultCity()const;
|
||||
void setDefaultCity(const std::string& defaultCity);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getDefaultDistrict()const;
|
||||
void setDefaultDistrict(const std::string& defaultDistrict);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
|
||||
private:
|
||||
std::string defaultProvince_;
|
||||
std::string srcCoord_;
|
||||
std::string defaultCity_;
|
||||
std::string text_;
|
||||
std::string serviceCode_;
|
||||
std::string defaultDistrict_;
|
||||
std::string appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_TRANSFERCOORDREQUEST_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_TRANSFERCOORDRESULT_H_
|
||||
#define ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_TRANSFERCOORDRESULT_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 TransferCoordResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
TransferCoordResult();
|
||||
explicit TransferCoordResult(const std::string &payload);
|
||||
~TransferCoordResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADDRESS_PURIFICATION_MODEL_TRANSFERCOORDRESULT_H_
|
||||
@@ -195,6 +195,42 @@ Address_purificationClient::ExtractAddressOutcomeCallable Address_purificationCl
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::ExtractExpressOutcome Address_purificationClient::extractExpress(const ExtractExpressRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ExtractExpressOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ExtractExpressOutcome(ExtractExpressResult(outcome.result()));
|
||||
else
|
||||
return ExtractExpressOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::extractExpressAsync(const ExtractExpressRequest& request, const ExtractExpressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, extractExpress(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::ExtractExpressOutcomeCallable Address_purificationClient::extractExpressCallable(const ExtractExpressRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ExtractExpressOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->extractExpress(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::ExtractNameOutcome Address_purificationClient::extractName(const ExtractNameRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -267,6 +303,42 @@ Address_purificationClient::ExtractPhoneOutcomeCallable Address_purificationClie
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAddressBlockMappingOutcome Address_purificationClient::getAddressBlockMapping(const GetAddressBlockMappingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetAddressBlockMappingOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetAddressBlockMappingOutcome(GetAddressBlockMappingResult(outcome.result()));
|
||||
else
|
||||
return GetAddressBlockMappingOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::getAddressBlockMappingAsync(const GetAddressBlockMappingRequest& request, const GetAddressBlockMappingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getAddressBlockMapping(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAddressBlockMappingOutcomeCallable Address_purificationClient::getAddressBlockMappingCallable(const GetAddressBlockMappingRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetAddressBlockMappingOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getAddressBlockMapping(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAddressDivisionCodeOutcome Address_purificationClient::getAddressDivisionCode(const GetAddressDivisionCodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -303,6 +375,114 @@ Address_purificationClient::GetAddressDivisionCodeOutcomeCallable Address_purifi
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAddressEvaluateOutcome Address_purificationClient::getAddressEvaluate(const GetAddressEvaluateRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetAddressEvaluateOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetAddressEvaluateOutcome(GetAddressEvaluateResult(outcome.result()));
|
||||
else
|
||||
return GetAddressEvaluateOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::getAddressEvaluateAsync(const GetAddressEvaluateRequest& request, const GetAddressEvaluateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getAddressEvaluate(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAddressEvaluateOutcomeCallable Address_purificationClient::getAddressEvaluateCallable(const GetAddressEvaluateRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetAddressEvaluateOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getAddressEvaluate(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAddressGeocodeOutcome Address_purificationClient::getAddressGeocode(const GetAddressGeocodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetAddressGeocodeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetAddressGeocodeOutcome(GetAddressGeocodeResult(outcome.result()));
|
||||
else
|
||||
return GetAddressGeocodeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::getAddressGeocodeAsync(const GetAddressGeocodeRequest& request, const GetAddressGeocodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getAddressGeocode(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAddressGeocodeOutcomeCallable Address_purificationClient::getAddressGeocodeCallable(const GetAddressGeocodeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetAddressGeocodeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getAddressGeocode(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAddressSearchOutcome Address_purificationClient::getAddressSearch(const GetAddressSearchRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetAddressSearchOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetAddressSearchOutcome(GetAddressSearchResult(outcome.result()));
|
||||
else
|
||||
return GetAddressSearchOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::getAddressSearchAsync(const GetAddressSearchRequest& request, const GetAddressSearchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getAddressSearch(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAddressSearchOutcomeCallable Address_purificationClient::getAddressSearchCallable(const GetAddressSearchRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetAddressSearchOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getAddressSearch(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::GetAddressSimilarityOutcome Address_purificationClient::getAddressSimilarity(const GetAddressSimilarityRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -339,6 +519,42 @@ Address_purificationClient::GetAddressSimilarityOutcomeCallable Address_purifica
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::GetInputSearchOutcome Address_purificationClient::getInputSearch(const GetInputSearchRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetInputSearchOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetInputSearchOutcome(GetInputSearchResult(outcome.result()));
|
||||
else
|
||||
return GetInputSearchOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::getInputSearchAsync(const GetInputSearchRequest& request, const GetInputSearchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getInputSearch(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::GetInputSearchOutcomeCallable Address_purificationClient::getInputSearchCallable(const GetInputSearchRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetInputSearchOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getInputSearch(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::GetZipcodeOutcome Address_purificationClient::getZipcode(const GetZipcodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -375,6 +591,42 @@ Address_purificationClient::GetZipcodeOutcomeCallable Address_purificationClient
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::PredictPOIOutcome Address_purificationClient::predictPOI(const PredictPOIRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return PredictPOIOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return PredictPOIOutcome(PredictPOIResult(outcome.result()));
|
||||
else
|
||||
return PredictPOIOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::predictPOIAsync(const PredictPOIRequest& request, const PredictPOIAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, predictPOI(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::PredictPOIOutcomeCallable Address_purificationClient::predictPOICallable(const PredictPOIRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<PredictPOIOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->predictPOI(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::StructureAddressOutcome Address_purificationClient::structureAddress(const StructureAddressRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -411,6 +663,42 @@ Address_purificationClient::StructureAddressOutcomeCallable Address_purification
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::TransferCoordOutcome Address_purificationClient::transferCoord(const TransferCoordRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TransferCoordOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TransferCoordOutcome(TransferCoordResult(outcome.result()));
|
||||
else
|
||||
return TransferCoordOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Address_purificationClient::transferCoordAsync(const TransferCoordRequest& request, const TransferCoordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, transferCoord(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Address_purificationClient::TransferCoordOutcomeCallable Address_purificationClient::transferCoordCallable(const TransferCoordRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TransferCoordOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->transferCoord(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Address_purificationClient::UpdateProjectOutcome Address_purificationClient::updateProject(const UpdateProjectRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
95
address-purification/src/model/ExtractExpressRequest.cc
Normal file
95
address-purification/src/model/ExtractExpressRequest.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/ExtractExpressRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::ExtractExpressRequest;
|
||||
|
||||
ExtractExpressRequest::ExtractExpressRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "ExtractExpress")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ExtractExpressRequest::~ExtractExpressRequest()
|
||||
{}
|
||||
|
||||
std::string ExtractExpressRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void ExtractExpressRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string ExtractExpressRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void ExtractExpressRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string ExtractExpressRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void ExtractExpressRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string ExtractExpressRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void ExtractExpressRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string ExtractExpressRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void ExtractExpressRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string ExtractExpressRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void ExtractExpressRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
51
address-purification/src/model/ExtractExpressResult.cc
Normal file
51
address-purification/src/model/ExtractExpressResult.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/ExtractExpressResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
ExtractExpressResult::ExtractExpressResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ExtractExpressResult::ExtractExpressResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ExtractExpressResult::~ExtractExpressResult()
|
||||
{}
|
||||
|
||||
void ExtractExpressResult::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 ExtractExpressResult::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/GetAddressBlockMappingRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::GetAddressBlockMappingRequest;
|
||||
|
||||
GetAddressBlockMappingRequest::GetAddressBlockMappingRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "GetAddressBlockMapping")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAddressBlockMappingRequest::~GetAddressBlockMappingRequest()
|
||||
{}
|
||||
|
||||
std::string GetAddressBlockMappingRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void GetAddressBlockMappingRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string GetAddressBlockMappingRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetAddressBlockMappingRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string GetAddressBlockMappingRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void GetAddressBlockMappingRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string GetAddressBlockMappingRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void GetAddressBlockMappingRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string GetAddressBlockMappingRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void GetAddressBlockMappingRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string GetAddressBlockMappingRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetAddressBlockMappingRequest::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/GetAddressBlockMappingResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
GetAddressBlockMappingResult::GetAddressBlockMappingResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetAddressBlockMappingResult::GetAddressBlockMappingResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetAddressBlockMappingResult::~GetAddressBlockMappingResult()
|
||||
{}
|
||||
|
||||
void GetAddressBlockMappingResult::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 GetAddressBlockMappingResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
95
address-purification/src/model/GetAddressEvaluateRequest.cc
Normal file
95
address-purification/src/model/GetAddressEvaluateRequest.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/GetAddressEvaluateRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::GetAddressEvaluateRequest;
|
||||
|
||||
GetAddressEvaluateRequest::GetAddressEvaluateRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "GetAddressEvaluate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAddressEvaluateRequest::~GetAddressEvaluateRequest()
|
||||
{}
|
||||
|
||||
std::string GetAddressEvaluateRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void GetAddressEvaluateRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string GetAddressEvaluateRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetAddressEvaluateRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string GetAddressEvaluateRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void GetAddressEvaluateRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string GetAddressEvaluateRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void GetAddressEvaluateRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string GetAddressEvaluateRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void GetAddressEvaluateRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string GetAddressEvaluateRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetAddressEvaluateRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
51
address-purification/src/model/GetAddressEvaluateResult.cc
Normal file
51
address-purification/src/model/GetAddressEvaluateResult.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/GetAddressEvaluateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
GetAddressEvaluateResult::GetAddressEvaluateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetAddressEvaluateResult::GetAddressEvaluateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetAddressEvaluateResult::~GetAddressEvaluateResult()
|
||||
{}
|
||||
|
||||
void GetAddressEvaluateResult::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 GetAddressEvaluateResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
95
address-purification/src/model/GetAddressGeocodeRequest.cc
Normal file
95
address-purification/src/model/GetAddressGeocodeRequest.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/GetAddressGeocodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::GetAddressGeocodeRequest;
|
||||
|
||||
GetAddressGeocodeRequest::GetAddressGeocodeRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "GetAddressGeocode")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAddressGeocodeRequest::~GetAddressGeocodeRequest()
|
||||
{}
|
||||
|
||||
std::string GetAddressGeocodeRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void GetAddressGeocodeRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string GetAddressGeocodeRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetAddressGeocodeRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string GetAddressGeocodeRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void GetAddressGeocodeRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string GetAddressGeocodeRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void GetAddressGeocodeRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string GetAddressGeocodeRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void GetAddressGeocodeRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string GetAddressGeocodeRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetAddressGeocodeRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
51
address-purification/src/model/GetAddressGeocodeResult.cc
Normal file
51
address-purification/src/model/GetAddressGeocodeResult.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/GetAddressGeocodeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
GetAddressGeocodeResult::GetAddressGeocodeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetAddressGeocodeResult::GetAddressGeocodeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetAddressGeocodeResult::~GetAddressGeocodeResult()
|
||||
{}
|
||||
|
||||
void GetAddressGeocodeResult::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 GetAddressGeocodeResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
95
address-purification/src/model/GetAddressSearchRequest.cc
Normal file
95
address-purification/src/model/GetAddressSearchRequest.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/GetAddressSearchRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::GetAddressSearchRequest;
|
||||
|
||||
GetAddressSearchRequest::GetAddressSearchRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "GetAddressSearch")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAddressSearchRequest::~GetAddressSearchRequest()
|
||||
{}
|
||||
|
||||
std::string GetAddressSearchRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void GetAddressSearchRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string GetAddressSearchRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetAddressSearchRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string GetAddressSearchRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void GetAddressSearchRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string GetAddressSearchRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void GetAddressSearchRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string GetAddressSearchRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void GetAddressSearchRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string GetAddressSearchRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetAddressSearchRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
51
address-purification/src/model/GetAddressSearchResult.cc
Normal file
51
address-purification/src/model/GetAddressSearchResult.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/GetAddressSearchResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
GetAddressSearchResult::GetAddressSearchResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetAddressSearchResult::GetAddressSearchResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetAddressSearchResult::~GetAddressSearchResult()
|
||||
{}
|
||||
|
||||
void GetAddressSearchResult::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 GetAddressSearchResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
95
address-purification/src/model/GetInputSearchRequest.cc
Normal file
95
address-purification/src/model/GetInputSearchRequest.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/GetInputSearchRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::GetInputSearchRequest;
|
||||
|
||||
GetInputSearchRequest::GetInputSearchRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "GetInputSearch")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetInputSearchRequest::~GetInputSearchRequest()
|
||||
{}
|
||||
|
||||
std::string GetInputSearchRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void GetInputSearchRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string GetInputSearchRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetInputSearchRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string GetInputSearchRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void GetInputSearchRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string GetInputSearchRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void GetInputSearchRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string GetInputSearchRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void GetInputSearchRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string GetInputSearchRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetInputSearchRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
51
address-purification/src/model/GetInputSearchResult.cc
Normal file
51
address-purification/src/model/GetInputSearchResult.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/GetInputSearchResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
GetInputSearchResult::GetInputSearchResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetInputSearchResult::GetInputSearchResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetInputSearchResult::~GetInputSearchResult()
|
||||
{}
|
||||
|
||||
void GetInputSearchResult::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 GetInputSearchResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
95
address-purification/src/model/PredictPOIRequest.cc
Normal file
95
address-purification/src/model/PredictPOIRequest.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/PredictPOIRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::PredictPOIRequest;
|
||||
|
||||
PredictPOIRequest::PredictPOIRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "PredictPOI")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
PredictPOIRequest::~PredictPOIRequest()
|
||||
{}
|
||||
|
||||
std::string PredictPOIRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void PredictPOIRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string PredictPOIRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void PredictPOIRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string PredictPOIRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void PredictPOIRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string PredictPOIRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void PredictPOIRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string PredictPOIRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void PredictPOIRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
std::string PredictPOIRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void PredictPOIRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
51
address-purification/src/model/PredictPOIResult.cc
Normal file
51
address-purification/src/model/PredictPOIResult.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/PredictPOIResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
PredictPOIResult::PredictPOIResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
PredictPOIResult::PredictPOIResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
PredictPOIResult::~PredictPOIResult()
|
||||
{}
|
||||
|
||||
void PredictPOIResult::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 PredictPOIResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
106
address-purification/src/model/TransferCoordRequest.cc
Normal file
106
address-purification/src/model/TransferCoordRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/TransferCoordRequest.h>
|
||||
|
||||
using AlibabaCloud::Address_purification::Model::TransferCoordRequest;
|
||||
|
||||
TransferCoordRequest::TransferCoordRequest() :
|
||||
RpcServiceRequest("address-purification", "2019-11-18", "TransferCoord")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TransferCoordRequest::~TransferCoordRequest()
|
||||
{}
|
||||
|
||||
std::string TransferCoordRequest::getDefaultProvince()const
|
||||
{
|
||||
return defaultProvince_;
|
||||
}
|
||||
|
||||
void TransferCoordRequest::setDefaultProvince(const std::string& defaultProvince)
|
||||
{
|
||||
defaultProvince_ = defaultProvince;
|
||||
setBodyParameter("DefaultProvince", defaultProvince);
|
||||
}
|
||||
|
||||
std::string TransferCoordRequest::getSrcCoord()const
|
||||
{
|
||||
return srcCoord_;
|
||||
}
|
||||
|
||||
void TransferCoordRequest::setSrcCoord(const std::string& srcCoord)
|
||||
{
|
||||
srcCoord_ = srcCoord;
|
||||
setBodyParameter("SrcCoord", srcCoord);
|
||||
}
|
||||
|
||||
std::string TransferCoordRequest::getDefaultCity()const
|
||||
{
|
||||
return defaultCity_;
|
||||
}
|
||||
|
||||
void TransferCoordRequest::setDefaultCity(const std::string& defaultCity)
|
||||
{
|
||||
defaultCity_ = defaultCity;
|
||||
setBodyParameter("DefaultCity", defaultCity);
|
||||
}
|
||||
|
||||
std::string TransferCoordRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void TransferCoordRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
std::string TransferCoordRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void TransferCoordRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string TransferCoordRequest::getDefaultDistrict()const
|
||||
{
|
||||
return defaultDistrict_;
|
||||
}
|
||||
|
||||
void TransferCoordRequest::setDefaultDistrict(const std::string& defaultDistrict)
|
||||
{
|
||||
defaultDistrict_ = defaultDistrict;
|
||||
setBodyParameter("DefaultDistrict", defaultDistrict);
|
||||
}
|
||||
|
||||
std::string TransferCoordRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void TransferCoordRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setBodyParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
51
address-purification/src/model/TransferCoordResult.cc
Normal file
51
address-purification/src/model/TransferCoordResult.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/TransferCoordResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Address_purification;
|
||||
using namespace AlibabaCloud::Address_purification::Model;
|
||||
|
||||
TransferCoordResult::TransferCoordResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TransferCoordResult::TransferCoordResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TransferCoordResult::~TransferCoordResult()
|
||||
{}
|
||||
|
||||
void TransferCoordResult::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 TransferCoordResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -395,6 +395,10 @@ set(dataworks-public_public_header_model
|
||||
include/alibabacloud/dataworks-public/model/UpdateMetaTableResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateMetaTableIntroWikiRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateMetaTableIntroWikiResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateNodeOwnerRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateNodeOwnerResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateNodeRunModeRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateNodeRunModeResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateQualityFollowerRequest.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateQualityFollowerResult.h
|
||||
include/alibabacloud/dataworks-public/model/UpdateQualityRuleRequest.h
|
||||
@@ -790,6 +794,10 @@ set(dataworks-public_src
|
||||
src/model/UpdateMetaTableResult.cc
|
||||
src/model/UpdateMetaTableIntroWikiRequest.cc
|
||||
src/model/UpdateMetaTableIntroWikiResult.cc
|
||||
src/model/UpdateNodeOwnerRequest.cc
|
||||
src/model/UpdateNodeOwnerResult.cc
|
||||
src/model/UpdateNodeRunModeRequest.cc
|
||||
src/model/UpdateNodeRunModeResult.cc
|
||||
src/model/UpdateQualityFollowerRequest.cc
|
||||
src/model/UpdateQualityFollowerResult.cc
|
||||
src/model/UpdateQualityRuleRequest.cc
|
||||
|
||||
@@ -396,6 +396,10 @@
|
||||
#include "model/UpdateMetaTableResult.h"
|
||||
#include "model/UpdateMetaTableIntroWikiRequest.h"
|
||||
#include "model/UpdateMetaTableIntroWikiResult.h"
|
||||
#include "model/UpdateNodeOwnerRequest.h"
|
||||
#include "model/UpdateNodeOwnerResult.h"
|
||||
#include "model/UpdateNodeRunModeRequest.h"
|
||||
#include "model/UpdateNodeRunModeResult.h"
|
||||
#include "model/UpdateQualityFollowerRequest.h"
|
||||
#include "model/UpdateQualityFollowerResult.h"
|
||||
#include "model/UpdateQualityRuleRequest.h"
|
||||
@@ -984,6 +988,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateMetaTableIntroWikiResult> UpdateMetaTableIntroWikiOutcome;
|
||||
typedef std::future<UpdateMetaTableIntroWikiOutcome> UpdateMetaTableIntroWikiOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::UpdateMetaTableIntroWikiRequest&, const UpdateMetaTableIntroWikiOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateMetaTableIntroWikiAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateNodeOwnerResult> UpdateNodeOwnerOutcome;
|
||||
typedef std::future<UpdateNodeOwnerOutcome> UpdateNodeOwnerOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::UpdateNodeOwnerRequest&, const UpdateNodeOwnerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateNodeOwnerAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateNodeRunModeResult> UpdateNodeRunModeOutcome;
|
||||
typedef std::future<UpdateNodeRunModeOutcome> UpdateNodeRunModeOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::UpdateNodeRunModeRequest&, const UpdateNodeRunModeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateNodeRunModeAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateQualityFollowerResult> UpdateQualityFollowerOutcome;
|
||||
typedef std::future<UpdateQualityFollowerOutcome> UpdateQualityFollowerOutcomeCallable;
|
||||
typedef std::function<void(const Dataworks_publicClient*, const Model::UpdateQualityFollowerRequest&, const UpdateQualityFollowerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateQualityFollowerAsyncHandler;
|
||||
@@ -1577,6 +1587,12 @@ namespace AlibabaCloud
|
||||
UpdateMetaTableIntroWikiOutcome updateMetaTableIntroWiki(const Model::UpdateMetaTableIntroWikiRequest &request)const;
|
||||
void updateMetaTableIntroWikiAsync(const Model::UpdateMetaTableIntroWikiRequest& request, const UpdateMetaTableIntroWikiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateMetaTableIntroWikiOutcomeCallable updateMetaTableIntroWikiCallable(const Model::UpdateMetaTableIntroWikiRequest& request) const;
|
||||
UpdateNodeOwnerOutcome updateNodeOwner(const Model::UpdateNodeOwnerRequest &request)const;
|
||||
void updateNodeOwnerAsync(const Model::UpdateNodeOwnerRequest& request, const UpdateNodeOwnerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateNodeOwnerOutcomeCallable updateNodeOwnerCallable(const Model::UpdateNodeOwnerRequest& request) const;
|
||||
UpdateNodeRunModeOutcome updateNodeRunMode(const Model::UpdateNodeRunModeRequest &request)const;
|
||||
void updateNodeRunModeAsync(const Model::UpdateNodeRunModeRequest& request, const UpdateNodeRunModeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateNodeRunModeOutcomeCallable updateNodeRunModeCallable(const Model::UpdateNodeRunModeRequest& request) const;
|
||||
UpdateQualityFollowerOutcome updateQualityFollower(const Model::UpdateQualityFollowerRequest &request)const;
|
||||
void updateQualityFollowerAsync(const Model::UpdateQualityFollowerRequest& request, const UpdateQualityFollowerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateQualityFollowerOutcomeCallable updateQualityFollowerCallable(const Model::UpdateQualityFollowerRequest& request) const;
|
||||
|
||||
@@ -81,6 +81,8 @@ namespace AlibabaCloud
|
||||
void setFileFolderPath(const std::string& fileFolderPath);
|
||||
std::string getFileDescription()const;
|
||||
void setFileDescription(const std::string& fileDescription);
|
||||
bool getAutoParsing()const;
|
||||
void setAutoParsing(bool autoParsing);
|
||||
|
||||
private:
|
||||
int fileType_;
|
||||
@@ -106,6 +108,7 @@ namespace AlibabaCloud
|
||||
std::string dependentType_;
|
||||
std::string fileFolderPath_;
|
||||
std::string fileDescription_;
|
||||
bool autoParsing_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -53,6 +53,7 @@ namespace AlibabaCloud
|
||||
long nodeId;
|
||||
int commitStatus;
|
||||
std::string deletedStatus;
|
||||
bool autoParsing;
|
||||
std::string fileFolderId;
|
||||
long bizId;
|
||||
long businessId;
|
||||
@@ -62,6 +63,7 @@ namespace AlibabaCloud
|
||||
struct NodeInputOutput
|
||||
{
|
||||
std::string input;
|
||||
std::string parseType;
|
||||
};
|
||||
struct NodeInputOutput1
|
||||
{
|
||||
|
||||
@@ -53,6 +53,7 @@ namespace AlibabaCloud
|
||||
long nodeId;
|
||||
int commitStatus;
|
||||
long fileId;
|
||||
bool autoParsing;
|
||||
std::string fileFolderId;
|
||||
long bizId;
|
||||
long businessId;
|
||||
|
||||
@@ -81,6 +81,8 @@ namespace AlibabaCloud
|
||||
void setFileFolderPath(const std::string& fileFolderPath);
|
||||
std::string getFileDescription()const;
|
||||
void setFileDescription(const std::string& fileDescription);
|
||||
bool getAutoParsing()const;
|
||||
void setAutoParsing(bool autoParsing);
|
||||
|
||||
private:
|
||||
std::string outputList_;
|
||||
@@ -106,6 +108,7 @@ namespace AlibabaCloud
|
||||
std::string dependentType_;
|
||||
std::string fileFolderPath_;
|
||||
std::string fileDescription_;
|
||||
bool autoParsing_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_DATAWORKS_PUBLIC_MODEL_UPDATENODEOWNERREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATENODEOWNERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateNodeOwnerRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateNodeOwnerRequest();
|
||||
~UpdateNodeOwnerRequest();
|
||||
|
||||
std::string getProjectEnv()const;
|
||||
void setProjectEnv(const std::string& projectEnv);
|
||||
long getNodeId()const;
|
||||
void setNodeId(long nodeId);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
|
||||
private:
|
||||
std::string projectEnv_;
|
||||
long nodeId_;
|
||||
std::string userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATENODEOWNERREQUEST_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_DATAWORKS_PUBLIC_MODEL_UPDATENODEOWNERRESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATENODEOWNERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateNodeOwnerResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateNodeOwnerResult();
|
||||
explicit UpdateNodeOwnerResult(const std::string &payload);
|
||||
~UpdateNodeOwnerResult();
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATENODEOWNERRESULT_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_DATAWORKS_PUBLIC_MODEL_UPDATENODERUNMODEREQUEST_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATENODERUNMODEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateNodeRunModeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateNodeRunModeRequest();
|
||||
~UpdateNodeRunModeRequest();
|
||||
|
||||
std::string getProjectEnv()const;
|
||||
void setProjectEnv(const std::string& projectEnv);
|
||||
int getSchedulerType()const;
|
||||
void setSchedulerType(int schedulerType);
|
||||
long getNodeId()const;
|
||||
void setNodeId(long nodeId);
|
||||
|
||||
private:
|
||||
std::string projectEnv_;
|
||||
int schedulerType_;
|
||||
long nodeId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATENODERUNMODEREQUEST_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_DATAWORKS_PUBLIC_MODEL_UPDATENODERUNMODERESULT_H_
|
||||
#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATENODERUNMODERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dataworks-public/Dataworks_publicExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dataworks_public
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateNodeRunModeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateNodeRunModeResult();
|
||||
explicit UpdateNodeRunModeResult(const std::string &payload);
|
||||
~UpdateNodeRunModeResult();
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATENODERUNMODERESULT_H_
|
||||
@@ -6783,6 +6783,78 @@ Dataworks_publicClient::UpdateMetaTableIntroWikiOutcomeCallable Dataworks_public
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::UpdateNodeOwnerOutcome Dataworks_publicClient::updateNodeOwner(const UpdateNodeOwnerRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateNodeOwnerOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateNodeOwnerOutcome(UpdateNodeOwnerResult(outcome.result()));
|
||||
else
|
||||
return UpdateNodeOwnerOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::updateNodeOwnerAsync(const UpdateNodeOwnerRequest& request, const UpdateNodeOwnerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateNodeOwner(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::UpdateNodeOwnerOutcomeCallable Dataworks_publicClient::updateNodeOwnerCallable(const UpdateNodeOwnerRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateNodeOwnerOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateNodeOwner(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::UpdateNodeRunModeOutcome Dataworks_publicClient::updateNodeRunMode(const UpdateNodeRunModeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateNodeRunModeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateNodeRunModeOutcome(UpdateNodeRunModeResult(outcome.result()));
|
||||
else
|
||||
return UpdateNodeRunModeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dataworks_publicClient::updateNodeRunModeAsync(const UpdateNodeRunModeRequest& request, const UpdateNodeRunModeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateNodeRunMode(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dataworks_publicClient::UpdateNodeRunModeOutcomeCallable Dataworks_publicClient::updateNodeRunModeCallable(const UpdateNodeRunModeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateNodeRunModeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateNodeRunMode(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dataworks_publicClient::UpdateQualityFollowerOutcome Dataworks_publicClient::updateQualityFollower(const UpdateQualityFollowerRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -280,3 +280,14 @@ void CreateFileRequest::setFileDescription(const std::string& fileDescription)
|
||||
setBodyParameter("FileDescription", fileDescription);
|
||||
}
|
||||
|
||||
bool CreateFileRequest::getAutoParsing()const
|
||||
{
|
||||
return autoParsing_;
|
||||
}
|
||||
|
||||
void CreateFileRequest::setAutoParsing(bool autoParsing)
|
||||
{
|
||||
autoParsing_ = autoParsing;
|
||||
setBodyParameter("AutoParsing", autoParsing ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -81,6 +81,8 @@ void GetFileResult::parse(const std::string &payload)
|
||||
data_.file.deletedStatus = fileNode["DeletedStatus"].asString();
|
||||
if(!fileNode["BusinessId"].isNull())
|
||||
data_.file.businessId = std::stol(fileNode["BusinessId"].asString());
|
||||
if(!fileNode["AutoParsing"].isNull())
|
||||
data_.file.autoParsing = fileNode["AutoParsing"].asString() == "true";
|
||||
auto nodeConfigurationNode = dataNode["NodeConfiguration"];
|
||||
if(!nodeConfigurationNode["AutoRerunTimes"].isNull())
|
||||
data_.nodeConfiguration.autoRerunTimes = std::stoi(nodeConfigurationNode["AutoRerunTimes"].asString());
|
||||
@@ -112,6 +114,8 @@ void GetFileResult::parse(const std::string &payload)
|
||||
Data::NodeConfiguration::NodeInputOutput nodeInputOutputObject;
|
||||
if(!nodeConfigurationNodeInputListNodeInputOutput["Input"].isNull())
|
||||
nodeInputOutputObject.input = nodeConfigurationNodeInputListNodeInputOutput["Input"].asString();
|
||||
if(!nodeConfigurationNodeInputListNodeInputOutput["ParseType"].isNull())
|
||||
nodeInputOutputObject.parseType = nodeConfigurationNodeInputListNodeInputOutput["ParseType"].asString();
|
||||
data_.nodeConfiguration.inputList.push_back(nodeInputOutputObject);
|
||||
}
|
||||
auto allOutputListNode = nodeConfigurationNode["OutputList"]["NodeInputOutput"];
|
||||
|
||||
@@ -90,6 +90,8 @@ void ListFilesResult::parse(const std::string &payload)
|
||||
fileObject.fileId = std::stol(dataNodeFilesFile["FileId"].asString());
|
||||
if(!dataNodeFilesFile["BusinessId"].isNull())
|
||||
fileObject.businessId = std::stol(dataNodeFilesFile["BusinessId"].asString());
|
||||
if(!dataNodeFilesFile["AutoParsing"].isNull())
|
||||
fileObject.autoParsing = dataNodeFilesFile["AutoParsing"].asString() == "true";
|
||||
data_.files.push_back(fileObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
|
||||
@@ -280,3 +280,14 @@ void UpdateFileRequest::setFileDescription(const std::string& fileDescription)
|
||||
setBodyParameter("FileDescription", fileDescription);
|
||||
}
|
||||
|
||||
bool UpdateFileRequest::getAutoParsing()const
|
||||
{
|
||||
return autoParsing_;
|
||||
}
|
||||
|
||||
void UpdateFileRequest::setAutoParsing(bool autoParsing)
|
||||
{
|
||||
autoParsing_ = autoParsing;
|
||||
setBodyParameter("AutoParsing", autoParsing ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
62
dataworks-public/src/model/UpdateNodeOwnerRequest.cc
Normal file
62
dataworks-public/src/model/UpdateNodeOwnerRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/UpdateNodeOwnerRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::UpdateNodeOwnerRequest;
|
||||
|
||||
UpdateNodeOwnerRequest::UpdateNodeOwnerRequest() :
|
||||
RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateNodeOwner")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateNodeOwnerRequest::~UpdateNodeOwnerRequest()
|
||||
{}
|
||||
|
||||
std::string UpdateNodeOwnerRequest::getProjectEnv()const
|
||||
{
|
||||
return projectEnv_;
|
||||
}
|
||||
|
||||
void UpdateNodeOwnerRequest::setProjectEnv(const std::string& projectEnv)
|
||||
{
|
||||
projectEnv_ = projectEnv;
|
||||
setBodyParameter("ProjectEnv", projectEnv);
|
||||
}
|
||||
|
||||
long UpdateNodeOwnerRequest::getNodeId()const
|
||||
{
|
||||
return nodeId_;
|
||||
}
|
||||
|
||||
void UpdateNodeOwnerRequest::setNodeId(long nodeId)
|
||||
{
|
||||
nodeId_ = nodeId;
|
||||
setBodyParameter("NodeId", std::to_string(nodeId));
|
||||
}
|
||||
|
||||
std::string UpdateNodeOwnerRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void UpdateNodeOwnerRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setBodyParameter("UserId", userId);
|
||||
}
|
||||
|
||||
51
dataworks-public/src/model/UpdateNodeOwnerResult.cc
Normal file
51
dataworks-public/src/model/UpdateNodeOwnerResult.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/dataworks-public/model/UpdateNodeOwnerResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
UpdateNodeOwnerResult::UpdateNodeOwnerResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateNodeOwnerResult::UpdateNodeOwnerResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateNodeOwnerResult::~UpdateNodeOwnerResult()
|
||||
{}
|
||||
|
||||
void UpdateNodeOwnerResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
bool UpdateNodeOwnerResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
62
dataworks-public/src/model/UpdateNodeRunModeRequest.cc
Normal file
62
dataworks-public/src/model/UpdateNodeRunModeRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dataworks-public/model/UpdateNodeRunModeRequest.h>
|
||||
|
||||
using AlibabaCloud::Dataworks_public::Model::UpdateNodeRunModeRequest;
|
||||
|
||||
UpdateNodeRunModeRequest::UpdateNodeRunModeRequest() :
|
||||
RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateNodeRunMode")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateNodeRunModeRequest::~UpdateNodeRunModeRequest()
|
||||
{}
|
||||
|
||||
std::string UpdateNodeRunModeRequest::getProjectEnv()const
|
||||
{
|
||||
return projectEnv_;
|
||||
}
|
||||
|
||||
void UpdateNodeRunModeRequest::setProjectEnv(const std::string& projectEnv)
|
||||
{
|
||||
projectEnv_ = projectEnv;
|
||||
setBodyParameter("ProjectEnv", projectEnv);
|
||||
}
|
||||
|
||||
int UpdateNodeRunModeRequest::getSchedulerType()const
|
||||
{
|
||||
return schedulerType_;
|
||||
}
|
||||
|
||||
void UpdateNodeRunModeRequest::setSchedulerType(int schedulerType)
|
||||
{
|
||||
schedulerType_ = schedulerType;
|
||||
setBodyParameter("SchedulerType", std::to_string(schedulerType));
|
||||
}
|
||||
|
||||
long UpdateNodeRunModeRequest::getNodeId()const
|
||||
{
|
||||
return nodeId_;
|
||||
}
|
||||
|
||||
void UpdateNodeRunModeRequest::setNodeId(long nodeId)
|
||||
{
|
||||
nodeId_ = nodeId;
|
||||
setBodyParameter("NodeId", std::to_string(nodeId));
|
||||
}
|
||||
|
||||
51
dataworks-public/src/model/UpdateNodeRunModeResult.cc
Normal file
51
dataworks-public/src/model/UpdateNodeRunModeResult.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/dataworks-public/model/UpdateNodeRunModeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dataworks_public;
|
||||
using namespace AlibabaCloud::Dataworks_public::Model;
|
||||
|
||||
UpdateNodeRunModeResult::UpdateNodeRunModeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateNodeRunModeResult::UpdateNodeRunModeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateNodeRunModeResult::~UpdateNodeRunModeResult()
|
||||
{}
|
||||
|
||||
void UpdateNodeRunModeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
bool UpdateNodeRunModeResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -81,6 +81,8 @@ namespace AlibabaCloud
|
||||
void setStorageEngine(const std::string& storageEngine);
|
||||
std::string getDatabaseNames()const;
|
||||
void setDatabaseNames(const std::string& databaseNames);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getEngine()const;
|
||||
void setEngine(const std::string& engine);
|
||||
std::string getRestoreTime()const;
|
||||
@@ -124,6 +126,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string storageEngine_;
|
||||
std::string databaseNames_;
|
||||
std::string regionId_;
|
||||
std::string engine_;
|
||||
std::string restoreTime_;
|
||||
std::string resourceOwnerAccount_;
|
||||
|
||||
@@ -65,6 +65,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getStorageEngine()const;
|
||||
void setStorageEngine(const std::string& storageEngine);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getEngine()const;
|
||||
@@ -112,6 +114,7 @@ namespace AlibabaCloud
|
||||
std::vector<ReplicaSet> replicaSet_;
|
||||
std::string accessKeyId_;
|
||||
std::string storageEngine_;
|
||||
std::string regionId_;
|
||||
std::string securityToken_;
|
||||
std::string engine_;
|
||||
std::string dBInstanceDescription_;
|
||||
|
||||
@@ -59,6 +59,8 @@ namespace AlibabaCloud
|
||||
void setExpired(const std::string& expired);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getEngine()const;
|
||||
void setEngine(const std::string& engine);
|
||||
int getPageSize()const;
|
||||
@@ -104,6 +106,7 @@ namespace AlibabaCloud
|
||||
std::string resourceGroupId_;
|
||||
std::string expired_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string engine_;
|
||||
int pageSize_;
|
||||
std::string dBInstanceId_;
|
||||
|
||||
@@ -34,6 +34,11 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct DBInstance
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
struct MongosAttribute
|
||||
{
|
||||
std::string nodeClass;
|
||||
@@ -45,19 +50,14 @@ namespace AlibabaCloud
|
||||
std::string nodeClass;
|
||||
std::string nodeDescription;
|
||||
int readonlyReplicas;
|
||||
std::string nodeId;
|
||||
int nodeStorage;
|
||||
};
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
std::string nodeId;
|
||||
};
|
||||
std::string engineVersion;
|
||||
std::string replicationFactor;
|
||||
std::string zoneId;
|
||||
std::string resourceGroupId;
|
||||
std::string dBInstanceStatus;
|
||||
std::string resourceGroupId;
|
||||
std::string zoneId;
|
||||
std::string replicationFactor;
|
||||
std::string dBInstanceClass;
|
||||
std::string destroyTime;
|
||||
std::vector<DBInstance::ShardAttribute> shardList;
|
||||
@@ -65,18 +65,18 @@ namespace AlibabaCloud
|
||||
std::string lockMode;
|
||||
std::vector<DBInstance::MongosAttribute> mongosList;
|
||||
std::string dBInstanceId;
|
||||
std::string networkType;
|
||||
std::string vpcAuthMode;
|
||||
std::string chargeType;
|
||||
int dBInstanceStorage;
|
||||
std::string vpcAuthMode;
|
||||
std::string networkType;
|
||||
std::string lastDowngradeTime;
|
||||
int dBInstanceStorage;
|
||||
std::string creationTime;
|
||||
std::string regionId;
|
||||
std::string expireTime;
|
||||
std::string kindCode;
|
||||
std::vector<DBInstance::Tag> tags;
|
||||
std::string engine;
|
||||
std::string dBInstanceDescription;
|
||||
std::string engine;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getEngine()const;
|
||||
void setEngine(const std::string& engine);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
@@ -57,6 +59,7 @@ namespace AlibabaCloud
|
||||
std::string engineVersion_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string engine_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -47,6 +47,8 @@ namespace AlibabaCloud
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getBusinessInfo()const;
|
||||
void setBusinessInfo(const std::string& businessInfo);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
@@ -71,6 +73,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string businessInfo_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -41,8 +41,6 @@ namespace AlibabaCloud
|
||||
void setClientToken(const std::string& clientToken);
|
||||
int getReadonlyReplicas()const;
|
||||
void setReadonlyReplicas(int readonlyReplicas);
|
||||
std::string getCouponNo()const;
|
||||
void setCouponNo(const std::string& couponNo);
|
||||
std::string getNodeClass()const;
|
||||
void setNodeClass(const std::string& nodeClass);
|
||||
std::string getAccessKeyId()const;
|
||||
@@ -53,12 +51,8 @@ namespace AlibabaCloud
|
||||
void setEffectiveTime(const std::string& effectiveTime);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getSwitchTime()const;
|
||||
void setSwitchTime(const std::string& switchTime);
|
||||
std::string getNodeId()const;
|
||||
void setNodeId(const std::string& nodeId);
|
||||
std::string getBusinessInfo()const;
|
||||
void setBusinessInfo(const std::string& businessInfo);
|
||||
bool getAutoPay()const;
|
||||
void setAutoPay(bool autoPay);
|
||||
std::string getFromApp()const;
|
||||
@@ -78,15 +72,12 @@ namespace AlibabaCloud
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
int readonlyReplicas_;
|
||||
std::string couponNo_;
|
||||
std::string nodeClass_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string effectiveTime_;
|
||||
std::string dBInstanceId_;
|
||||
std::string switchTime_;
|
||||
std::string nodeId_;
|
||||
std::string businessInfo_;
|
||||
bool autoPay_;
|
||||
std::string fromApp_;
|
||||
std::string resourceOwnerAccount_;
|
||||
|
||||
@@ -31,21 +31,21 @@ DdsClient::DdsClient(const Credentials &credentials, const ClientConfiguration &
|
||||
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, "Dds");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
DdsClient::DdsClient(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, "Dds");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
DdsClient::DdsClient(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, "Dds");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
DdsClient::~DdsClient()
|
||||
|
||||
@@ -280,6 +280,17 @@ void CreateDBInstanceRequest::setDatabaseNames(const std::string& databaseNames)
|
||||
setParameter("DatabaseNames", databaseNames);
|
||||
}
|
||||
|
||||
std::string CreateDBInstanceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateDBInstanceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateDBInstanceRequest::getEngine()const
|
||||
{
|
||||
return engine_;
|
||||
|
||||
@@ -110,6 +110,17 @@ void CreateShardingDBInstanceRequest::setStorageEngine(const std::string& storag
|
||||
setParameter("StorageEngine", storageEngine);
|
||||
}
|
||||
|
||||
std::string CreateShardingDBInstanceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateShardingDBInstanceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateShardingDBInstanceRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -126,6 +126,17 @@ void DescribeDBInstancesRequest::setSecurityToken(const std::string& securityTok
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeDBInstancesRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeDBInstancesRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeDBInstancesRequest::getEngine()const
|
||||
{
|
||||
return engine_;
|
||||
|
||||
@@ -43,48 +43,58 @@ void DescribeDBInstancesResult::parse(const std::string &payload)
|
||||
for (auto valueDBInstancesDBInstance : allDBInstancesNode)
|
||||
{
|
||||
DBInstance dBInstancesObject;
|
||||
if(!valueDBInstancesDBInstance["EngineVersion"].isNull())
|
||||
dBInstancesObject.engineVersion = valueDBInstancesDBInstance["EngineVersion"].asString();
|
||||
if(!valueDBInstancesDBInstance["ReplicationFactor"].isNull())
|
||||
dBInstancesObject.replicationFactor = valueDBInstancesDBInstance["ReplicationFactor"].asString();
|
||||
if(!valueDBInstancesDBInstance["ZoneId"].isNull())
|
||||
dBInstancesObject.zoneId = valueDBInstancesDBInstance["ZoneId"].asString();
|
||||
if(!valueDBInstancesDBInstance["ResourceGroupId"].isNull())
|
||||
dBInstancesObject.resourceGroupId = valueDBInstancesDBInstance["ResourceGroupId"].asString();
|
||||
if(!valueDBInstancesDBInstance["DBInstanceStatus"].isNull())
|
||||
dBInstancesObject.dBInstanceStatus = valueDBInstancesDBInstance["DBInstanceStatus"].asString();
|
||||
if(!valueDBInstancesDBInstance["DBInstanceClass"].isNull())
|
||||
dBInstancesObject.dBInstanceClass = valueDBInstancesDBInstance["DBInstanceClass"].asString();
|
||||
if(!valueDBInstancesDBInstance["DestroyTime"].isNull())
|
||||
dBInstancesObject.destroyTime = valueDBInstancesDBInstance["DestroyTime"].asString();
|
||||
if(!valueDBInstancesDBInstance["DBInstanceType"].isNull())
|
||||
dBInstancesObject.dBInstanceType = valueDBInstancesDBInstance["DBInstanceType"].asString();
|
||||
if(!valueDBInstancesDBInstance["LockMode"].isNull())
|
||||
dBInstancesObject.lockMode = valueDBInstancesDBInstance["LockMode"].asString();
|
||||
if(!valueDBInstancesDBInstance["DBInstanceId"].isNull())
|
||||
dBInstancesObject.dBInstanceId = valueDBInstancesDBInstance["DBInstanceId"].asString();
|
||||
if(!valueDBInstancesDBInstance["NetworkType"].isNull())
|
||||
dBInstancesObject.networkType = valueDBInstancesDBInstance["NetworkType"].asString();
|
||||
if(!valueDBInstancesDBInstance["VpcAuthMode"].isNull())
|
||||
dBInstancesObject.vpcAuthMode = valueDBInstancesDBInstance["VpcAuthMode"].asString();
|
||||
if(!valueDBInstancesDBInstance["ChargeType"].isNull())
|
||||
dBInstancesObject.chargeType = valueDBInstancesDBInstance["ChargeType"].asString();
|
||||
if(!valueDBInstancesDBInstance["DBInstanceStorage"].isNull())
|
||||
dBInstancesObject.dBInstanceStorage = std::stoi(valueDBInstancesDBInstance["DBInstanceStorage"].asString());
|
||||
if(!valueDBInstancesDBInstance["LastDowngradeTime"].isNull())
|
||||
dBInstancesObject.lastDowngradeTime = valueDBInstancesDBInstance["LastDowngradeTime"].asString();
|
||||
if(!valueDBInstancesDBInstance["CreationTime"].isNull())
|
||||
dBInstancesObject.creationTime = valueDBInstancesDBInstance["CreationTime"].asString();
|
||||
if(!valueDBInstancesDBInstance["RegionId"].isNull())
|
||||
dBInstancesObject.regionId = valueDBInstancesDBInstance["RegionId"].asString();
|
||||
if(!valueDBInstancesDBInstance["ExpireTime"].isNull())
|
||||
dBInstancesObject.expireTime = valueDBInstancesDBInstance["ExpireTime"].asString();
|
||||
if(!valueDBInstancesDBInstance["KindCode"].isNull())
|
||||
dBInstancesObject.kindCode = valueDBInstancesDBInstance["KindCode"].asString();
|
||||
if(!valueDBInstancesDBInstance["Engine"].isNull())
|
||||
dBInstancesObject.engine = valueDBInstancesDBInstance["Engine"].asString();
|
||||
if(!valueDBInstancesDBInstance["ChargeType"].isNull())
|
||||
dBInstancesObject.chargeType = valueDBInstancesDBInstance["ChargeType"].asString();
|
||||
if(!valueDBInstancesDBInstance["VpcAuthMode"].isNull())
|
||||
dBInstancesObject.vpcAuthMode = valueDBInstancesDBInstance["VpcAuthMode"].asString();
|
||||
if(!valueDBInstancesDBInstance["NetworkType"].isNull())
|
||||
dBInstancesObject.networkType = valueDBInstancesDBInstance["NetworkType"].asString();
|
||||
if(!valueDBInstancesDBInstance["LockMode"].isNull())
|
||||
dBInstancesObject.lockMode = valueDBInstancesDBInstance["LockMode"].asString();
|
||||
if(!valueDBInstancesDBInstance["EngineVersion"].isNull())
|
||||
dBInstancesObject.engineVersion = valueDBInstancesDBInstance["EngineVersion"].asString();
|
||||
if(!valueDBInstancesDBInstance["DBInstanceDescription"].isNull())
|
||||
dBInstancesObject.dBInstanceDescription = valueDBInstancesDBInstance["DBInstanceDescription"].asString();
|
||||
if(!valueDBInstancesDBInstance["ExpireTime"].isNull())
|
||||
dBInstancesObject.expireTime = valueDBInstancesDBInstance["ExpireTime"].asString();
|
||||
if(!valueDBInstancesDBInstance["DBInstanceType"].isNull())
|
||||
dBInstancesObject.dBInstanceType = valueDBInstancesDBInstance["DBInstanceType"].asString();
|
||||
if(!valueDBInstancesDBInstance["LastDowngradeTime"].isNull())
|
||||
dBInstancesObject.lastDowngradeTime = valueDBInstancesDBInstance["LastDowngradeTime"].asString();
|
||||
if(!valueDBInstancesDBInstance["DestroyTime"].isNull())
|
||||
dBInstancesObject.destroyTime = valueDBInstancesDBInstance["DestroyTime"].asString();
|
||||
if(!valueDBInstancesDBInstance["DBInstanceStatus"].isNull())
|
||||
dBInstancesObject.dBInstanceStatus = valueDBInstancesDBInstance["DBInstanceStatus"].asString();
|
||||
if(!valueDBInstancesDBInstance["RegionId"].isNull())
|
||||
dBInstancesObject.regionId = valueDBInstancesDBInstance["RegionId"].asString();
|
||||
if(!valueDBInstancesDBInstance["DBInstanceStorage"].isNull())
|
||||
dBInstancesObject.dBInstanceStorage = std::stoi(valueDBInstancesDBInstance["DBInstanceStorage"].asString());
|
||||
if(!valueDBInstancesDBInstance["ResourceGroupId"].isNull())
|
||||
dBInstancesObject.resourceGroupId = valueDBInstancesDBInstance["ResourceGroupId"].asString();
|
||||
if(!valueDBInstancesDBInstance["ZoneId"].isNull())
|
||||
dBInstancesObject.zoneId = valueDBInstancesDBInstance["ZoneId"].asString();
|
||||
if(!valueDBInstancesDBInstance["DBInstanceId"].isNull())
|
||||
dBInstancesObject.dBInstanceId = valueDBInstancesDBInstance["DBInstanceId"].asString();
|
||||
if(!valueDBInstancesDBInstance["DBInstanceClass"].isNull())
|
||||
dBInstancesObject.dBInstanceClass = valueDBInstancesDBInstance["DBInstanceClass"].asString();
|
||||
if(!valueDBInstancesDBInstance["Engine"].isNull())
|
||||
dBInstancesObject.engine = valueDBInstancesDBInstance["Engine"].asString();
|
||||
if(!valueDBInstancesDBInstance["ReplicationFactor"].isNull())
|
||||
dBInstancesObject.replicationFactor = valueDBInstancesDBInstance["ReplicationFactor"].asString();
|
||||
if(!valueDBInstancesDBInstance["KindCode"].isNull())
|
||||
dBInstancesObject.kindCode = valueDBInstancesDBInstance["KindCode"].asString();
|
||||
auto allTagsNode = valueDBInstancesDBInstance["Tags"]["Tag"];
|
||||
for (auto valueDBInstancesDBInstanceTagsTag : allTagsNode)
|
||||
{
|
||||
DBInstance::Tag tagsObject;
|
||||
if(!valueDBInstancesDBInstanceTagsTag["Key"].isNull())
|
||||
tagsObject.key = valueDBInstancesDBInstanceTagsTag["Key"].asString();
|
||||
if(!valueDBInstancesDBInstanceTagsTag["Value"].isNull())
|
||||
tagsObject.value = valueDBInstancesDBInstanceTagsTag["Value"].asString();
|
||||
dBInstancesObject.tags.push_back(tagsObject);
|
||||
}
|
||||
auto allMongosListNode = valueDBInstancesDBInstance["MongosList"]["MongosAttribute"];
|
||||
for (auto valueDBInstancesDBInstanceMongosListMongosAttribute : allMongosListNode)
|
||||
{
|
||||
@@ -105,24 +115,14 @@ void DescribeDBInstancesResult::parse(const std::string &payload)
|
||||
shardListObject.nodeClass = valueDBInstancesDBInstanceShardListShardAttribute["NodeClass"].asString();
|
||||
if(!valueDBInstancesDBInstanceShardListShardAttribute["NodeDescription"].isNull())
|
||||
shardListObject.nodeDescription = valueDBInstancesDBInstanceShardListShardAttribute["NodeDescription"].asString();
|
||||
if(!valueDBInstancesDBInstanceShardListShardAttribute["ReadonlyReplicas"].isNull())
|
||||
shardListObject.readonlyReplicas = std::stoi(valueDBInstancesDBInstanceShardListShardAttribute["ReadonlyReplicas"].asString());
|
||||
if(!valueDBInstancesDBInstanceShardListShardAttribute["NodeId"].isNull())
|
||||
shardListObject.nodeId = valueDBInstancesDBInstanceShardListShardAttribute["NodeId"].asString();
|
||||
if(!valueDBInstancesDBInstanceShardListShardAttribute["NodeStorage"].isNull())
|
||||
shardListObject.nodeStorage = std::stoi(valueDBInstancesDBInstanceShardListShardAttribute["NodeStorage"].asString());
|
||||
if(!valueDBInstancesDBInstanceShardListShardAttribute["NodeId"].isNull())
|
||||
shardListObject.nodeId = valueDBInstancesDBInstanceShardListShardAttribute["NodeId"].asString();
|
||||
if(!valueDBInstancesDBInstanceShardListShardAttribute["ReadonlyReplicas"].isNull())
|
||||
shardListObject.readonlyReplicas = std::stoi(valueDBInstancesDBInstanceShardListShardAttribute["ReadonlyReplicas"].asString());
|
||||
dBInstancesObject.shardList.push_back(shardListObject);
|
||||
}
|
||||
auto allTagsNode = valueDBInstancesDBInstance["Tags"]["Tag"];
|
||||
for (auto valueDBInstancesDBInstanceTagsTag : allTagsNode)
|
||||
{
|
||||
DBInstance::Tag tagsObject;
|
||||
if(!valueDBInstancesDBInstanceTagsTag["Value"].isNull())
|
||||
tagsObject.value = valueDBInstancesDBInstanceTagsTag["Value"].asString();
|
||||
if(!valueDBInstancesDBInstanceTagsTag["Key"].isNull())
|
||||
tagsObject.key = valueDBInstancesDBInstanceTagsTag["Key"].asString();
|
||||
dBInstancesObject.tags.push_back(tagsObject);
|
||||
}
|
||||
dBInstances_.push_back(dBInstancesObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
|
||||
@@ -71,6 +71,17 @@ void DescribeParameterTemplatesRequest::setSecurityToken(const std::string& secu
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeParameterTemplatesRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeParameterTemplatesRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeParameterTemplatesRequest::getEngine()const
|
||||
{
|
||||
return engine_;
|
||||
|
||||
@@ -43,6 +43,8 @@ void DescribeParameterTemplatesResult::parse(const std::string &payload)
|
||||
for (auto valueParametersTemplateRecord : allParametersNode)
|
||||
{
|
||||
TemplateRecord parametersObject;
|
||||
if(!valueParametersTemplateRecord["CheckingCode"].isNull())
|
||||
parametersObject.checkingCode = valueParametersTemplateRecord["CheckingCode"].asString();
|
||||
if(!valueParametersTemplateRecord["ParameterName"].isNull())
|
||||
parametersObject.parameterName = valueParametersTemplateRecord["ParameterName"].asString();
|
||||
if(!valueParametersTemplateRecord["ParameterValue"].isNull())
|
||||
@@ -51,18 +53,16 @@ void DescribeParameterTemplatesResult::parse(const std::string &payload)
|
||||
parametersObject.forceModify = valueParametersTemplateRecord["ForceModify"].asString() == "true";
|
||||
if(!valueParametersTemplateRecord["ForceRestart"].isNull())
|
||||
parametersObject.forceRestart = valueParametersTemplateRecord["ForceRestart"].asString() == "true";
|
||||
if(!valueParametersTemplateRecord["CheckingCode"].isNull())
|
||||
parametersObject.checkingCode = valueParametersTemplateRecord["CheckingCode"].asString();
|
||||
if(!valueParametersTemplateRecord["ParameterDescription"].isNull())
|
||||
parametersObject.parameterDescription = valueParametersTemplateRecord["ParameterDescription"].asString();
|
||||
parameters_.push_back(parametersObject);
|
||||
}
|
||||
if(!value["Engine"].isNull())
|
||||
engine_ = value["Engine"].asString();
|
||||
if(!value["EngineVersion"].isNull())
|
||||
engineVersion_ = value["EngineVersion"].asString();
|
||||
if(!value["ParameterCount"].isNull())
|
||||
parameterCount_ = value["ParameterCount"].asString();
|
||||
if(!value["EngineVersion"].isNull())
|
||||
engineVersion_ = value["EngineVersion"].asString();
|
||||
if(!value["Engine"].isNull())
|
||||
engine_ = value["Engine"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -93,6 +93,17 @@ void DescribePriceRequest::setSecurityToken(const std::string& securityToken)
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribePriceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribePriceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribePriceRequest::getBusinessInfo()const
|
||||
{
|
||||
return businessInfo_;
|
||||
|
||||
@@ -43,14 +43,14 @@ void DescribePriceResult::parse(const std::string &payload)
|
||||
for (auto valueSubOrdersSubOrder : allSubOrdersNode)
|
||||
{
|
||||
SubOrder subOrdersObject;
|
||||
if(!valueSubOrdersSubOrder["InstanceId"].isNull())
|
||||
subOrdersObject.instanceId = valueSubOrdersSubOrder["InstanceId"].asString();
|
||||
if(!valueSubOrdersSubOrder["TradeAmount"].isNull())
|
||||
subOrdersObject.tradeAmount = valueSubOrdersSubOrder["TradeAmount"].asString();
|
||||
if(!valueSubOrdersSubOrder["OriginalAmount"].isNull())
|
||||
subOrdersObject.originalAmount = valueSubOrdersSubOrder["OriginalAmount"].asString();
|
||||
if(!valueSubOrdersSubOrder["DiscountAmount"].isNull())
|
||||
subOrdersObject.discountAmount = valueSubOrdersSubOrder["DiscountAmount"].asString();
|
||||
if(!valueSubOrdersSubOrder["TradeAmount"].isNull())
|
||||
subOrdersObject.tradeAmount = valueSubOrdersSubOrder["TradeAmount"].asString();
|
||||
if(!valueSubOrdersSubOrder["InstanceId"].isNull())
|
||||
subOrdersObject.instanceId = valueSubOrdersSubOrder["InstanceId"].asString();
|
||||
auto allRuleIds = value["RuleIds"]["RuleId"];
|
||||
for (auto value : allRuleIds)
|
||||
subOrdersObject.ruleIds.push_back(value.asString());
|
||||
@@ -69,24 +69,24 @@ void DescribePriceResult::parse(const std::string &payload)
|
||||
rules_.push_back(rulesObject);
|
||||
}
|
||||
auto orderNode = value["Order"];
|
||||
if(!orderNode["Currency"].isNull())
|
||||
order_.currency = orderNode["Currency"].asString();
|
||||
if(!orderNode["TradeAmount"].isNull())
|
||||
order_.tradeAmount = orderNode["TradeAmount"].asString();
|
||||
if(!orderNode["OriginalAmount"].isNull())
|
||||
order_.originalAmount = orderNode["OriginalAmount"].asString();
|
||||
if(!orderNode["DiscountAmount"].isNull())
|
||||
order_.discountAmount = orderNode["DiscountAmount"].asString();
|
||||
if(!orderNode["TradeAmount"].isNull())
|
||||
order_.tradeAmount = orderNode["TradeAmount"].asString();
|
||||
if(!orderNode["Currency"].isNull())
|
||||
order_.currency = orderNode["Currency"].asString();
|
||||
auto allCouponsNode = orderNode["Coupons"]["Coupon"];
|
||||
for (auto orderNodeCouponsCoupon : allCouponsNode)
|
||||
{
|
||||
Order::Coupon couponObject;
|
||||
if(!orderNodeCouponsCoupon["CouponNo"].isNull())
|
||||
couponObject.couponNo = orderNodeCouponsCoupon["CouponNo"].asString();
|
||||
if(!orderNodeCouponsCoupon["Description"].isNull())
|
||||
couponObject.description = orderNodeCouponsCoupon["Description"].asString();
|
||||
if(!orderNodeCouponsCoupon["IsSelected"].isNull())
|
||||
couponObject.isSelected = orderNodeCouponsCoupon["IsSelected"].asString();
|
||||
if(!orderNodeCouponsCoupon["CouponNo"].isNull())
|
||||
couponObject.couponNo = orderNodeCouponsCoupon["CouponNo"].asString();
|
||||
if(!orderNodeCouponsCoupon["Name"].isNull())
|
||||
couponObject.name = orderNodeCouponsCoupon["Name"].asString();
|
||||
order_.coupons.push_back(couponObject);
|
||||
|
||||
@@ -60,17 +60,6 @@ void ModifyNodeSpecRequest::setReadonlyReplicas(int readonlyReplicas)
|
||||
setParameter("ReadonlyReplicas", std::to_string(readonlyReplicas));
|
||||
}
|
||||
|
||||
std::string ModifyNodeSpecRequest::getCouponNo()const
|
||||
{
|
||||
return couponNo_;
|
||||
}
|
||||
|
||||
void ModifyNodeSpecRequest::setCouponNo(const std::string& couponNo)
|
||||
{
|
||||
couponNo_ = couponNo;
|
||||
setParameter("CouponNo", couponNo);
|
||||
}
|
||||
|
||||
std::string ModifyNodeSpecRequest::getNodeClass()const
|
||||
{
|
||||
return nodeClass_;
|
||||
@@ -126,17 +115,6 @@ void ModifyNodeSpecRequest::setDBInstanceId(const std::string& dBInstanceId)
|
||||
setParameter("DBInstanceId", dBInstanceId);
|
||||
}
|
||||
|
||||
std::string ModifyNodeSpecRequest::getSwitchTime()const
|
||||
{
|
||||
return switchTime_;
|
||||
}
|
||||
|
||||
void ModifyNodeSpecRequest::setSwitchTime(const std::string& switchTime)
|
||||
{
|
||||
switchTime_ = switchTime;
|
||||
setParameter("SwitchTime", switchTime);
|
||||
}
|
||||
|
||||
std::string ModifyNodeSpecRequest::getNodeId()const
|
||||
{
|
||||
return nodeId_;
|
||||
@@ -148,17 +126,6 @@ void ModifyNodeSpecRequest::setNodeId(const std::string& nodeId)
|
||||
setParameter("NodeId", nodeId);
|
||||
}
|
||||
|
||||
std::string ModifyNodeSpecRequest::getBusinessInfo()const
|
||||
{
|
||||
return businessInfo_;
|
||||
}
|
||||
|
||||
void ModifyNodeSpecRequest::setBusinessInfo(const std::string& businessInfo)
|
||||
{
|
||||
businessInfo_ = businessInfo;
|
||||
setParameter("BusinessInfo", businessInfo);
|
||||
}
|
||||
|
||||
bool ModifyNodeSpecRequest::getAutoPay()const
|
||||
{
|
||||
return autoPay_;
|
||||
|
||||
@@ -59,6 +59,8 @@ namespace AlibabaCloud
|
||||
void setInternetMaxBandWidthOut(int internetMaxBandWidthOut);
|
||||
std::string getResourceAmountType()const;
|
||||
void setResourceAmountType(const std::string& resourceAmountType);
|
||||
bool getStrictResourceProvision()const;
|
||||
void setStrictResourceProvision(bool strictResourceProvision);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSystemDiskType()const;
|
||||
@@ -101,6 +103,7 @@ namespace AlibabaCloud
|
||||
bool allocatePublicAddress_;
|
||||
int internetMaxBandWidthOut_;
|
||||
std::string resourceAmountType_;
|
||||
bool strictResourceProvision_;
|
||||
std::string accessKeyId_;
|
||||
std::string systemDiskType_;
|
||||
int cores_;
|
||||
|
||||
@@ -93,6 +93,17 @@ void ApplyNodesRequest::setResourceAmountType(const std::string& resourceAmountT
|
||||
setParameter("ResourceAmountType", resourceAmountType);
|
||||
}
|
||||
|
||||
bool ApplyNodesRequest::getStrictResourceProvision()const
|
||||
{
|
||||
return strictResourceProvision_;
|
||||
}
|
||||
|
||||
void ApplyNodesRequest::setStrictResourceProvision(bool strictResourceProvision)
|
||||
{
|
||||
strictResourceProvision_ = strictResourceProvision;
|
||||
setParameter("StrictResourceProvision", strictResourceProvision ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ApplyNodesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
|
||||
@@ -155,6 +155,10 @@ set(iot_public_header_model
|
||||
include/alibabacloud/iot/model/CreateRulengDistributeJobResult.h
|
||||
include/alibabacloud/iot/model/CreateSceneRuleRequest.h
|
||||
include/alibabacloud/iot/model/CreateSceneRuleResult.h
|
||||
include/alibabacloud/iot/model/CreateSpeechRequest.h
|
||||
include/alibabacloud/iot/model/CreateSpeechResult.h
|
||||
include/alibabacloud/iot/model/CreateStudioAppDomainOpenRequest.h
|
||||
include/alibabacloud/iot/model/CreateStudioAppDomainOpenResult.h
|
||||
include/alibabacloud/iot/model/CreateSubscribeRelationRequest.h
|
||||
include/alibabacloud/iot/model/CreateSubscribeRelationResult.h
|
||||
include/alibabacloud/iot/model/CreateThingModelRequest.h
|
||||
@@ -205,6 +209,8 @@ set(iot_public_header_model
|
||||
include/alibabacloud/iot/model/DeleteSceneRuleResult.h
|
||||
include/alibabacloud/iot/model/DeleteSpeechRequest.h
|
||||
include/alibabacloud/iot/model/DeleteSpeechResult.h
|
||||
include/alibabacloud/iot/model/DeleteStudioAppDomainOpenRequest.h
|
||||
include/alibabacloud/iot/model/DeleteStudioAppDomainOpenResult.h
|
||||
include/alibabacloud/iot/model/DeleteSubscribeRelationRequest.h
|
||||
include/alibabacloud/iot/model/DeleteSubscribeRelationResult.h
|
||||
include/alibabacloud/iot/model/DeleteThingModelRequest.h
|
||||
@@ -263,6 +269,10 @@ set(iot_public_header_model
|
||||
include/alibabacloud/iot/model/GetRuleActionResult.h
|
||||
include/alibabacloud/iot/model/GetSceneRuleRequest.h
|
||||
include/alibabacloud/iot/model/GetSceneRuleResult.h
|
||||
include/alibabacloud/iot/model/GetSpeechVoiceRequest.h
|
||||
include/alibabacloud/iot/model/GetSpeechVoiceResult.h
|
||||
include/alibabacloud/iot/model/GetStudioAppTokenOpenRequest.h
|
||||
include/alibabacloud/iot/model/GetStudioAppTokenOpenResult.h
|
||||
include/alibabacloud/iot/model/GetThingModelTslRequest.h
|
||||
include/alibabacloud/iot/model/GetThingModelTslResult.h
|
||||
include/alibabacloud/iot/model/GetThingModelTslPublishedRequest.h
|
||||
@@ -329,8 +339,12 @@ set(iot_public_header_model
|
||||
include/alibabacloud/iot/model/PubResult.h
|
||||
include/alibabacloud/iot/model/PubBroadcastRequest.h
|
||||
include/alibabacloud/iot/model/PubBroadcastResult.h
|
||||
include/alibabacloud/iot/model/PublishStudioAppRequest.h
|
||||
include/alibabacloud/iot/model/PublishStudioAppResult.h
|
||||
include/alibabacloud/iot/model/PublishThingModelRequest.h
|
||||
include/alibabacloud/iot/model/PublishThingModelResult.h
|
||||
include/alibabacloud/iot/model/PushSpeechRequest.h
|
||||
include/alibabacloud/iot/model/PushSpeechResult.h
|
||||
include/alibabacloud/iot/model/QueryAppDeviceListRequest.h
|
||||
include/alibabacloud/iot/model/QueryAppDeviceListResult.h
|
||||
include/alibabacloud/iot/model/QueryBatchRegisterDeviceStatusRequest.h
|
||||
@@ -445,6 +459,26 @@ set(iot_public_header_model
|
||||
include/alibabacloud/iot/model/QueryProductTopicResult.h
|
||||
include/alibabacloud/iot/model/QuerySceneRuleRequest.h
|
||||
include/alibabacloud/iot/model/QuerySceneRuleResult.h
|
||||
include/alibabacloud/iot/model/QuerySolutionDeviceGroupPageRequest.h
|
||||
include/alibabacloud/iot/model/QuerySolutionDeviceGroupPageResult.h
|
||||
include/alibabacloud/iot/model/QuerySpeechRequest.h
|
||||
include/alibabacloud/iot/model/QuerySpeechResult.h
|
||||
include/alibabacloud/iot/model/QuerySpeechListRequest.h
|
||||
include/alibabacloud/iot/model/QuerySpeechListResult.h
|
||||
include/alibabacloud/iot/model/QuerySpeechPushJobRequest.h
|
||||
include/alibabacloud/iot/model/QuerySpeechPushJobResult.h
|
||||
include/alibabacloud/iot/model/QuerySpeechPushJobDeviceRequest.h
|
||||
include/alibabacloud/iot/model/QuerySpeechPushJobDeviceResult.h
|
||||
include/alibabacloud/iot/model/QuerySpeechPushJobSpeechRequest.h
|
||||
include/alibabacloud/iot/model/QuerySpeechPushJobSpeechResult.h
|
||||
include/alibabacloud/iot/model/QueryStudioAppDomainListOpenRequest.h
|
||||
include/alibabacloud/iot/model/QueryStudioAppDomainListOpenResult.h
|
||||
include/alibabacloud/iot/model/QueryStudioAppListRequest.h
|
||||
include/alibabacloud/iot/model/QueryStudioAppListResult.h
|
||||
include/alibabacloud/iot/model/QueryStudioAppPageListOpenRequest.h
|
||||
include/alibabacloud/iot/model/QueryStudioAppPageListOpenResult.h
|
||||
include/alibabacloud/iot/model/QueryStudioProjectListRequest.h
|
||||
include/alibabacloud/iot/model/QueryStudioProjectListResult.h
|
||||
include/alibabacloud/iot/model/QuerySubscribeRelationRequest.h
|
||||
include/alibabacloud/iot/model/QuerySubscribeRelationResult.h
|
||||
include/alibabacloud/iot/model/QuerySummarySceneRuleLogRequest.h
|
||||
@@ -469,6 +503,8 @@ set(iot_public_header_model
|
||||
include/alibabacloud/iot/model/RRpcResult.h
|
||||
include/alibabacloud/iot/model/RefreshDeviceTunnelSharePasswordRequest.h
|
||||
include/alibabacloud/iot/model/RefreshDeviceTunnelSharePasswordResult.h
|
||||
include/alibabacloud/iot/model/RefreshStudioAppTokenOpenRequest.h
|
||||
include/alibabacloud/iot/model/RefreshStudioAppTokenOpenResult.h
|
||||
include/alibabacloud/iot/model/RegisterDeviceRequest.h
|
||||
include/alibabacloud/iot/model/RegisterDeviceResult.h
|
||||
include/alibabacloud/iot/model/ReleaseEdgeDriverVersionRequest.h
|
||||
@@ -497,6 +533,10 @@ set(iot_public_header_model
|
||||
include/alibabacloud/iot/model/SetEdgeInstanceDriverConfigsResult.h
|
||||
include/alibabacloud/iot/model/SetProductCertInfoRequest.h
|
||||
include/alibabacloud/iot/model/SetProductCertInfoResult.h
|
||||
include/alibabacloud/iot/model/SetStudioProjectCooperationRequest.h
|
||||
include/alibabacloud/iot/model/SetStudioProjectCooperationResult.h
|
||||
include/alibabacloud/iot/model/SetupStudioAppAuthModeOpenRequest.h
|
||||
include/alibabacloud/iot/model/SetupStudioAppAuthModeOpenResult.h
|
||||
include/alibabacloud/iot/model/SpeechByCombinationRequest.h
|
||||
include/alibabacloud/iot/model/SpeechByCombinationResult.h
|
||||
include/alibabacloud/iot/model/StartRuleRequest.h
|
||||
@@ -505,6 +545,8 @@ set(iot_public_header_model
|
||||
include/alibabacloud/iot/model/StopRuleResult.h
|
||||
include/alibabacloud/iot/model/SyncSpeechByCombinationRequest.h
|
||||
include/alibabacloud/iot/model/SyncSpeechByCombinationResult.h
|
||||
include/alibabacloud/iot/model/TestSpeechRequest.h
|
||||
include/alibabacloud/iot/model/TestSpeechResult.h
|
||||
include/alibabacloud/iot/model/TriggerSceneRuleRequest.h
|
||||
include/alibabacloud/iot/model/TriggerSceneRuleResult.h
|
||||
include/alibabacloud/iot/model/UnbindApplicationFromEdgeInstanceRequest.h
|
||||
@@ -547,6 +589,8 @@ set(iot_public_header_model
|
||||
include/alibabacloud/iot/model/UpdateRuleActionResult.h
|
||||
include/alibabacloud/iot/model/UpdateSceneRuleRequest.h
|
||||
include/alibabacloud/iot/model/UpdateSceneRuleResult.h
|
||||
include/alibabacloud/iot/model/UpdateSpeechRequest.h
|
||||
include/alibabacloud/iot/model/UpdateSpeechResult.h
|
||||
include/alibabacloud/iot/model/UpdateSubscribeRelationRequest.h
|
||||
include/alibabacloud/iot/model/UpdateSubscribeRelationResult.h
|
||||
include/alibabacloud/iot/model/UpdateThingModelRequest.h
|
||||
@@ -692,6 +736,10 @@ set(iot_src
|
||||
src/model/CreateRulengDistributeJobResult.cc
|
||||
src/model/CreateSceneRuleRequest.cc
|
||||
src/model/CreateSceneRuleResult.cc
|
||||
src/model/CreateSpeechRequest.cc
|
||||
src/model/CreateSpeechResult.cc
|
||||
src/model/CreateStudioAppDomainOpenRequest.cc
|
||||
src/model/CreateStudioAppDomainOpenResult.cc
|
||||
src/model/CreateSubscribeRelationRequest.cc
|
||||
src/model/CreateSubscribeRelationResult.cc
|
||||
src/model/CreateThingModelRequest.cc
|
||||
@@ -742,6 +790,8 @@ set(iot_src
|
||||
src/model/DeleteSceneRuleResult.cc
|
||||
src/model/DeleteSpeechRequest.cc
|
||||
src/model/DeleteSpeechResult.cc
|
||||
src/model/DeleteStudioAppDomainOpenRequest.cc
|
||||
src/model/DeleteStudioAppDomainOpenResult.cc
|
||||
src/model/DeleteSubscribeRelationRequest.cc
|
||||
src/model/DeleteSubscribeRelationResult.cc
|
||||
src/model/DeleteThingModelRequest.cc
|
||||
@@ -800,6 +850,10 @@ set(iot_src
|
||||
src/model/GetRuleActionResult.cc
|
||||
src/model/GetSceneRuleRequest.cc
|
||||
src/model/GetSceneRuleResult.cc
|
||||
src/model/GetSpeechVoiceRequest.cc
|
||||
src/model/GetSpeechVoiceResult.cc
|
||||
src/model/GetStudioAppTokenOpenRequest.cc
|
||||
src/model/GetStudioAppTokenOpenResult.cc
|
||||
src/model/GetThingModelTslRequest.cc
|
||||
src/model/GetThingModelTslResult.cc
|
||||
src/model/GetThingModelTslPublishedRequest.cc
|
||||
@@ -866,8 +920,12 @@ set(iot_src
|
||||
src/model/PubResult.cc
|
||||
src/model/PubBroadcastRequest.cc
|
||||
src/model/PubBroadcastResult.cc
|
||||
src/model/PublishStudioAppRequest.cc
|
||||
src/model/PublishStudioAppResult.cc
|
||||
src/model/PublishThingModelRequest.cc
|
||||
src/model/PublishThingModelResult.cc
|
||||
src/model/PushSpeechRequest.cc
|
||||
src/model/PushSpeechResult.cc
|
||||
src/model/QueryAppDeviceListRequest.cc
|
||||
src/model/QueryAppDeviceListResult.cc
|
||||
src/model/QueryBatchRegisterDeviceStatusRequest.cc
|
||||
@@ -982,6 +1040,26 @@ set(iot_src
|
||||
src/model/QueryProductTopicResult.cc
|
||||
src/model/QuerySceneRuleRequest.cc
|
||||
src/model/QuerySceneRuleResult.cc
|
||||
src/model/QuerySolutionDeviceGroupPageRequest.cc
|
||||
src/model/QuerySolutionDeviceGroupPageResult.cc
|
||||
src/model/QuerySpeechRequest.cc
|
||||
src/model/QuerySpeechResult.cc
|
||||
src/model/QuerySpeechListRequest.cc
|
||||
src/model/QuerySpeechListResult.cc
|
||||
src/model/QuerySpeechPushJobRequest.cc
|
||||
src/model/QuerySpeechPushJobResult.cc
|
||||
src/model/QuerySpeechPushJobDeviceRequest.cc
|
||||
src/model/QuerySpeechPushJobDeviceResult.cc
|
||||
src/model/QuerySpeechPushJobSpeechRequest.cc
|
||||
src/model/QuerySpeechPushJobSpeechResult.cc
|
||||
src/model/QueryStudioAppDomainListOpenRequest.cc
|
||||
src/model/QueryStudioAppDomainListOpenResult.cc
|
||||
src/model/QueryStudioAppListRequest.cc
|
||||
src/model/QueryStudioAppListResult.cc
|
||||
src/model/QueryStudioAppPageListOpenRequest.cc
|
||||
src/model/QueryStudioAppPageListOpenResult.cc
|
||||
src/model/QueryStudioProjectListRequest.cc
|
||||
src/model/QueryStudioProjectListResult.cc
|
||||
src/model/QuerySubscribeRelationRequest.cc
|
||||
src/model/QuerySubscribeRelationResult.cc
|
||||
src/model/QuerySummarySceneRuleLogRequest.cc
|
||||
@@ -1006,6 +1084,8 @@ set(iot_src
|
||||
src/model/RRpcResult.cc
|
||||
src/model/RefreshDeviceTunnelSharePasswordRequest.cc
|
||||
src/model/RefreshDeviceTunnelSharePasswordResult.cc
|
||||
src/model/RefreshStudioAppTokenOpenRequest.cc
|
||||
src/model/RefreshStudioAppTokenOpenResult.cc
|
||||
src/model/RegisterDeviceRequest.cc
|
||||
src/model/RegisterDeviceResult.cc
|
||||
src/model/ReleaseEdgeDriverVersionRequest.cc
|
||||
@@ -1034,6 +1114,10 @@ set(iot_src
|
||||
src/model/SetEdgeInstanceDriverConfigsResult.cc
|
||||
src/model/SetProductCertInfoRequest.cc
|
||||
src/model/SetProductCertInfoResult.cc
|
||||
src/model/SetStudioProjectCooperationRequest.cc
|
||||
src/model/SetStudioProjectCooperationResult.cc
|
||||
src/model/SetupStudioAppAuthModeOpenRequest.cc
|
||||
src/model/SetupStudioAppAuthModeOpenResult.cc
|
||||
src/model/SpeechByCombinationRequest.cc
|
||||
src/model/SpeechByCombinationResult.cc
|
||||
src/model/StartRuleRequest.cc
|
||||
@@ -1042,6 +1126,8 @@ set(iot_src
|
||||
src/model/StopRuleResult.cc
|
||||
src/model/SyncSpeechByCombinationRequest.cc
|
||||
src/model/SyncSpeechByCombinationResult.cc
|
||||
src/model/TestSpeechRequest.cc
|
||||
src/model/TestSpeechResult.cc
|
||||
src/model/TriggerSceneRuleRequest.cc
|
||||
src/model/TriggerSceneRuleResult.cc
|
||||
src/model/UnbindApplicationFromEdgeInstanceRequest.cc
|
||||
@@ -1084,6 +1170,8 @@ set(iot_src
|
||||
src/model/UpdateRuleActionResult.cc
|
||||
src/model/UpdateSceneRuleRequest.cc
|
||||
src/model/UpdateSceneRuleResult.cc
|
||||
src/model/UpdateSpeechRequest.cc
|
||||
src/model/UpdateSpeechResult.cc
|
||||
src/model/UpdateSubscribeRelationRequest.cc
|
||||
src/model/UpdateSubscribeRelationResult.cc
|
||||
src/model/UpdateThingModelRequest.cc
|
||||
|
||||
@@ -156,6 +156,10 @@
|
||||
#include "model/CreateRulengDistributeJobResult.h"
|
||||
#include "model/CreateSceneRuleRequest.h"
|
||||
#include "model/CreateSceneRuleResult.h"
|
||||
#include "model/CreateSpeechRequest.h"
|
||||
#include "model/CreateSpeechResult.h"
|
||||
#include "model/CreateStudioAppDomainOpenRequest.h"
|
||||
#include "model/CreateStudioAppDomainOpenResult.h"
|
||||
#include "model/CreateSubscribeRelationRequest.h"
|
||||
#include "model/CreateSubscribeRelationResult.h"
|
||||
#include "model/CreateThingModelRequest.h"
|
||||
@@ -206,6 +210,8 @@
|
||||
#include "model/DeleteSceneRuleResult.h"
|
||||
#include "model/DeleteSpeechRequest.h"
|
||||
#include "model/DeleteSpeechResult.h"
|
||||
#include "model/DeleteStudioAppDomainOpenRequest.h"
|
||||
#include "model/DeleteStudioAppDomainOpenResult.h"
|
||||
#include "model/DeleteSubscribeRelationRequest.h"
|
||||
#include "model/DeleteSubscribeRelationResult.h"
|
||||
#include "model/DeleteThingModelRequest.h"
|
||||
@@ -264,6 +270,10 @@
|
||||
#include "model/GetRuleActionResult.h"
|
||||
#include "model/GetSceneRuleRequest.h"
|
||||
#include "model/GetSceneRuleResult.h"
|
||||
#include "model/GetSpeechVoiceRequest.h"
|
||||
#include "model/GetSpeechVoiceResult.h"
|
||||
#include "model/GetStudioAppTokenOpenRequest.h"
|
||||
#include "model/GetStudioAppTokenOpenResult.h"
|
||||
#include "model/GetThingModelTslRequest.h"
|
||||
#include "model/GetThingModelTslResult.h"
|
||||
#include "model/GetThingModelTslPublishedRequest.h"
|
||||
@@ -330,8 +340,12 @@
|
||||
#include "model/PubResult.h"
|
||||
#include "model/PubBroadcastRequest.h"
|
||||
#include "model/PubBroadcastResult.h"
|
||||
#include "model/PublishStudioAppRequest.h"
|
||||
#include "model/PublishStudioAppResult.h"
|
||||
#include "model/PublishThingModelRequest.h"
|
||||
#include "model/PublishThingModelResult.h"
|
||||
#include "model/PushSpeechRequest.h"
|
||||
#include "model/PushSpeechResult.h"
|
||||
#include "model/QueryAppDeviceListRequest.h"
|
||||
#include "model/QueryAppDeviceListResult.h"
|
||||
#include "model/QueryBatchRegisterDeviceStatusRequest.h"
|
||||
@@ -446,6 +460,26 @@
|
||||
#include "model/QueryProductTopicResult.h"
|
||||
#include "model/QuerySceneRuleRequest.h"
|
||||
#include "model/QuerySceneRuleResult.h"
|
||||
#include "model/QuerySolutionDeviceGroupPageRequest.h"
|
||||
#include "model/QuerySolutionDeviceGroupPageResult.h"
|
||||
#include "model/QuerySpeechRequest.h"
|
||||
#include "model/QuerySpeechResult.h"
|
||||
#include "model/QuerySpeechListRequest.h"
|
||||
#include "model/QuerySpeechListResult.h"
|
||||
#include "model/QuerySpeechPushJobRequest.h"
|
||||
#include "model/QuerySpeechPushJobResult.h"
|
||||
#include "model/QuerySpeechPushJobDeviceRequest.h"
|
||||
#include "model/QuerySpeechPushJobDeviceResult.h"
|
||||
#include "model/QuerySpeechPushJobSpeechRequest.h"
|
||||
#include "model/QuerySpeechPushJobSpeechResult.h"
|
||||
#include "model/QueryStudioAppDomainListOpenRequest.h"
|
||||
#include "model/QueryStudioAppDomainListOpenResult.h"
|
||||
#include "model/QueryStudioAppListRequest.h"
|
||||
#include "model/QueryStudioAppListResult.h"
|
||||
#include "model/QueryStudioAppPageListOpenRequest.h"
|
||||
#include "model/QueryStudioAppPageListOpenResult.h"
|
||||
#include "model/QueryStudioProjectListRequest.h"
|
||||
#include "model/QueryStudioProjectListResult.h"
|
||||
#include "model/QuerySubscribeRelationRequest.h"
|
||||
#include "model/QuerySubscribeRelationResult.h"
|
||||
#include "model/QuerySummarySceneRuleLogRequest.h"
|
||||
@@ -470,6 +504,8 @@
|
||||
#include "model/RRpcResult.h"
|
||||
#include "model/RefreshDeviceTunnelSharePasswordRequest.h"
|
||||
#include "model/RefreshDeviceTunnelSharePasswordResult.h"
|
||||
#include "model/RefreshStudioAppTokenOpenRequest.h"
|
||||
#include "model/RefreshStudioAppTokenOpenResult.h"
|
||||
#include "model/RegisterDeviceRequest.h"
|
||||
#include "model/RegisterDeviceResult.h"
|
||||
#include "model/ReleaseEdgeDriverVersionRequest.h"
|
||||
@@ -498,6 +534,10 @@
|
||||
#include "model/SetEdgeInstanceDriverConfigsResult.h"
|
||||
#include "model/SetProductCertInfoRequest.h"
|
||||
#include "model/SetProductCertInfoResult.h"
|
||||
#include "model/SetStudioProjectCooperationRequest.h"
|
||||
#include "model/SetStudioProjectCooperationResult.h"
|
||||
#include "model/SetupStudioAppAuthModeOpenRequest.h"
|
||||
#include "model/SetupStudioAppAuthModeOpenResult.h"
|
||||
#include "model/SpeechByCombinationRequest.h"
|
||||
#include "model/SpeechByCombinationResult.h"
|
||||
#include "model/StartRuleRequest.h"
|
||||
@@ -506,6 +546,8 @@
|
||||
#include "model/StopRuleResult.h"
|
||||
#include "model/SyncSpeechByCombinationRequest.h"
|
||||
#include "model/SyncSpeechByCombinationResult.h"
|
||||
#include "model/TestSpeechRequest.h"
|
||||
#include "model/TestSpeechResult.h"
|
||||
#include "model/TriggerSceneRuleRequest.h"
|
||||
#include "model/TriggerSceneRuleResult.h"
|
||||
#include "model/UnbindApplicationFromEdgeInstanceRequest.h"
|
||||
@@ -548,6 +590,8 @@
|
||||
#include "model/UpdateRuleActionResult.h"
|
||||
#include "model/UpdateSceneRuleRequest.h"
|
||||
#include "model/UpdateSceneRuleResult.h"
|
||||
#include "model/UpdateSpeechRequest.h"
|
||||
#include "model/UpdateSpeechResult.h"
|
||||
#include "model/UpdateSubscribeRelationRequest.h"
|
||||
#include "model/UpdateSubscribeRelationResult.h"
|
||||
#include "model/UpdateThingModelRequest.h"
|
||||
@@ -766,6 +810,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateSceneRuleResult> CreateSceneRuleOutcome;
|
||||
typedef std::future<CreateSceneRuleOutcome> CreateSceneRuleOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::CreateSceneRuleRequest&, const CreateSceneRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSceneRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateSpeechResult> CreateSpeechOutcome;
|
||||
typedef std::future<CreateSpeechOutcome> CreateSpeechOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::CreateSpeechRequest&, const CreateSpeechOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSpeechAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateStudioAppDomainOpenResult> CreateStudioAppDomainOpenOutcome;
|
||||
typedef std::future<CreateStudioAppDomainOpenOutcome> CreateStudioAppDomainOpenOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::CreateStudioAppDomainOpenRequest&, const CreateStudioAppDomainOpenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateStudioAppDomainOpenAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateSubscribeRelationResult> CreateSubscribeRelationOutcome;
|
||||
typedef std::future<CreateSubscribeRelationOutcome> CreateSubscribeRelationOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::CreateSubscribeRelationRequest&, const CreateSubscribeRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSubscribeRelationAsyncHandler;
|
||||
@@ -841,6 +891,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteSpeechResult> DeleteSpeechOutcome;
|
||||
typedef std::future<DeleteSpeechOutcome> DeleteSpeechOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::DeleteSpeechRequest&, const DeleteSpeechOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSpeechAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteStudioAppDomainOpenResult> DeleteStudioAppDomainOpenOutcome;
|
||||
typedef std::future<DeleteStudioAppDomainOpenOutcome> DeleteStudioAppDomainOpenOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::DeleteStudioAppDomainOpenRequest&, const DeleteStudioAppDomainOpenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteStudioAppDomainOpenAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteSubscribeRelationResult> DeleteSubscribeRelationOutcome;
|
||||
typedef std::future<DeleteSubscribeRelationOutcome> DeleteSubscribeRelationOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::DeleteSubscribeRelationRequest&, const DeleteSubscribeRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSubscribeRelationAsyncHandler;
|
||||
@@ -928,6 +981,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetSceneRuleResult> GetSceneRuleOutcome;
|
||||
typedef std::future<GetSceneRuleOutcome> GetSceneRuleOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::GetSceneRuleRequest&, const GetSceneRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSceneRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetSpeechVoiceResult> GetSpeechVoiceOutcome;
|
||||
typedef std::future<GetSpeechVoiceOutcome> GetSpeechVoiceOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::GetSpeechVoiceRequest&, const GetSpeechVoiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSpeechVoiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetStudioAppTokenOpenResult> GetStudioAppTokenOpenOutcome;
|
||||
typedef std::future<GetStudioAppTokenOpenOutcome> GetStudioAppTokenOpenOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::GetStudioAppTokenOpenRequest&, const GetStudioAppTokenOpenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetStudioAppTokenOpenAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetThingModelTslResult> GetThingModelTslOutcome;
|
||||
typedef std::future<GetThingModelTslOutcome> GetThingModelTslOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::GetThingModelTslRequest&, const GetThingModelTslOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetThingModelTslAsyncHandler;
|
||||
@@ -1027,9 +1086,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::PubBroadcastResult> PubBroadcastOutcome;
|
||||
typedef std::future<PubBroadcastOutcome> PubBroadcastOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::PubBroadcastRequest&, const PubBroadcastOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PubBroadcastAsyncHandler;
|
||||
typedef Outcome<Error, Model::PublishStudioAppResult> PublishStudioAppOutcome;
|
||||
typedef std::future<PublishStudioAppOutcome> PublishStudioAppOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::PublishStudioAppRequest&, const PublishStudioAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishStudioAppAsyncHandler;
|
||||
typedef Outcome<Error, Model::PublishThingModelResult> PublishThingModelOutcome;
|
||||
typedef std::future<PublishThingModelOutcome> PublishThingModelOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::PublishThingModelRequest&, const PublishThingModelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishThingModelAsyncHandler;
|
||||
typedef Outcome<Error, Model::PushSpeechResult> PushSpeechOutcome;
|
||||
typedef std::future<PushSpeechOutcome> PushSpeechOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::PushSpeechRequest&, const PushSpeechOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PushSpeechAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryAppDeviceListResult> QueryAppDeviceListOutcome;
|
||||
typedef std::future<QueryAppDeviceListOutcome> QueryAppDeviceListOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QueryAppDeviceListRequest&, const QueryAppDeviceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryAppDeviceListAsyncHandler;
|
||||
@@ -1201,6 +1266,36 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::QuerySceneRuleResult> QuerySceneRuleOutcome;
|
||||
typedef std::future<QuerySceneRuleOutcome> QuerySceneRuleOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QuerySceneRuleRequest&, const QuerySceneRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySceneRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySolutionDeviceGroupPageResult> QuerySolutionDeviceGroupPageOutcome;
|
||||
typedef std::future<QuerySolutionDeviceGroupPageOutcome> QuerySolutionDeviceGroupPageOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QuerySolutionDeviceGroupPageRequest&, const QuerySolutionDeviceGroupPageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySolutionDeviceGroupPageAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySpeechResult> QuerySpeechOutcome;
|
||||
typedef std::future<QuerySpeechOutcome> QuerySpeechOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QuerySpeechRequest&, const QuerySpeechOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySpeechAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySpeechListResult> QuerySpeechListOutcome;
|
||||
typedef std::future<QuerySpeechListOutcome> QuerySpeechListOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QuerySpeechListRequest&, const QuerySpeechListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySpeechListAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySpeechPushJobResult> QuerySpeechPushJobOutcome;
|
||||
typedef std::future<QuerySpeechPushJobOutcome> QuerySpeechPushJobOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QuerySpeechPushJobRequest&, const QuerySpeechPushJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySpeechPushJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySpeechPushJobDeviceResult> QuerySpeechPushJobDeviceOutcome;
|
||||
typedef std::future<QuerySpeechPushJobDeviceOutcome> QuerySpeechPushJobDeviceOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QuerySpeechPushJobDeviceRequest&, const QuerySpeechPushJobDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySpeechPushJobDeviceAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySpeechPushJobSpeechResult> QuerySpeechPushJobSpeechOutcome;
|
||||
typedef std::future<QuerySpeechPushJobSpeechOutcome> QuerySpeechPushJobSpeechOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QuerySpeechPushJobSpeechRequest&, const QuerySpeechPushJobSpeechOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySpeechPushJobSpeechAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryStudioAppDomainListOpenResult> QueryStudioAppDomainListOpenOutcome;
|
||||
typedef std::future<QueryStudioAppDomainListOpenOutcome> QueryStudioAppDomainListOpenOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QueryStudioAppDomainListOpenRequest&, const QueryStudioAppDomainListOpenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryStudioAppDomainListOpenAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryStudioAppListResult> QueryStudioAppListOutcome;
|
||||
typedef std::future<QueryStudioAppListOutcome> QueryStudioAppListOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QueryStudioAppListRequest&, const QueryStudioAppListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryStudioAppListAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryStudioAppPageListOpenResult> QueryStudioAppPageListOpenOutcome;
|
||||
typedef std::future<QueryStudioAppPageListOpenOutcome> QueryStudioAppPageListOpenOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QueryStudioAppPageListOpenRequest&, const QueryStudioAppPageListOpenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryStudioAppPageListOpenAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryStudioProjectListResult> QueryStudioProjectListOutcome;
|
||||
typedef std::future<QueryStudioProjectListOutcome> QueryStudioProjectListOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QueryStudioProjectListRequest&, const QueryStudioProjectListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryStudioProjectListAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySubscribeRelationResult> QuerySubscribeRelationOutcome;
|
||||
typedef std::future<QuerySubscribeRelationOutcome> QuerySubscribeRelationOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::QuerySubscribeRelationRequest&, const QuerySubscribeRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySubscribeRelationAsyncHandler;
|
||||
@@ -1237,6 +1332,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::RefreshDeviceTunnelSharePasswordResult> RefreshDeviceTunnelSharePasswordOutcome;
|
||||
typedef std::future<RefreshDeviceTunnelSharePasswordOutcome> RefreshDeviceTunnelSharePasswordOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::RefreshDeviceTunnelSharePasswordRequest&, const RefreshDeviceTunnelSharePasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RefreshDeviceTunnelSharePasswordAsyncHandler;
|
||||
typedef Outcome<Error, Model::RefreshStudioAppTokenOpenResult> RefreshStudioAppTokenOpenOutcome;
|
||||
typedef std::future<RefreshStudioAppTokenOpenOutcome> RefreshStudioAppTokenOpenOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::RefreshStudioAppTokenOpenRequest&, const RefreshStudioAppTokenOpenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RefreshStudioAppTokenOpenAsyncHandler;
|
||||
typedef Outcome<Error, Model::RegisterDeviceResult> RegisterDeviceOutcome;
|
||||
typedef std::future<RegisterDeviceOutcome> RegisterDeviceOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::RegisterDeviceRequest&, const RegisterDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterDeviceAsyncHandler;
|
||||
@@ -1279,6 +1377,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SetProductCertInfoResult> SetProductCertInfoOutcome;
|
||||
typedef std::future<SetProductCertInfoOutcome> SetProductCertInfoOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::SetProductCertInfoRequest&, const SetProductCertInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetProductCertInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetStudioProjectCooperationResult> SetStudioProjectCooperationOutcome;
|
||||
typedef std::future<SetStudioProjectCooperationOutcome> SetStudioProjectCooperationOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::SetStudioProjectCooperationRequest&, const SetStudioProjectCooperationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetStudioProjectCooperationAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetupStudioAppAuthModeOpenResult> SetupStudioAppAuthModeOpenOutcome;
|
||||
typedef std::future<SetupStudioAppAuthModeOpenOutcome> SetupStudioAppAuthModeOpenOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::SetupStudioAppAuthModeOpenRequest&, const SetupStudioAppAuthModeOpenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetupStudioAppAuthModeOpenAsyncHandler;
|
||||
typedef Outcome<Error, Model::SpeechByCombinationResult> SpeechByCombinationOutcome;
|
||||
typedef std::future<SpeechByCombinationOutcome> SpeechByCombinationOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::SpeechByCombinationRequest&, const SpeechByCombinationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SpeechByCombinationAsyncHandler;
|
||||
@@ -1291,6 +1395,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SyncSpeechByCombinationResult> SyncSpeechByCombinationOutcome;
|
||||
typedef std::future<SyncSpeechByCombinationOutcome> SyncSpeechByCombinationOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::SyncSpeechByCombinationRequest&, const SyncSpeechByCombinationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SyncSpeechByCombinationAsyncHandler;
|
||||
typedef Outcome<Error, Model::TestSpeechResult> TestSpeechOutcome;
|
||||
typedef std::future<TestSpeechOutcome> TestSpeechOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::TestSpeechRequest&, const TestSpeechOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TestSpeechAsyncHandler;
|
||||
typedef Outcome<Error, Model::TriggerSceneRuleResult> TriggerSceneRuleOutcome;
|
||||
typedef std::future<TriggerSceneRuleOutcome> TriggerSceneRuleOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::TriggerSceneRuleRequest&, const TriggerSceneRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TriggerSceneRuleAsyncHandler;
|
||||
@@ -1354,6 +1461,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateSceneRuleResult> UpdateSceneRuleOutcome;
|
||||
typedef std::future<UpdateSceneRuleOutcome> UpdateSceneRuleOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::UpdateSceneRuleRequest&, const UpdateSceneRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateSceneRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateSpeechResult> UpdateSpeechOutcome;
|
||||
typedef std::future<UpdateSpeechOutcome> UpdateSpeechOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::UpdateSpeechRequest&, const UpdateSpeechOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateSpeechAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateSubscribeRelationResult> UpdateSubscribeRelationOutcome;
|
||||
typedef std::future<UpdateSubscribeRelationOutcome> UpdateSubscribeRelationOutcomeCallable;
|
||||
typedef std::function<void(const IotClient*, const Model::UpdateSubscribeRelationRequest&, const UpdateSubscribeRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateSubscribeRelationAsyncHandler;
|
||||
@@ -1572,6 +1682,12 @@ namespace AlibabaCloud
|
||||
CreateSceneRuleOutcome createSceneRule(const Model::CreateSceneRuleRequest &request)const;
|
||||
void createSceneRuleAsync(const Model::CreateSceneRuleRequest& request, const CreateSceneRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateSceneRuleOutcomeCallable createSceneRuleCallable(const Model::CreateSceneRuleRequest& request) const;
|
||||
CreateSpeechOutcome createSpeech(const Model::CreateSpeechRequest &request)const;
|
||||
void createSpeechAsync(const Model::CreateSpeechRequest& request, const CreateSpeechAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateSpeechOutcomeCallable createSpeechCallable(const Model::CreateSpeechRequest& request) const;
|
||||
CreateStudioAppDomainOpenOutcome createStudioAppDomainOpen(const Model::CreateStudioAppDomainOpenRequest &request)const;
|
||||
void createStudioAppDomainOpenAsync(const Model::CreateStudioAppDomainOpenRequest& request, const CreateStudioAppDomainOpenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateStudioAppDomainOpenOutcomeCallable createStudioAppDomainOpenCallable(const Model::CreateStudioAppDomainOpenRequest& request) const;
|
||||
CreateSubscribeRelationOutcome createSubscribeRelation(const Model::CreateSubscribeRelationRequest &request)const;
|
||||
void createSubscribeRelationAsync(const Model::CreateSubscribeRelationRequest& request, const CreateSubscribeRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateSubscribeRelationOutcomeCallable createSubscribeRelationCallable(const Model::CreateSubscribeRelationRequest& request) const;
|
||||
@@ -1647,6 +1763,9 @@ namespace AlibabaCloud
|
||||
DeleteSpeechOutcome deleteSpeech(const Model::DeleteSpeechRequest &request)const;
|
||||
void deleteSpeechAsync(const Model::DeleteSpeechRequest& request, const DeleteSpeechAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteSpeechOutcomeCallable deleteSpeechCallable(const Model::DeleteSpeechRequest& request) const;
|
||||
DeleteStudioAppDomainOpenOutcome deleteStudioAppDomainOpen(const Model::DeleteStudioAppDomainOpenRequest &request)const;
|
||||
void deleteStudioAppDomainOpenAsync(const Model::DeleteStudioAppDomainOpenRequest& request, const DeleteStudioAppDomainOpenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteStudioAppDomainOpenOutcomeCallable deleteStudioAppDomainOpenCallable(const Model::DeleteStudioAppDomainOpenRequest& request) const;
|
||||
DeleteSubscribeRelationOutcome deleteSubscribeRelation(const Model::DeleteSubscribeRelationRequest &request)const;
|
||||
void deleteSubscribeRelationAsync(const Model::DeleteSubscribeRelationRequest& request, const DeleteSubscribeRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteSubscribeRelationOutcomeCallable deleteSubscribeRelationCallable(const Model::DeleteSubscribeRelationRequest& request) const;
|
||||
@@ -1734,6 +1853,12 @@ namespace AlibabaCloud
|
||||
GetSceneRuleOutcome getSceneRule(const Model::GetSceneRuleRequest &request)const;
|
||||
void getSceneRuleAsync(const Model::GetSceneRuleRequest& request, const GetSceneRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetSceneRuleOutcomeCallable getSceneRuleCallable(const Model::GetSceneRuleRequest& request) const;
|
||||
GetSpeechVoiceOutcome getSpeechVoice(const Model::GetSpeechVoiceRequest &request)const;
|
||||
void getSpeechVoiceAsync(const Model::GetSpeechVoiceRequest& request, const GetSpeechVoiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetSpeechVoiceOutcomeCallable getSpeechVoiceCallable(const Model::GetSpeechVoiceRequest& request) const;
|
||||
GetStudioAppTokenOpenOutcome getStudioAppTokenOpen(const Model::GetStudioAppTokenOpenRequest &request)const;
|
||||
void getStudioAppTokenOpenAsync(const Model::GetStudioAppTokenOpenRequest& request, const GetStudioAppTokenOpenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetStudioAppTokenOpenOutcomeCallable getStudioAppTokenOpenCallable(const Model::GetStudioAppTokenOpenRequest& request) const;
|
||||
GetThingModelTslOutcome getThingModelTsl(const Model::GetThingModelTslRequest &request)const;
|
||||
void getThingModelTslAsync(const Model::GetThingModelTslRequest& request, const GetThingModelTslAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetThingModelTslOutcomeCallable getThingModelTslCallable(const Model::GetThingModelTslRequest& request) const;
|
||||
@@ -1833,9 +1958,15 @@ namespace AlibabaCloud
|
||||
PubBroadcastOutcome pubBroadcast(const Model::PubBroadcastRequest &request)const;
|
||||
void pubBroadcastAsync(const Model::PubBroadcastRequest& request, const PubBroadcastAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PubBroadcastOutcomeCallable pubBroadcastCallable(const Model::PubBroadcastRequest& request) const;
|
||||
PublishStudioAppOutcome publishStudioApp(const Model::PublishStudioAppRequest &request)const;
|
||||
void publishStudioAppAsync(const Model::PublishStudioAppRequest& request, const PublishStudioAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PublishStudioAppOutcomeCallable publishStudioAppCallable(const Model::PublishStudioAppRequest& request) const;
|
||||
PublishThingModelOutcome publishThingModel(const Model::PublishThingModelRequest &request)const;
|
||||
void publishThingModelAsync(const Model::PublishThingModelRequest& request, const PublishThingModelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PublishThingModelOutcomeCallable publishThingModelCallable(const Model::PublishThingModelRequest& request) const;
|
||||
PushSpeechOutcome pushSpeech(const Model::PushSpeechRequest &request)const;
|
||||
void pushSpeechAsync(const Model::PushSpeechRequest& request, const PushSpeechAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PushSpeechOutcomeCallable pushSpeechCallable(const Model::PushSpeechRequest& request) const;
|
||||
QueryAppDeviceListOutcome queryAppDeviceList(const Model::QueryAppDeviceListRequest &request)const;
|
||||
void queryAppDeviceListAsync(const Model::QueryAppDeviceListRequest& request, const QueryAppDeviceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryAppDeviceListOutcomeCallable queryAppDeviceListCallable(const Model::QueryAppDeviceListRequest& request) const;
|
||||
@@ -2007,6 +2138,36 @@ namespace AlibabaCloud
|
||||
QuerySceneRuleOutcome querySceneRule(const Model::QuerySceneRuleRequest &request)const;
|
||||
void querySceneRuleAsync(const Model::QuerySceneRuleRequest& request, const QuerySceneRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QuerySceneRuleOutcomeCallable querySceneRuleCallable(const Model::QuerySceneRuleRequest& request) const;
|
||||
QuerySolutionDeviceGroupPageOutcome querySolutionDeviceGroupPage(const Model::QuerySolutionDeviceGroupPageRequest &request)const;
|
||||
void querySolutionDeviceGroupPageAsync(const Model::QuerySolutionDeviceGroupPageRequest& request, const QuerySolutionDeviceGroupPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QuerySolutionDeviceGroupPageOutcomeCallable querySolutionDeviceGroupPageCallable(const Model::QuerySolutionDeviceGroupPageRequest& request) const;
|
||||
QuerySpeechOutcome querySpeech(const Model::QuerySpeechRequest &request)const;
|
||||
void querySpeechAsync(const Model::QuerySpeechRequest& request, const QuerySpeechAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QuerySpeechOutcomeCallable querySpeechCallable(const Model::QuerySpeechRequest& request) const;
|
||||
QuerySpeechListOutcome querySpeechList(const Model::QuerySpeechListRequest &request)const;
|
||||
void querySpeechListAsync(const Model::QuerySpeechListRequest& request, const QuerySpeechListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QuerySpeechListOutcomeCallable querySpeechListCallable(const Model::QuerySpeechListRequest& request) const;
|
||||
QuerySpeechPushJobOutcome querySpeechPushJob(const Model::QuerySpeechPushJobRequest &request)const;
|
||||
void querySpeechPushJobAsync(const Model::QuerySpeechPushJobRequest& request, const QuerySpeechPushJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QuerySpeechPushJobOutcomeCallable querySpeechPushJobCallable(const Model::QuerySpeechPushJobRequest& request) const;
|
||||
QuerySpeechPushJobDeviceOutcome querySpeechPushJobDevice(const Model::QuerySpeechPushJobDeviceRequest &request)const;
|
||||
void querySpeechPushJobDeviceAsync(const Model::QuerySpeechPushJobDeviceRequest& request, const QuerySpeechPushJobDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QuerySpeechPushJobDeviceOutcomeCallable querySpeechPushJobDeviceCallable(const Model::QuerySpeechPushJobDeviceRequest& request) const;
|
||||
QuerySpeechPushJobSpeechOutcome querySpeechPushJobSpeech(const Model::QuerySpeechPushJobSpeechRequest &request)const;
|
||||
void querySpeechPushJobSpeechAsync(const Model::QuerySpeechPushJobSpeechRequest& request, const QuerySpeechPushJobSpeechAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QuerySpeechPushJobSpeechOutcomeCallable querySpeechPushJobSpeechCallable(const Model::QuerySpeechPushJobSpeechRequest& request) const;
|
||||
QueryStudioAppDomainListOpenOutcome queryStudioAppDomainListOpen(const Model::QueryStudioAppDomainListOpenRequest &request)const;
|
||||
void queryStudioAppDomainListOpenAsync(const Model::QueryStudioAppDomainListOpenRequest& request, const QueryStudioAppDomainListOpenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryStudioAppDomainListOpenOutcomeCallable queryStudioAppDomainListOpenCallable(const Model::QueryStudioAppDomainListOpenRequest& request) const;
|
||||
QueryStudioAppListOutcome queryStudioAppList(const Model::QueryStudioAppListRequest &request)const;
|
||||
void queryStudioAppListAsync(const Model::QueryStudioAppListRequest& request, const QueryStudioAppListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryStudioAppListOutcomeCallable queryStudioAppListCallable(const Model::QueryStudioAppListRequest& request) const;
|
||||
QueryStudioAppPageListOpenOutcome queryStudioAppPageListOpen(const Model::QueryStudioAppPageListOpenRequest &request)const;
|
||||
void queryStudioAppPageListOpenAsync(const Model::QueryStudioAppPageListOpenRequest& request, const QueryStudioAppPageListOpenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryStudioAppPageListOpenOutcomeCallable queryStudioAppPageListOpenCallable(const Model::QueryStudioAppPageListOpenRequest& request) const;
|
||||
QueryStudioProjectListOutcome queryStudioProjectList(const Model::QueryStudioProjectListRequest &request)const;
|
||||
void queryStudioProjectListAsync(const Model::QueryStudioProjectListRequest& request, const QueryStudioProjectListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryStudioProjectListOutcomeCallable queryStudioProjectListCallable(const Model::QueryStudioProjectListRequest& request) const;
|
||||
QuerySubscribeRelationOutcome querySubscribeRelation(const Model::QuerySubscribeRelationRequest &request)const;
|
||||
void querySubscribeRelationAsync(const Model::QuerySubscribeRelationRequest& request, const QuerySubscribeRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QuerySubscribeRelationOutcomeCallable querySubscribeRelationCallable(const Model::QuerySubscribeRelationRequest& request) const;
|
||||
@@ -2043,6 +2204,9 @@ namespace AlibabaCloud
|
||||
RefreshDeviceTunnelSharePasswordOutcome refreshDeviceTunnelSharePassword(const Model::RefreshDeviceTunnelSharePasswordRequest &request)const;
|
||||
void refreshDeviceTunnelSharePasswordAsync(const Model::RefreshDeviceTunnelSharePasswordRequest& request, const RefreshDeviceTunnelSharePasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RefreshDeviceTunnelSharePasswordOutcomeCallable refreshDeviceTunnelSharePasswordCallable(const Model::RefreshDeviceTunnelSharePasswordRequest& request) const;
|
||||
RefreshStudioAppTokenOpenOutcome refreshStudioAppTokenOpen(const Model::RefreshStudioAppTokenOpenRequest &request)const;
|
||||
void refreshStudioAppTokenOpenAsync(const Model::RefreshStudioAppTokenOpenRequest& request, const RefreshStudioAppTokenOpenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RefreshStudioAppTokenOpenOutcomeCallable refreshStudioAppTokenOpenCallable(const Model::RefreshStudioAppTokenOpenRequest& 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;
|
||||
@@ -2085,6 +2249,12 @@ namespace AlibabaCloud
|
||||
SetProductCertInfoOutcome setProductCertInfo(const Model::SetProductCertInfoRequest &request)const;
|
||||
void setProductCertInfoAsync(const Model::SetProductCertInfoRequest& request, const SetProductCertInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetProductCertInfoOutcomeCallable setProductCertInfoCallable(const Model::SetProductCertInfoRequest& request) const;
|
||||
SetStudioProjectCooperationOutcome setStudioProjectCooperation(const Model::SetStudioProjectCooperationRequest &request)const;
|
||||
void setStudioProjectCooperationAsync(const Model::SetStudioProjectCooperationRequest& request, const SetStudioProjectCooperationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetStudioProjectCooperationOutcomeCallable setStudioProjectCooperationCallable(const Model::SetStudioProjectCooperationRequest& request) const;
|
||||
SetupStudioAppAuthModeOpenOutcome setupStudioAppAuthModeOpen(const Model::SetupStudioAppAuthModeOpenRequest &request)const;
|
||||
void setupStudioAppAuthModeOpenAsync(const Model::SetupStudioAppAuthModeOpenRequest& request, const SetupStudioAppAuthModeOpenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetupStudioAppAuthModeOpenOutcomeCallable setupStudioAppAuthModeOpenCallable(const Model::SetupStudioAppAuthModeOpenRequest& request) const;
|
||||
SpeechByCombinationOutcome speechByCombination(const Model::SpeechByCombinationRequest &request)const;
|
||||
void speechByCombinationAsync(const Model::SpeechByCombinationRequest& request, const SpeechByCombinationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SpeechByCombinationOutcomeCallable speechByCombinationCallable(const Model::SpeechByCombinationRequest& request) const;
|
||||
@@ -2097,6 +2267,9 @@ namespace AlibabaCloud
|
||||
SyncSpeechByCombinationOutcome syncSpeechByCombination(const Model::SyncSpeechByCombinationRequest &request)const;
|
||||
void syncSpeechByCombinationAsync(const Model::SyncSpeechByCombinationRequest& request, const SyncSpeechByCombinationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SyncSpeechByCombinationOutcomeCallable syncSpeechByCombinationCallable(const Model::SyncSpeechByCombinationRequest& request) const;
|
||||
TestSpeechOutcome testSpeech(const Model::TestSpeechRequest &request)const;
|
||||
void testSpeechAsync(const Model::TestSpeechRequest& request, const TestSpeechAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TestSpeechOutcomeCallable testSpeechCallable(const Model::TestSpeechRequest& request) const;
|
||||
TriggerSceneRuleOutcome triggerSceneRule(const Model::TriggerSceneRuleRequest &request)const;
|
||||
void triggerSceneRuleAsync(const Model::TriggerSceneRuleRequest& request, const TriggerSceneRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TriggerSceneRuleOutcomeCallable triggerSceneRuleCallable(const Model::TriggerSceneRuleRequest& request) const;
|
||||
@@ -2160,6 +2333,9 @@ namespace AlibabaCloud
|
||||
UpdateSceneRuleOutcome updateSceneRule(const Model::UpdateSceneRuleRequest &request)const;
|
||||
void updateSceneRuleAsync(const Model::UpdateSceneRuleRequest& request, const UpdateSceneRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateSceneRuleOutcomeCallable updateSceneRuleCallable(const Model::UpdateSceneRuleRequest& request) const;
|
||||
UpdateSpeechOutcome updateSpeech(const Model::UpdateSpeechRequest &request)const;
|
||||
void updateSpeechAsync(const Model::UpdateSpeechRequest& request, const UpdateSpeechAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateSpeechOutcomeCallable updateSpeechCallable(const Model::UpdateSpeechRequest& request) const;
|
||||
UpdateSubscribeRelationOutcome updateSubscribeRelation(const Model::UpdateSubscribeRelationRequest &request)const;
|
||||
void updateSubscribeRelationAsync(const Model::UpdateSubscribeRelationRequest& request, const UpdateSubscribeRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateSubscribeRelationOutcomeCallable updateSubscribeRelationCallable(const Model::UpdateSubscribeRelationRequest& request) const;
|
||||
|
||||
75
iot/include/alibabacloud/iot/model/CreateSpeechRequest.h
Normal file
75
iot/include/alibabacloud/iot/model/CreateSpeechRequest.h
Normal file
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_CREATESPEECHREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_CREATESPEECHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT CreateSpeechRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateSpeechRequest();
|
||||
~CreateSpeechRequest();
|
||||
|
||||
std::string getVoice()const;
|
||||
void setVoice(const std::string& voice);
|
||||
std::string getProjectCode()const;
|
||||
void setProjectCode(const std::string& projectCode);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
std::string getSpeechType()const;
|
||||
void setSpeechType(const std::string& speechType);
|
||||
int getVolume()const;
|
||||
void setVolume(int volume);
|
||||
std::string getBizCode()const;
|
||||
void setBizCode(const std::string& bizCode);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
int getSpeechRate()const;
|
||||
void setSpeechRate(int speechRate);
|
||||
|
||||
private:
|
||||
std::string voice_;
|
||||
std::string projectCode_;
|
||||
std::string iotInstanceId_;
|
||||
std::string text_;
|
||||
std::string speechType_;
|
||||
int volume_;
|
||||
std::string bizCode_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
int speechRate_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_CREATESPEECHREQUEST_H_
|
||||
57
iot/include/alibabacloud/iot/model/CreateSpeechResult.h
Normal file
57
iot/include/alibabacloud/iot/model/CreateSpeechResult.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_CREATESPEECHRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_CREATESPEECHRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT CreateSpeechResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateSpeechResult();
|
||||
explicit CreateSpeechResult(const std::string &payload);
|
||||
~CreateSpeechResult();
|
||||
std::string getData()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_CREATESPEECHRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_CREATESTUDIOAPPDOMAINOPENREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_CREATESTUDIOAPPDOMAINOPENREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT CreateStudioAppDomainOpenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateStudioAppDomainOpenRequest();
|
||||
~CreateStudioAppDomainOpenRequest();
|
||||
|
||||
std::string getProtocol()const;
|
||||
void setProtocol(const std::string& protocol);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getHost()const;
|
||||
void setHost(const std::string& host);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
std::string protocol_;
|
||||
std::string iotInstanceId_;
|
||||
std::string host_;
|
||||
std::string projectId_;
|
||||
std::string appId_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_CREATESTUDIOAPPDOMAINOPENREQUEST_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_CREATESTUDIOAPPDOMAINOPENRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_CREATESTUDIOAPPDOMAINOPENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT CreateStudioAppDomainOpenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string tenantId;
|
||||
std::string appId;
|
||||
std::string projectId;
|
||||
std::string host;
|
||||
int id;
|
||||
std::string isBeian;
|
||||
std::string protocol;
|
||||
};
|
||||
|
||||
|
||||
CreateStudioAppDomainOpenResult();
|
||||
explicit CreateStudioAppDomainOpenResult(const std::string &payload);
|
||||
~CreateStudioAppDomainOpenResult();
|
||||
Data getData()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_CREATESTUDIOAPPDOMAINOPENRESULT_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_IOT_MODEL_DELETESTUDIOAPPDOMAINOPENREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_DELETESTUDIOAPPDOMAINOPENREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT DeleteStudioAppDomainOpenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteStudioAppDomainOpenRequest();
|
||||
~DeleteStudioAppDomainOpenRequest();
|
||||
|
||||
int getDomainId()const;
|
||||
void setDomainId(int domainId);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
int domainId_;
|
||||
std::string iotInstanceId_;
|
||||
std::string projectId_;
|
||||
std::string appId_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_DELETESTUDIOAPPDOMAINOPENREQUEST_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_IOT_MODEL_DELETESTUDIOAPPDOMAINOPENRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_DELETESTUDIOAPPDOMAINOPENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT DeleteStudioAppDomainOpenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteStudioAppDomainOpenResult();
|
||||
explicit DeleteStudioAppDomainOpenResult(const std::string &payload);
|
||||
~DeleteStudioAppDomainOpenResult();
|
||||
bool getData()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool data_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_DELETESTUDIOAPPDOMAINOPENRESULT_H_
|
||||
51
iot/include/alibabacloud/iot/model/GetSpeechVoiceRequest.h
Normal file
51
iot/include/alibabacloud/iot/model/GetSpeechVoiceRequest.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_GETSPEECHVOICEREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_GETSPEECHVOICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT GetSpeechVoiceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetSpeechVoiceRequest();
|
||||
~GetSpeechVoiceRequest();
|
||||
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_GETSPEECHVOICEREQUEST_H_
|
||||
68
iot/include/alibabacloud/iot/model/GetSpeechVoiceResult.h
Normal file
68
iot/include/alibabacloud/iot/model/GetSpeechVoiceResult.h
Normal file
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_GETSPEECHVOICERESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_GETSPEECHVOICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT GetSpeechVoiceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Items
|
||||
{
|
||||
struct Items1
|
||||
{
|
||||
std::string value;
|
||||
std::string label;
|
||||
};
|
||||
std::vector<Items::Items1> voiceList;
|
||||
std::string value;
|
||||
std::string label;
|
||||
};
|
||||
|
||||
|
||||
GetSpeechVoiceResult();
|
||||
explicit GetSpeechVoiceResult(const std::string &payload);
|
||||
~GetSpeechVoiceResult();
|
||||
std::vector<Items> getData()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Items> data_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_GETSPEECHVOICERESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_GETSTUDIOAPPTOKENOPENREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_GETSTUDIOAPPTOKENOPENREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT GetStudioAppTokenOpenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetStudioAppTokenOpenRequest();
|
||||
~GetStudioAppTokenOpenRequest();
|
||||
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
std::string iotInstanceId_;
|
||||
std::string projectId_;
|
||||
std::string appId_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_GETSTUDIOAPPTOKENOPENREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_GETSTUDIOAPPTOKENOPENRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_GETSTUDIOAPPTOKENOPENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT GetStudioAppTokenOpenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string isEnable;
|
||||
std::string type;
|
||||
std::string bizType;
|
||||
std::string token;
|
||||
std::string bizId;
|
||||
};
|
||||
|
||||
|
||||
GetStudioAppTokenOpenResult();
|
||||
explicit GetStudioAppTokenOpenResult(const std::string &payload);
|
||||
~GetStudioAppTokenOpenResult();
|
||||
Data getData()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_GETSTUDIOAPPTOKENOPENRESULT_H_
|
||||
63
iot/include/alibabacloud/iot/model/PublishStudioAppRequest.h
Normal file
63
iot/include/alibabacloud/iot/model/PublishStudioAppRequest.h
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_PUBLISHSTUDIOAPPREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_PUBLISHSTUDIOAPPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT PublishStudioAppRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PublishStudioAppRequest();
|
||||
~PublishStudioAppRequest();
|
||||
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string iotInstanceId_;
|
||||
std::string projectId_;
|
||||
std::string appId_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_PUBLISHSTUDIOAPPREQUEST_H_
|
||||
57
iot/include/alibabacloud/iot/model/PublishStudioAppResult.h
Normal file
57
iot/include/alibabacloud/iot/model/PublishStudioAppResult.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_PUBLISHSTUDIOAPPRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_PUBLISHSTUDIOAPPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT PublishStudioAppResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PublishStudioAppResult();
|
||||
explicit PublishStudioAppResult(const std::string &payload);
|
||||
~PublishStudioAppResult();
|
||||
bool getData()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool data_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_PUBLISHSTUDIOAPPRESULT_H_
|
||||
75
iot/include/alibabacloud/iot/model/PushSpeechRequest.h
Normal file
75
iot/include/alibabacloud/iot/model/PushSpeechRequest.h
Normal file
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_PUSHSPEECHREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_PUSHSPEECHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT PushSpeechRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PushSpeechRequest();
|
||||
~PushSpeechRequest();
|
||||
|
||||
std::string getProjectCode()const;
|
||||
void setProjectCode(const std::string& projectCode);
|
||||
std::string getIotId()const;
|
||||
void setIotId(const std::string& iotId);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
std::string getPushMode()const;
|
||||
void setPushMode(const std::string& pushMode);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::vector<std::string> getSpeechCodeList()const;
|
||||
void setSpeechCodeList(const std::vector<std::string>& speechCodeList);
|
||||
std::string getProductKey()const;
|
||||
void setProductKey(const std::string& productKey);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
std::string getDeviceName()const;
|
||||
void setDeviceName(const std::string& deviceName);
|
||||
|
||||
private:
|
||||
std::string projectCode_;
|
||||
std::string iotId_;
|
||||
std::string iotInstanceId_;
|
||||
std::string pushMode_;
|
||||
std::string groupId_;
|
||||
std::vector<std::string> speechCodeList_;
|
||||
std::string productKey_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
std::string deviceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_PUSHSPEECHREQUEST_H_
|
||||
57
iot/include/alibabacloud/iot/model/PushSpeechResult.h
Normal file
57
iot/include/alibabacloud/iot/model/PushSpeechResult.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_PUSHSPEECHRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_PUSHSPEECHRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT PushSpeechResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PushSpeechResult();
|
||||
explicit PushSpeechResult(const std::string &payload);
|
||||
~PushSpeechResult();
|
||||
std::string getData()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_PUSHSPEECHRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_QUERYSOLUTIONDEVICEGROUPPAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_QUERYSOLUTIONDEVICEGROUPPAGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT QuerySolutionDeviceGroupPageRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QuerySolutionDeviceGroupPageRequest();
|
||||
~QuerySolutionDeviceGroupPageRequest();
|
||||
|
||||
std::string getFuzzyGroupName()const;
|
||||
void setFuzzyGroupName(const std::string& fuzzyGroupName);
|
||||
std::string getProjectCode()const;
|
||||
void setProjectCode(const std::string& projectCode);
|
||||
int getPageId()const;
|
||||
void setPageId(int pageId);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
std::string fuzzyGroupName_;
|
||||
std::string projectCode_;
|
||||
int pageId_;
|
||||
std::string iotInstanceId_;
|
||||
int pageSize_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYSOLUTIONDEVICEGROUPPAGEREQUEST_H_
|
||||
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_QUERYSOLUTIONDEVICEGROUPPAGERESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_QUERYSOLUTIONDEVICEGROUPPAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT QuerySolutionDeviceGroupPageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct ItemName
|
||||
{
|
||||
std::string groupName;
|
||||
long gmtCreate;
|
||||
std::string groupDesc;
|
||||
long gmtModified;
|
||||
std::string groupId;
|
||||
long deviceCount;
|
||||
};
|
||||
int pageId;
|
||||
int pageSize;
|
||||
int total;
|
||||
std::vector<ItemName> list;
|
||||
};
|
||||
|
||||
|
||||
QuerySolutionDeviceGroupPageResult();
|
||||
explicit QuerySolutionDeviceGroupPageResult(const std::string &payload);
|
||||
~QuerySolutionDeviceGroupPageResult();
|
||||
Data getData()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYSOLUTIONDEVICEGROUPPAGERESULT_H_
|
||||
63
iot/include/alibabacloud/iot/model/QuerySpeechListRequest.h
Normal file
63
iot/include/alibabacloud/iot/model/QuerySpeechListRequest.h
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_QUERYSPEECHLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_QUERYSPEECHLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT QuerySpeechListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QuerySpeechListRequest();
|
||||
~QuerySpeechListRequest();
|
||||
|
||||
std::string getProjectCode()const;
|
||||
void setProjectCode(const std::string& projectCode);
|
||||
int getPageId()const;
|
||||
void setPageId(int pageId);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
std::string projectCode_;
|
||||
int pageId_;
|
||||
std::string iotInstanceId_;
|
||||
int pageSize_;
|
||||
std::string apiProduct_;
|
||||
std::string apiRevision_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYSPEECHLISTREQUEST_H_
|
||||
80
iot/include/alibabacloud/iot/model/QuerySpeechListResult.h
Normal file
80
iot/include/alibabacloud/iot/model/QuerySpeechListResult.h
Normal file
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_QUERYSPEECHLISTRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_QUERYSPEECHLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT QuerySpeechListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Items
|
||||
{
|
||||
struct Items1
|
||||
{
|
||||
std::string speechCode;
|
||||
std::string text;
|
||||
std::string voice;
|
||||
std::string bizCode;
|
||||
};
|
||||
std::string speechType;
|
||||
std::vector<Items::Items1> speechList;
|
||||
std::string speechCode;
|
||||
std::string text;
|
||||
std::string voice;
|
||||
std::string bizCode;
|
||||
};
|
||||
int pageId;
|
||||
int pageSize;
|
||||
int total;
|
||||
std::vector<Items> list;
|
||||
};
|
||||
|
||||
|
||||
QuerySpeechListResult();
|
||||
explicit QuerySpeechListResult(const std::string &payload);
|
||||
~QuerySpeechListResult();
|
||||
Data getData()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYSPEECHLISTRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_QUERYSPEECHPUSHJOBDEVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_QUERYSPEECHPUSHJOBDEVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT QuerySpeechPushJobDeviceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QuerySpeechPushJobDeviceRequest();
|
||||
~QuerySpeechPushJobDeviceRequest();
|
||||
|
||||
int getPageId()const;
|
||||
void setPageId(int pageId);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getJobCode()const;
|
||||
void setJobCode(const std::string& jobCode);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
std::string getDeviceName()const;
|
||||
void setDeviceName(const std::string& deviceName);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
int pageId_;
|
||||
std::string iotInstanceId_;
|
||||
int pageSize_;
|
||||
std::string apiProduct_;
|
||||
std::string jobCode_;
|
||||
std::string apiRevision_;
|
||||
std::string deviceName_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYSPEECHPUSHJOBDEVICEREQUEST_H_
|
||||
@@ -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_IOT_MODEL_QUERYSPEECHPUSHJOBDEVICERESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_QUERYSPEECHPUSHJOBDEVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT QuerySpeechPushJobDeviceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Items
|
||||
{
|
||||
std::string status;
|
||||
long gmtModified;
|
||||
std::string errorCode;
|
||||
std::string errorMessage;
|
||||
std::string deviceName;
|
||||
};
|
||||
int pageId;
|
||||
int pageSize;
|
||||
int total;
|
||||
std::vector<Items> list;
|
||||
};
|
||||
|
||||
|
||||
QuerySpeechPushJobDeviceResult();
|
||||
explicit QuerySpeechPushJobDeviceResult(const std::string &payload);
|
||||
~QuerySpeechPushJobDeviceResult();
|
||||
Data getData()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYSPEECHPUSHJOBDEVICERESULT_H_
|
||||
@@ -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_IOT_MODEL_QUERYSPEECHPUSHJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_QUERYSPEECHPUSHJOBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT QuerySpeechPushJobRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QuerySpeechPushJobRequest();
|
||||
~QuerySpeechPushJobRequest();
|
||||
|
||||
std::vector<std::string> getStatusList()const;
|
||||
void setStatusList(const std::vector<std::string>& statusList);
|
||||
std::string getProjectCode()const;
|
||||
void setProjectCode(const std::string& projectCode);
|
||||
int getPageId()const;
|
||||
void setPageId(int pageId);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getPushMode()const;
|
||||
void setPushMode(const std::string& pushMode);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getJobCode()const;
|
||||
void setJobCode(const std::string& jobCode);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
std::vector<std::string> statusList_;
|
||||
std::string projectCode_;
|
||||
int pageId_;
|
||||
std::string iotInstanceId_;
|
||||
int pageSize_;
|
||||
std::string pushMode_;
|
||||
std::string apiProduct_;
|
||||
std::string jobCode_;
|
||||
std::string apiRevision_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYSPEECHPUSHJOBREQUEST_H_
|
||||
@@ -0,0 +1,83 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_QUERYSPEECHPUSHJOBRESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_QUERYSPEECHPUSHJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT QuerySpeechPushJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Items
|
||||
{
|
||||
std::string status;
|
||||
std::string groupName;
|
||||
int speechNum;
|
||||
long createdTime;
|
||||
int totalDeviceNum;
|
||||
int successDeviceNum;
|
||||
int runningDeviceNum;
|
||||
std::string code;
|
||||
int failDeviceNum;
|
||||
std::string pushMode;
|
||||
std::string groupId;
|
||||
std::string iotId;
|
||||
long expiredTime;
|
||||
bool speechStatus;
|
||||
std::string productKey;
|
||||
std::string deviceName;
|
||||
};
|
||||
int pageId;
|
||||
int pageSize;
|
||||
int total;
|
||||
std::vector<Items> list;
|
||||
};
|
||||
|
||||
|
||||
QuerySpeechPushJobResult();
|
||||
explicit QuerySpeechPushJobResult(const std::string &payload);
|
||||
~QuerySpeechPushJobResult();
|
||||
Data getData()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
std::string errorMessage_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYSPEECHPUSHJOBRESULT_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_IOT_MODEL_QUERYSPEECHPUSHJOBSPEECHREQUEST_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_QUERYSPEECHPUSHJOBSPEECHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT QuerySpeechPushJobSpeechRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QuerySpeechPushJobSpeechRequest();
|
||||
~QuerySpeechPushJobSpeechRequest();
|
||||
|
||||
int getPageId()const;
|
||||
void setPageId(int pageId);
|
||||
std::string getIotInstanceId()const;
|
||||
void setIotInstanceId(const std::string& iotInstanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getApiProduct()const;
|
||||
void setApiProduct(const std::string& apiProduct);
|
||||
std::string getJobCode()const;
|
||||
void setJobCode(const std::string& jobCode);
|
||||
std::string getApiRevision()const;
|
||||
void setApiRevision(const std::string& apiRevision);
|
||||
|
||||
private:
|
||||
int pageId_;
|
||||
std::string iotInstanceId_;
|
||||
int pageSize_;
|
||||
std::string apiProduct_;
|
||||
std::string jobCode_;
|
||||
std::string apiRevision_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_QUERYSPEECHPUSHJOBSPEECHREQUEST_H_
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user