Compare commits

...

7 Commits

Author SHA1 Message Date
sdk-team
4d618db251 Add result value spanId for GetTrace api. 2021-01-15 12:29:31 +00:00
sdk-team
5def51b35c Update Function. 2021-01-15 08:43:24 +00:00
sdk-team
740062e96f Update Function. 2021-01-15 06:40:36 +00:00
sdk-team
2d49d2072f Add API CreateSortScriptValidation. 2021-01-15 03:59:05 +00:00
sdk-team
1794d57757 Remove drcGuidRouteApi, ModifyDtsJobPassword API. 2021-01-15 03:25:16 +00:00
sdk-team
2f7735992b Generated 2016-11-01 for live. 2021-01-15 01:37:20 +00:00
sdk-team
c97337aa82 Add function. 2021-01-14 11:04:54 +00:00
515 changed files with 35063 additions and 36 deletions

View File

@@ -1,3 +1,25 @@
2021-01-15 Version: patch
- Add result value spanId for GetTrace api.
2021-01-15 Version: patch
- Update Function.
2021-01-15 Version: patch
- Update Function.
2021-01-15 Version: patch
- Add API CreateSortScriptValidation.
- Add parameter resourceGroupId to API ListAppGroups.
2021-01-15 Version: patch
- Remove drcGuidRouteApi, ModifyDtsJobPassword API.
2021-01-15 Version: patch
- Generated 2016-11-01 for `live`.
2021-01-14 Version: patch
- Add function.
2021-01-14 Version: patch
- Add BillingDate support in QueryAccontBill.
- Add SplitAccountId, SplitAccountName, SplitBillingCycle, SplitProductDetail, SplitCommodityCode, ServicePeriodUnit support in QuerySplitItemBill.

View File

@@ -27,10 +27,14 @@ set(cdrs_public_header_model
include/alibabacloud/cdrs/model/BindDeviceResult.h
include/alibabacloud/cdrs/model/CreateProjectRequest.h
include/alibabacloud/cdrs/model/CreateProjectResult.h
include/alibabacloud/cdrs/model/DetectTrajectoryRegularPatternRequest.h
include/alibabacloud/cdrs/model/DetectTrajectoryRegularPatternResult.h
include/alibabacloud/cdrs/model/GetCdrsMonitorListRequest.h
include/alibabacloud/cdrs/model/GetCdrsMonitorListResult.h
include/alibabacloud/cdrs/model/GetCdrsMonitorResultRequest.h
include/alibabacloud/cdrs/model/GetCdrsMonitorResultResult.h
include/alibabacloud/cdrs/model/IntersectTrajectoryRequest.h
include/alibabacloud/cdrs/model/IntersectTrajectoryResult.h
include/alibabacloud/cdrs/model/ListAreaHotSpotMetricsRequest.h
include/alibabacloud/cdrs/model/ListAreaHotSpotMetricsResult.h
include/alibabacloud/cdrs/model/ListCityMapAoisRequest.h
@@ -103,6 +107,14 @@ set(cdrs_public_header_model
include/alibabacloud/cdrs/model/PaginateDeviceResult.h
include/alibabacloud/cdrs/model/PaginateProjectRequest.h
include/alibabacloud/cdrs/model/PaginateProjectResult.h
include/alibabacloud/cdrs/model/PredictTrajectoryDestinationRequest.h
include/alibabacloud/cdrs/model/PredictTrajectoryDestinationResult.h
include/alibabacloud/cdrs/model/QueryTrajectoryByIdRequest.h
include/alibabacloud/cdrs/model/QueryTrajectoryByIdResult.h
include/alibabacloud/cdrs/model/RecallTrajectoryByCoordinateRequest.h
include/alibabacloud/cdrs/model/RecallTrajectoryByCoordinateResult.h
include/alibabacloud/cdrs/model/RecallTrajectoryByIdRequest.h
include/alibabacloud/cdrs/model/RecallTrajectoryByIdResult.h
include/alibabacloud/cdrs/model/RecognizeImageRequest.h
include/alibabacloud/cdrs/model/RecognizeImageResult.h
include/alibabacloud/cdrs/model/SearchObjectRequest.h
@@ -114,7 +126,9 @@ set(cdrs_public_header_model
include/alibabacloud/cdrs/model/UpdateCdrsMonitorRequest.h
include/alibabacloud/cdrs/model/UpdateCdrsMonitorResult.h
include/alibabacloud/cdrs/model/UpdateProjectRequest.h
include/alibabacloud/cdrs/model/UpdateProjectResult.h )
include/alibabacloud/cdrs/model/UpdateProjectResult.h
include/alibabacloud/cdrs/model/ValidateTrajectoryRequest.h
include/alibabacloud/cdrs/model/ValidateTrajectoryResult.h )
set(cdrs_src
src/CDRSClient.cc
@@ -124,10 +138,14 @@ set(cdrs_src
src/model/BindDeviceResult.cc
src/model/CreateProjectRequest.cc
src/model/CreateProjectResult.cc
src/model/DetectTrajectoryRegularPatternRequest.cc
src/model/DetectTrajectoryRegularPatternResult.cc
src/model/GetCdrsMonitorListRequest.cc
src/model/GetCdrsMonitorListResult.cc
src/model/GetCdrsMonitorResultRequest.cc
src/model/GetCdrsMonitorResultResult.cc
src/model/IntersectTrajectoryRequest.cc
src/model/IntersectTrajectoryResult.cc
src/model/ListAreaHotSpotMetricsRequest.cc
src/model/ListAreaHotSpotMetricsResult.cc
src/model/ListCityMapAoisRequest.cc
@@ -200,6 +218,14 @@ set(cdrs_src
src/model/PaginateDeviceResult.cc
src/model/PaginateProjectRequest.cc
src/model/PaginateProjectResult.cc
src/model/PredictTrajectoryDestinationRequest.cc
src/model/PredictTrajectoryDestinationResult.cc
src/model/QueryTrajectoryByIdRequest.cc
src/model/QueryTrajectoryByIdResult.cc
src/model/RecallTrajectoryByCoordinateRequest.cc
src/model/RecallTrajectoryByCoordinateResult.cc
src/model/RecallTrajectoryByIdRequest.cc
src/model/RecallTrajectoryByIdResult.cc
src/model/RecognizeImageRequest.cc
src/model/RecognizeImageResult.cc
src/model/SearchObjectRequest.cc
@@ -211,7 +237,9 @@ set(cdrs_src
src/model/UpdateCdrsMonitorRequest.cc
src/model/UpdateCdrsMonitorResult.cc
src/model/UpdateProjectRequest.cc
src/model/UpdateProjectResult.cc )
src/model/UpdateProjectResult.cc
src/model/ValidateTrajectoryRequest.cc
src/model/ValidateTrajectoryResult.cc )
add_library(cdrs ${LIB_TYPE}
${cdrs_public_header}

View File

@@ -28,10 +28,14 @@
#include "model/BindDeviceResult.h"
#include "model/CreateProjectRequest.h"
#include "model/CreateProjectResult.h"
#include "model/DetectTrajectoryRegularPatternRequest.h"
#include "model/DetectTrajectoryRegularPatternResult.h"
#include "model/GetCdrsMonitorListRequest.h"
#include "model/GetCdrsMonitorListResult.h"
#include "model/GetCdrsMonitorResultRequest.h"
#include "model/GetCdrsMonitorResultResult.h"
#include "model/IntersectTrajectoryRequest.h"
#include "model/IntersectTrajectoryResult.h"
#include "model/ListAreaHotSpotMetricsRequest.h"
#include "model/ListAreaHotSpotMetricsResult.h"
#include "model/ListCityMapAoisRequest.h"
@@ -104,6 +108,14 @@
#include "model/PaginateDeviceResult.h"
#include "model/PaginateProjectRequest.h"
#include "model/PaginateProjectResult.h"
#include "model/PredictTrajectoryDestinationRequest.h"
#include "model/PredictTrajectoryDestinationResult.h"
#include "model/QueryTrajectoryByIdRequest.h"
#include "model/QueryTrajectoryByIdResult.h"
#include "model/RecallTrajectoryByCoordinateRequest.h"
#include "model/RecallTrajectoryByCoordinateResult.h"
#include "model/RecallTrajectoryByIdRequest.h"
#include "model/RecallTrajectoryByIdResult.h"
#include "model/RecognizeImageRequest.h"
#include "model/RecognizeImageResult.h"
#include "model/SearchObjectRequest.h"
@@ -116,6 +128,8 @@
#include "model/UpdateCdrsMonitorResult.h"
#include "model/UpdateProjectRequest.h"
#include "model/UpdateProjectResult.h"
#include "model/ValidateTrajectoryRequest.h"
#include "model/ValidateTrajectoryResult.h"
namespace AlibabaCloud
@@ -134,12 +148,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateProjectResult> CreateProjectOutcome;
typedef std::future<CreateProjectOutcome> CreateProjectOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::CreateProjectRequest&, const CreateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateProjectAsyncHandler;
typedef Outcome<Error, Model::DetectTrajectoryRegularPatternResult> DetectTrajectoryRegularPatternOutcome;
typedef std::future<DetectTrajectoryRegularPatternOutcome> DetectTrajectoryRegularPatternOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::DetectTrajectoryRegularPatternRequest&, const DetectTrajectoryRegularPatternOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectTrajectoryRegularPatternAsyncHandler;
typedef Outcome<Error, Model::GetCdrsMonitorListResult> GetCdrsMonitorListOutcome;
typedef std::future<GetCdrsMonitorListOutcome> GetCdrsMonitorListOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::GetCdrsMonitorListRequest&, const GetCdrsMonitorListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCdrsMonitorListAsyncHandler;
typedef Outcome<Error, Model::GetCdrsMonitorResultResult> GetCdrsMonitorResultOutcome;
typedef std::future<GetCdrsMonitorResultOutcome> GetCdrsMonitorResultOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::GetCdrsMonitorResultRequest&, const GetCdrsMonitorResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCdrsMonitorResultAsyncHandler;
typedef Outcome<Error, Model::IntersectTrajectoryResult> IntersectTrajectoryOutcome;
typedef std::future<IntersectTrajectoryOutcome> IntersectTrajectoryOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::IntersectTrajectoryRequest&, const IntersectTrajectoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> IntersectTrajectoryAsyncHandler;
typedef Outcome<Error, Model::ListAreaHotSpotMetricsResult> ListAreaHotSpotMetricsOutcome;
typedef std::future<ListAreaHotSpotMetricsOutcome> ListAreaHotSpotMetricsOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::ListAreaHotSpotMetricsRequest&, const ListAreaHotSpotMetricsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAreaHotSpotMetricsAsyncHandler;
@@ -248,6 +268,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::PaginateProjectResult> PaginateProjectOutcome;
typedef std::future<PaginateProjectOutcome> PaginateProjectOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::PaginateProjectRequest&, const PaginateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PaginateProjectAsyncHandler;
typedef Outcome<Error, Model::PredictTrajectoryDestinationResult> PredictTrajectoryDestinationOutcome;
typedef std::future<PredictTrajectoryDestinationOutcome> PredictTrajectoryDestinationOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::PredictTrajectoryDestinationRequest&, const PredictTrajectoryDestinationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PredictTrajectoryDestinationAsyncHandler;
typedef Outcome<Error, Model::QueryTrajectoryByIdResult> QueryTrajectoryByIdOutcome;
typedef std::future<QueryTrajectoryByIdOutcome> QueryTrajectoryByIdOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::QueryTrajectoryByIdRequest&, const QueryTrajectoryByIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryTrajectoryByIdAsyncHandler;
typedef Outcome<Error, Model::RecallTrajectoryByCoordinateResult> RecallTrajectoryByCoordinateOutcome;
typedef std::future<RecallTrajectoryByCoordinateOutcome> RecallTrajectoryByCoordinateOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::RecallTrajectoryByCoordinateRequest&, const RecallTrajectoryByCoordinateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RecallTrajectoryByCoordinateAsyncHandler;
typedef Outcome<Error, Model::RecallTrajectoryByIdResult> RecallTrajectoryByIdOutcome;
typedef std::future<RecallTrajectoryByIdOutcome> RecallTrajectoryByIdOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::RecallTrajectoryByIdRequest&, const RecallTrajectoryByIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RecallTrajectoryByIdAsyncHandler;
typedef Outcome<Error, Model::RecognizeImageResult> RecognizeImageOutcome;
typedef std::future<RecognizeImageOutcome> RecognizeImageOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::RecognizeImageRequest&, const RecognizeImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RecognizeImageAsyncHandler;
@@ -266,6 +298,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UpdateProjectResult> UpdateProjectOutcome;
typedef std::future<UpdateProjectOutcome> UpdateProjectOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::UpdateProjectRequest&, const UpdateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateProjectAsyncHandler;
typedef Outcome<Error, Model::ValidateTrajectoryResult> ValidateTrajectoryOutcome;
typedef std::future<ValidateTrajectoryOutcome> ValidateTrajectoryOutcomeCallable;
typedef std::function<void(const CDRSClient*, const Model::ValidateTrajectoryRequest&, const ValidateTrajectoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ValidateTrajectoryAsyncHandler;
CDRSClient(const Credentials &credentials, const ClientConfiguration &configuration);
CDRSClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
@@ -280,12 +315,18 @@ namespace AlibabaCloud
CreateProjectOutcome createProject(const Model::CreateProjectRequest &request)const;
void createProjectAsync(const Model::CreateProjectRequest& request, const CreateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateProjectOutcomeCallable createProjectCallable(const Model::CreateProjectRequest& request) const;
DetectTrajectoryRegularPatternOutcome detectTrajectoryRegularPattern(const Model::DetectTrajectoryRegularPatternRequest &request)const;
void detectTrajectoryRegularPatternAsync(const Model::DetectTrajectoryRegularPatternRequest& request, const DetectTrajectoryRegularPatternAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DetectTrajectoryRegularPatternOutcomeCallable detectTrajectoryRegularPatternCallable(const Model::DetectTrajectoryRegularPatternRequest& request) const;
GetCdrsMonitorListOutcome getCdrsMonitorList(const Model::GetCdrsMonitorListRequest &request)const;
void getCdrsMonitorListAsync(const Model::GetCdrsMonitorListRequest& request, const GetCdrsMonitorListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCdrsMonitorListOutcomeCallable getCdrsMonitorListCallable(const Model::GetCdrsMonitorListRequest& request) const;
GetCdrsMonitorResultOutcome getCdrsMonitorResult(const Model::GetCdrsMonitorResultRequest &request)const;
void getCdrsMonitorResultAsync(const Model::GetCdrsMonitorResultRequest& request, const GetCdrsMonitorResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCdrsMonitorResultOutcomeCallable getCdrsMonitorResultCallable(const Model::GetCdrsMonitorResultRequest& request) const;
IntersectTrajectoryOutcome intersectTrajectory(const Model::IntersectTrajectoryRequest &request)const;
void intersectTrajectoryAsync(const Model::IntersectTrajectoryRequest& request, const IntersectTrajectoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
IntersectTrajectoryOutcomeCallable intersectTrajectoryCallable(const Model::IntersectTrajectoryRequest& request) const;
ListAreaHotSpotMetricsOutcome listAreaHotSpotMetrics(const Model::ListAreaHotSpotMetricsRequest &request)const;
void listAreaHotSpotMetricsAsync(const Model::ListAreaHotSpotMetricsRequest& request, const ListAreaHotSpotMetricsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAreaHotSpotMetricsOutcomeCallable listAreaHotSpotMetricsCallable(const Model::ListAreaHotSpotMetricsRequest& request) const;
@@ -394,6 +435,18 @@ namespace AlibabaCloud
PaginateProjectOutcome paginateProject(const Model::PaginateProjectRequest &request)const;
void paginateProjectAsync(const Model::PaginateProjectRequest& request, const PaginateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PaginateProjectOutcomeCallable paginateProjectCallable(const Model::PaginateProjectRequest& request) const;
PredictTrajectoryDestinationOutcome predictTrajectoryDestination(const Model::PredictTrajectoryDestinationRequest &request)const;
void predictTrajectoryDestinationAsync(const Model::PredictTrajectoryDestinationRequest& request, const PredictTrajectoryDestinationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PredictTrajectoryDestinationOutcomeCallable predictTrajectoryDestinationCallable(const Model::PredictTrajectoryDestinationRequest& request) const;
QueryTrajectoryByIdOutcome queryTrajectoryById(const Model::QueryTrajectoryByIdRequest &request)const;
void queryTrajectoryByIdAsync(const Model::QueryTrajectoryByIdRequest& request, const QueryTrajectoryByIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryTrajectoryByIdOutcomeCallable queryTrajectoryByIdCallable(const Model::QueryTrajectoryByIdRequest& request) const;
RecallTrajectoryByCoordinateOutcome recallTrajectoryByCoordinate(const Model::RecallTrajectoryByCoordinateRequest &request)const;
void recallTrajectoryByCoordinateAsync(const Model::RecallTrajectoryByCoordinateRequest& request, const RecallTrajectoryByCoordinateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RecallTrajectoryByCoordinateOutcomeCallable recallTrajectoryByCoordinateCallable(const Model::RecallTrajectoryByCoordinateRequest& request) const;
RecallTrajectoryByIdOutcome recallTrajectoryById(const Model::RecallTrajectoryByIdRequest &request)const;
void recallTrajectoryByIdAsync(const Model::RecallTrajectoryByIdRequest& request, const RecallTrajectoryByIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RecallTrajectoryByIdOutcomeCallable recallTrajectoryByIdCallable(const Model::RecallTrajectoryByIdRequest& request) const;
RecognizeImageOutcome recognizeImage(const Model::RecognizeImageRequest &request)const;
void recognizeImageAsync(const Model::RecognizeImageRequest& request, const RecognizeImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RecognizeImageOutcomeCallable recognizeImageCallable(const Model::RecognizeImageRequest& request) const;
@@ -412,6 +465,9 @@ namespace AlibabaCloud
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;
ValidateTrajectoryOutcome validateTrajectory(const Model::ValidateTrajectoryRequest &request)const;
void validateTrajectoryAsync(const Model::ValidateTrajectoryRequest& request, const ValidateTrajectoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ValidateTrajectoryOutcomeCallable validateTrajectoryCallable(const Model::ValidateTrajectoryRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDRS_MODEL_DETECTTRAJECTORYREGULARPATTERNREQUEST_H_
#define ALIBABACLOUD_CDRS_MODEL_DETECTTRAJECTORYREGULARPATTERNREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cdrs/CDRSExport.h>
namespace AlibabaCloud
{
namespace CDRS
{
namespace Model
{
class ALIBABACLOUD_CDRS_EXPORT DetectTrajectoryRegularPatternRequest : public RpcServiceRequest
{
public:
DetectTrajectoryRegularPatternRequest();
~DetectTrajectoryRegularPatternRequest();
std::string getPredictDate()const;
void setPredictDate(const std::string& predictDate);
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getIdValue()const;
void setIdValue(const std::string& idValue);
std::string getIdType()const;
void setIdType(const std::string& idType);
private:
std::string predictDate_;
std::string corpId_;
std::string idValue_;
std::string idType_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_DETECTTRAJECTORYREGULARPATTERNREQUEST_H_

View File

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

View File

@@ -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_CDRS_MODEL_INTERSECTTRAJECTORYREQUEST_H_
#define ALIBABACLOUD_CDRS_MODEL_INTERSECTTRAJECTORYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cdrs/CDRSExport.h>
namespace AlibabaCloud
{
namespace CDRS
{
namespace Model
{
class ALIBABACLOUD_CDRS_EXPORT IntersectTrajectoryRequest : public RpcServiceRequest
{
public:
struct IdList
{
std::string idType;
std::string idValue;
};
public:
IntersectTrajectoryRequest();
~IntersectTrajectoryRequest();
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
int getDeltaDistance()const;
void setDeltaDistance(int deltaDistance);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
int getDeltaTime()const;
void setDeltaTime(int deltaTime);
std::vector<IdList> getIdList()const;
void setIdList(const std::vector<IdList>& idList);
private:
std::string corpId_;
std::string endTime_;
int deltaDistance_;
std::string startTime_;
int deltaTime_;
std::vector<IdList> idList_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_INTERSECTTRAJECTORYREQUEST_H_

View File

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

View File

@@ -35,16 +35,18 @@ namespace AlibabaCloud
struct DataItem
{
std::string startTargetImage;
std::string sourceUrl;
std::string startSourceImage;
std::string corpId;
std::string personId;
std::string deviceId;
std::string endTargetImage;
std::string startTime;
std::string endSourceImage;
std::string targetUrl;
std::string date;
std::string lastTime;
std::string groupId;
std::string personId;
std::string endSourceImage;
std::string lastTime;
};

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
ListPersonDetailsRequest();
~ListPersonDetailsRequest();
std::string getSchema()const;
void setSchema(const std::string& schema);
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getEndTime()const;
@@ -49,6 +51,7 @@ namespace AlibabaCloud
void setPersonId(const std::string& personId);
private:
std::string schema_;
std::string corpId_;
std::string endTime_;
std::string startTime_;

View File

@@ -35,12 +35,14 @@ namespace AlibabaCloud
struct Datas
{
std::string profession;
std::string sourceUrl;
std::string personId;
std::string address;
std::string transportation;
std::string updateTime;
std::string personType;
std::string gender;
std::string targetUrl;
std::string age;
std::string hotSpotAddress;
};

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
ListPersonTagRequest();
~ListPersonTagRequest();
std::string getSchema()const;
void setSchema(const std::string& schema);
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
long getPageNumber()const;
@@ -45,6 +47,7 @@ namespace AlibabaCloud
void setPageSize(long pageSize);
private:
std::string schema_;
std::string corpId_;
long pageNumber_;
std::string tagCode_;

View File

@@ -35,19 +35,28 @@ namespace AlibabaCloud
ListPersonTopRequest();
~ListPersonTopRequest();
std::string getSchema()const;
void setSchema(const std::string& schema);
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getPageNumber()const;
void setPageNumber(const std::string& pageNumber);
std::string getPageSize()const;
void setPageSize(const std::string& pageSize);
std::string getPersonId()const;
void setPersonId(const std::string& personId);
private:
std::string schema_;
std::string corpId_;
std::string endTime_;
std::string startTime_;
std::string pageNumber_;
std::string pageSize_;
std::string personId_;
};

View File

@@ -32,7 +32,7 @@ namespace AlibabaCloud
class ALIBABACLOUD_CDRS_EXPORT ListPersonTopResult : public ServiceResult
{
public:
struct Datas
struct DataItem
{
std::string corpId;
std::string personId;
@@ -50,7 +50,7 @@ namespace AlibabaCloud
std::string getMessage()const;
long getPageSize()const;
long getPageNumber()const;
std::vector<Datas> getData()const;
std::vector<DataItem> getData()const;
std::string getCode()const;
protected:
@@ -60,7 +60,7 @@ namespace AlibabaCloud
std::string message_;
long pageSize_;
long pageNumber_;
std::vector<Datas> data_;
std::vector<DataItem> data_;
std::string code_;
};

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
ListPersonTrackRequest();
~ListPersonTrackRequest();
std::string getSchema()const;
void setSchema(const std::string& schema);
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getEndTime()const;
@@ -49,6 +51,7 @@ namespace AlibabaCloud
void setPersonId(const std::string& personId);
private:
std::string schema_;
std::string corpId_;
std::string endTime_;
std::string startTime_;

View File

@@ -36,11 +36,13 @@ namespace AlibabaCloud
{
std::string order;
std::string picUrlPath;
std::string sourceUrl;
std::string corpId;
std::string rightBottomX;
std::string targetPicUrlPath;
std::string rightBottomY;
std::string latitude;
std::string targetUrl;
std::string leftTopY;
std::string leftTopX;
std::string longitude;

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDRS_MODEL_PREDICTTRAJECTORYDESTINATIONREQUEST_H_
#define ALIBABACLOUD_CDRS_MODEL_PREDICTTRAJECTORYDESTINATIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cdrs/CDRSExport.h>
namespace AlibabaCloud
{
namespace CDRS
{
namespace Model
{
class ALIBABACLOUD_CDRS_EXPORT PredictTrajectoryDestinationRequest : public RpcServiceRequest
{
public:
PredictTrajectoryDestinationRequest();
~PredictTrajectoryDestinationRequest();
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getIdValue()const;
void setIdValue(const std::string& idValue);
std::string getIdType()const;
void setIdType(const std::string& idType);
int getPredictTimeSpan()const;
void setPredictTimeSpan(int predictTimeSpan);
private:
std::string corpId_;
std::string idValue_;
std::string idType_;
int predictTimeSpan_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_PREDICTTRAJECTORYDESTINATIONREQUEST_H_

View File

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

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDRS_MODEL_QUERYTRAJECTORYBYIDREQUEST_H_
#define ALIBABACLOUD_CDRS_MODEL_QUERYTRAJECTORYBYIDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cdrs/CDRSExport.h>
namespace AlibabaCloud
{
namespace CDRS
{
namespace Model
{
class ALIBABACLOUD_CDRS_EXPORT QueryTrajectoryByIdRequest : public RpcServiceRequest
{
public:
struct DeviceList
{
std::string deviceId;
};
struct IdList
{
std::string idType;
std::string idValue;
};
public:
QueryTrajectoryByIdRequest();
~QueryTrajectoryByIdRequest();
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::vector<DeviceList> getDeviceList()const;
void setDeviceList(const std::vector<DeviceList>& deviceList);
std::vector<IdList> getIdList()const;
void setIdList(const std::vector<IdList>& idList);
private:
std::string corpId_;
std::string endTime_;
std::string startTime_;
std::vector<DeviceList> deviceList_;
std::vector<IdList> idList_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_QUERYTRAJECTORYBYIDREQUEST_H_

View File

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

View 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_CDRS_MODEL_RECALLTRAJECTORYBYCOORDINATEREQUEST_H_
#define ALIBABACLOUD_CDRS_MODEL_RECALLTRAJECTORYBYCOORDINATEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cdrs/CDRSExport.h>
namespace AlibabaCloud
{
namespace CDRS
{
namespace Model
{
class ALIBABACLOUD_CDRS_EXPORT RecallTrajectoryByCoordinateRequest : public RpcServiceRequest
{
public:
struct PointList
{
float latitude;
float longitude;
};
public:
RecallTrajectoryByCoordinateRequest();
~RecallTrajectoryByCoordinateRequest();
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::vector<PointList> getPointList()const;
void setPointList(const std::vector<PointList>& pointList);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
int getDeltaDistance()const;
void setDeltaDistance(int deltaDistance);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::vector<std::string> getOutputIdTypeList()const;
void setOutputIdTypeList(const std::vector<std::string>& outputIdTypeList);
int getDeltaTime()const;
void setDeltaTime(int deltaTime);
int getOutputIdCount()const;
void setOutputIdCount(int outputIdCount);
private:
std::string corpId_;
std::vector<PointList> pointList_;
std::string endTime_;
int deltaDistance_;
std::string startTime_;
std::vector<std::string> outputIdTypeList_;
int deltaTime_;
int outputIdCount_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_RECALLTRAJECTORYBYCOORDINATEREQUEST_H_

View File

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

View File

@@ -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_CDRS_MODEL_RECALLTRAJECTORYBYIDREQUEST_H_
#define ALIBABACLOUD_CDRS_MODEL_RECALLTRAJECTORYBYIDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cdrs/CDRSExport.h>
namespace AlibabaCloud
{
namespace CDRS
{
namespace Model
{
class ALIBABACLOUD_CDRS_EXPORT RecallTrajectoryByIdRequest : public RpcServiceRequest
{
public:
RecallTrajectoryByIdRequest();
~RecallTrajectoryByIdRequest();
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getIdValue()const;
void setIdValue(const std::string& idValue);
int getDeltaDistance()const;
void setDeltaDistance(int deltaDistance);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getIdType()const;
void setIdType(const std::string& idType);
std::vector<std::string> getOutputIdTypeList()const;
void setOutputIdTypeList(const std::vector<std::string>& outputIdTypeList);
int getDeltaTime()const;
void setDeltaTime(int deltaTime);
int getOutputIdCount()const;
void setOutputIdCount(int outputIdCount);
private:
std::string corpId_;
std::string endTime_;
std::string idValue_;
int deltaDistance_;
std::string startTime_;
std::string idType_;
std::vector<std::string> outputIdTypeList_;
int deltaTime_;
int outputIdCount_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_RECALLTRAJECTORYBYIDREQUEST_H_

View File

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

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDRS_MODEL_VALIDATETRAJECTORYREQUEST_H_
#define ALIBABACLOUD_CDRS_MODEL_VALIDATETRAJECTORYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cdrs/CDRSExport.h>
namespace AlibabaCloud
{
namespace CDRS
{
namespace Model
{
class ALIBABACLOUD_CDRS_EXPORT ValidateTrajectoryRequest : public RpcServiceRequest
{
public:
ValidateTrajectoryRequest();
~ValidateTrajectoryRequest();
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getIdValue()const;
void setIdValue(const std::string& idValue);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getIdType()const;
void setIdType(const std::string& idType);
private:
std::string corpId_;
std::string endTime_;
std::string idValue_;
std::string startTime_;
std::string idType_;
};
}
}
}
#endif // !ALIBABACLOUD_CDRS_MODEL_VALIDATETRAJECTORYREQUEST_H_

View File

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

View File

@@ -159,6 +159,42 @@ CDRSClient::CreateProjectOutcomeCallable CDRSClient::createProjectCallable(const
return task->get_future();
}
CDRSClient::DetectTrajectoryRegularPatternOutcome CDRSClient::detectTrajectoryRegularPattern(const DetectTrajectoryRegularPatternRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DetectTrajectoryRegularPatternOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DetectTrajectoryRegularPatternOutcome(DetectTrajectoryRegularPatternResult(outcome.result()));
else
return DetectTrajectoryRegularPatternOutcome(outcome.error());
}
void CDRSClient::detectTrajectoryRegularPatternAsync(const DetectTrajectoryRegularPatternRequest& request, const DetectTrajectoryRegularPatternAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, detectTrajectoryRegularPattern(request), context);
};
asyncExecute(new Runnable(fn));
}
CDRSClient::DetectTrajectoryRegularPatternOutcomeCallable CDRSClient::detectTrajectoryRegularPatternCallable(const DetectTrajectoryRegularPatternRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DetectTrajectoryRegularPatternOutcome()>>(
[this, request]()
{
return this->detectTrajectoryRegularPattern(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CDRSClient::GetCdrsMonitorListOutcome CDRSClient::getCdrsMonitorList(const GetCdrsMonitorListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -231,6 +267,42 @@ CDRSClient::GetCdrsMonitorResultOutcomeCallable CDRSClient::getCdrsMonitorResult
return task->get_future();
}
CDRSClient::IntersectTrajectoryOutcome CDRSClient::intersectTrajectory(const IntersectTrajectoryRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return IntersectTrajectoryOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return IntersectTrajectoryOutcome(IntersectTrajectoryResult(outcome.result()));
else
return IntersectTrajectoryOutcome(outcome.error());
}
void CDRSClient::intersectTrajectoryAsync(const IntersectTrajectoryRequest& request, const IntersectTrajectoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, intersectTrajectory(request), context);
};
asyncExecute(new Runnable(fn));
}
CDRSClient::IntersectTrajectoryOutcomeCallable CDRSClient::intersectTrajectoryCallable(const IntersectTrajectoryRequest &request) const
{
auto task = std::make_shared<std::packaged_task<IntersectTrajectoryOutcome()>>(
[this, request]()
{
return this->intersectTrajectory(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CDRSClient::ListAreaHotSpotMetricsOutcome CDRSClient::listAreaHotSpotMetrics(const ListAreaHotSpotMetricsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1527,6 +1599,150 @@ CDRSClient::PaginateProjectOutcomeCallable CDRSClient::paginateProjectCallable(c
return task->get_future();
}
CDRSClient::PredictTrajectoryDestinationOutcome CDRSClient::predictTrajectoryDestination(const PredictTrajectoryDestinationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return PredictTrajectoryDestinationOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return PredictTrajectoryDestinationOutcome(PredictTrajectoryDestinationResult(outcome.result()));
else
return PredictTrajectoryDestinationOutcome(outcome.error());
}
void CDRSClient::predictTrajectoryDestinationAsync(const PredictTrajectoryDestinationRequest& request, const PredictTrajectoryDestinationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, predictTrajectoryDestination(request), context);
};
asyncExecute(new Runnable(fn));
}
CDRSClient::PredictTrajectoryDestinationOutcomeCallable CDRSClient::predictTrajectoryDestinationCallable(const PredictTrajectoryDestinationRequest &request) const
{
auto task = std::make_shared<std::packaged_task<PredictTrajectoryDestinationOutcome()>>(
[this, request]()
{
return this->predictTrajectoryDestination(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CDRSClient::QueryTrajectoryByIdOutcome CDRSClient::queryTrajectoryById(const QueryTrajectoryByIdRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryTrajectoryByIdOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryTrajectoryByIdOutcome(QueryTrajectoryByIdResult(outcome.result()));
else
return QueryTrajectoryByIdOutcome(outcome.error());
}
void CDRSClient::queryTrajectoryByIdAsync(const QueryTrajectoryByIdRequest& request, const QueryTrajectoryByIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryTrajectoryById(request), context);
};
asyncExecute(new Runnable(fn));
}
CDRSClient::QueryTrajectoryByIdOutcomeCallable CDRSClient::queryTrajectoryByIdCallable(const QueryTrajectoryByIdRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryTrajectoryByIdOutcome()>>(
[this, request]()
{
return this->queryTrajectoryById(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CDRSClient::RecallTrajectoryByCoordinateOutcome CDRSClient::recallTrajectoryByCoordinate(const RecallTrajectoryByCoordinateRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RecallTrajectoryByCoordinateOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return RecallTrajectoryByCoordinateOutcome(RecallTrajectoryByCoordinateResult(outcome.result()));
else
return RecallTrajectoryByCoordinateOutcome(outcome.error());
}
void CDRSClient::recallTrajectoryByCoordinateAsync(const RecallTrajectoryByCoordinateRequest& request, const RecallTrajectoryByCoordinateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, recallTrajectoryByCoordinate(request), context);
};
asyncExecute(new Runnable(fn));
}
CDRSClient::RecallTrajectoryByCoordinateOutcomeCallable CDRSClient::recallTrajectoryByCoordinateCallable(const RecallTrajectoryByCoordinateRequest &request) const
{
auto task = std::make_shared<std::packaged_task<RecallTrajectoryByCoordinateOutcome()>>(
[this, request]()
{
return this->recallTrajectoryByCoordinate(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CDRSClient::RecallTrajectoryByIdOutcome CDRSClient::recallTrajectoryById(const RecallTrajectoryByIdRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RecallTrajectoryByIdOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return RecallTrajectoryByIdOutcome(RecallTrajectoryByIdResult(outcome.result()));
else
return RecallTrajectoryByIdOutcome(outcome.error());
}
void CDRSClient::recallTrajectoryByIdAsync(const RecallTrajectoryByIdRequest& request, const RecallTrajectoryByIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, recallTrajectoryById(request), context);
};
asyncExecute(new Runnable(fn));
}
CDRSClient::RecallTrajectoryByIdOutcomeCallable CDRSClient::recallTrajectoryByIdCallable(const RecallTrajectoryByIdRequest &request) const
{
auto task = std::make_shared<std::packaged_task<RecallTrajectoryByIdOutcome()>>(
[this, request]()
{
return this->recallTrajectoryById(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CDRSClient::RecognizeImageOutcome CDRSClient::recognizeImage(const RecognizeImageRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1743,3 +1959,39 @@ CDRSClient::UpdateProjectOutcomeCallable CDRSClient::updateProjectCallable(const
return task->get_future();
}
CDRSClient::ValidateTrajectoryOutcome CDRSClient::validateTrajectory(const ValidateTrajectoryRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ValidateTrajectoryOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ValidateTrajectoryOutcome(ValidateTrajectoryResult(outcome.result()));
else
return ValidateTrajectoryOutcome(outcome.error());
}
void CDRSClient::validateTrajectoryAsync(const ValidateTrajectoryRequest& request, const ValidateTrajectoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, validateTrajectory(request), context);
};
asyncExecute(new Runnable(fn));
}
CDRSClient::ValidateTrajectoryOutcomeCallable CDRSClient::validateTrajectoryCallable(const ValidateTrajectoryRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ValidateTrajectoryOutcome()>>(
[this, request]()
{
return this->validateTrajectory(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdrs/model/DetectTrajectoryRegularPatternRequest.h>
using AlibabaCloud::CDRS::Model::DetectTrajectoryRegularPatternRequest;
DetectTrajectoryRegularPatternRequest::DetectTrajectoryRegularPatternRequest() :
RpcServiceRequest("cdrs", "2020-11-01", "DetectTrajectoryRegularPattern")
{
setMethod(HttpRequest::Method::Post);
}
DetectTrajectoryRegularPatternRequest::~DetectTrajectoryRegularPatternRequest()
{}
std::string DetectTrajectoryRegularPatternRequest::getPredictDate()const
{
return predictDate_;
}
void DetectTrajectoryRegularPatternRequest::setPredictDate(const std::string& predictDate)
{
predictDate_ = predictDate;
setBodyParameter("PredictDate", predictDate);
}
std::string DetectTrajectoryRegularPatternRequest::getCorpId()const
{
return corpId_;
}
void DetectTrajectoryRegularPatternRequest::setCorpId(const std::string& corpId)
{
corpId_ = corpId;
setBodyParameter("CorpId", corpId);
}
std::string DetectTrajectoryRegularPatternRequest::getIdValue()const
{
return idValue_;
}
void DetectTrajectoryRegularPatternRequest::setIdValue(const std::string& idValue)
{
idValue_ = idValue;
setBodyParameter("IdValue", idValue);
}
std::string DetectTrajectoryRegularPatternRequest::getIdType()const
{
return idType_;
}
void DetectTrajectoryRegularPatternRequest::setIdType(const std::string& idType)
{
idType_ = idType;
setBodyParameter("IdType", idType);
}

View File

@@ -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.
*/
#include <alibabacloud/cdrs/model/DetectTrajectoryRegularPatternResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CDRS;
using namespace AlibabaCloud::CDRS::Model;
DetectTrajectoryRegularPatternResult::DetectTrajectoryRegularPatternResult() :
ServiceResult()
{}
DetectTrajectoryRegularPatternResult::DetectTrajectoryRegularPatternResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DetectTrajectoryRegularPatternResult::~DetectTrajectoryRegularPatternResult()
{}
void DetectTrajectoryRegularPatternResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string DetectTrajectoryRegularPatternResult::getMessage()const
{
return message_;
}
std::string DetectTrajectoryRegularPatternResult::getData()const
{
return data_;
}
int DetectTrajectoryRegularPatternResult::getCode()const
{
return code_;
}
bool DetectTrajectoryRegularPatternResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,100 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/cdrs/model/IntersectTrajectoryRequest.h>
using AlibabaCloud::CDRS::Model::IntersectTrajectoryRequest;
IntersectTrajectoryRequest::IntersectTrajectoryRequest() :
RpcServiceRequest("cdrs", "2020-11-01", "IntersectTrajectory")
{
setMethod(HttpRequest::Method::Post);
}
IntersectTrajectoryRequest::~IntersectTrajectoryRequest()
{}
std::string IntersectTrajectoryRequest::getCorpId()const
{
return corpId_;
}
void IntersectTrajectoryRequest::setCorpId(const std::string& corpId)
{
corpId_ = corpId;
setBodyParameter("CorpId", corpId);
}
std::string IntersectTrajectoryRequest::getEndTime()const
{
return endTime_;
}
void IntersectTrajectoryRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setBodyParameter("EndTime", endTime);
}
int IntersectTrajectoryRequest::getDeltaDistance()const
{
return deltaDistance_;
}
void IntersectTrajectoryRequest::setDeltaDistance(int deltaDistance)
{
deltaDistance_ = deltaDistance;
setBodyParameter("DeltaDistance", std::to_string(deltaDistance));
}
std::string IntersectTrajectoryRequest::getStartTime()const
{
return startTime_;
}
void IntersectTrajectoryRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setBodyParameter("StartTime", startTime);
}
int IntersectTrajectoryRequest::getDeltaTime()const
{
return deltaTime_;
}
void IntersectTrajectoryRequest::setDeltaTime(int deltaTime)
{
deltaTime_ = deltaTime;
setBodyParameter("DeltaTime", std::to_string(deltaTime));
}
std::vector<IntersectTrajectoryRequest::IdList> IntersectTrajectoryRequest::getIdList()const
{
return idList_;
}
void IntersectTrajectoryRequest::setIdList(const std::vector<IdList>& idList)
{
idList_ = idList;
for(int dep1 = 0; dep1!= idList.size(); dep1++) {
auto idListObj = idList.at(dep1);
std::string idListObjStr = "IdList." + std::to_string(dep1 + 1);
setParameter(idListObjStr + ".IdType", idListObj.idType);
setParameter(idListObjStr + ".IdValue", idListObj.idValue);
}
}

View File

@@ -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.
*/
#include <alibabacloud/cdrs/model/IntersectTrajectoryResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CDRS;
using namespace AlibabaCloud::CDRS::Model;
IntersectTrajectoryResult::IntersectTrajectoryResult() :
ServiceResult()
{}
IntersectTrajectoryResult::IntersectTrajectoryResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
IntersectTrajectoryResult::~IntersectTrajectoryResult()
{}
void IntersectTrajectoryResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string IntersectTrajectoryResult::getMessage()const
{
return message_;
}
std::string IntersectTrajectoryResult::getData()const
{
return data_;
}
int IntersectTrajectoryResult::getCode()const
{
return code_;
}
bool IntersectTrajectoryResult::getSuccess()const
{
return success_;
}

View File

@@ -65,6 +65,10 @@ void ListCorpTrackDetailResult::parse(const std::string &payload)
dataObject.corpId = valueDataDataItem["CorpId"].asString();
if(!valueDataDataItem["EndTargetImage"].isNull())
dataObject.endTargetImage = valueDataDataItem["EndTargetImage"].asString();
if(!valueDataDataItem["SourceUrl"].isNull())
dataObject.sourceUrl = valueDataDataItem["SourceUrl"].asString();
if(!valueDataDataItem["TargetUrl"].isNull())
dataObject.targetUrl = valueDataDataItem["TargetUrl"].asString();
data_.push_back(dataObject);
}
if(!value["Code"].isNull())

View File

@@ -27,6 +27,17 @@ ListPersonDetailsRequest::ListPersonDetailsRequest() :
ListPersonDetailsRequest::~ListPersonDetailsRequest()
{}
std::string ListPersonDetailsRequest::getSchema()const
{
return schema_;
}
void ListPersonDetailsRequest::setSchema(const std::string& schema)
{
schema_ = schema;
setBodyParameter("Schema", schema);
}
std::string ListPersonDetailsRequest::getCorpId()const
{
return corpId_;

View File

@@ -61,6 +61,10 @@ void ListPersonResultResult::parse(const std::string &payload)
dataObject.hotSpotAddress = valueDataDatas["HotSpotAddress"].asString();
if(!valueDataDatas["UpdateTime"].isNull())
dataObject.updateTime = valueDataDatas["UpdateTime"].asString();
if(!valueDataDatas["TargetUrl"].isNull())
dataObject.targetUrl = valueDataDatas["TargetUrl"].asString();
if(!valueDataDatas["SourceUrl"].isNull())
dataObject.sourceUrl = valueDataDatas["SourceUrl"].asString();
data_.push_back(dataObject);
}
if(!value["Code"].isNull())

View File

@@ -27,6 +27,17 @@ ListPersonTagRequest::ListPersonTagRequest() :
ListPersonTagRequest::~ListPersonTagRequest()
{}
std::string ListPersonTagRequest::getSchema()const
{
return schema_;
}
void ListPersonTagRequest::setSchema(const std::string& schema)
{
schema_ = schema;
setBodyParameter("Schema", schema);
}
std::string ListPersonTagRequest::getCorpId()const
{
return corpId_;

View File

@@ -27,6 +27,17 @@ ListPersonTopRequest::ListPersonTopRequest() :
ListPersonTopRequest::~ListPersonTopRequest()
{}
std::string ListPersonTopRequest::getSchema()const
{
return schema_;
}
void ListPersonTopRequest::setSchema(const std::string& schema)
{
schema_ = schema;
setBodyParameter("Schema", schema);
}
std::string ListPersonTopRequest::getCorpId()const
{
return corpId_;
@@ -60,6 +71,28 @@ void ListPersonTopRequest::setStartTime(const std::string& startTime)
setBodyParameter("StartTime", startTime);
}
std::string ListPersonTopRequest::getPageNumber()const
{
return pageNumber_;
}
void ListPersonTopRequest::setPageNumber(const std::string& pageNumber)
{
pageNumber_ = pageNumber;
setBodyParameter("PageNumber", pageNumber);
}
std::string ListPersonTopRequest::getPageSize()const
{
return pageSize_;
}
void ListPersonTopRequest::setPageSize(const std::string& pageSize)
{
pageSize_ = pageSize;
setBodyParameter("PageSize", pageSize);
}
std::string ListPersonTopRequest::getPersonId()const
{
return personId_;

View File

@@ -39,22 +39,22 @@ void ListPersonTopResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDataNode = value["Data"]["Datas"];
for (auto valueDataDatas : allDataNode)
auto allDataNode = value["Data"]["DataItem"];
for (auto valueDataDataItem : allDataNode)
{
Datas dataObject;
if(!valueDataDatas["CorpId"].isNull())
dataObject.corpId = valueDataDatas["CorpId"].asString();
if(!valueDataDatas["PersonId"].isNull())
dataObject.personId = valueDataDatas["PersonId"].asString();
if(!valueDataDatas["PoiId"].isNull())
dataObject.poiId = valueDataDatas["PoiId"].asString();
if(!valueDataDatas["PoiName"].isNull())
dataObject.poiName = valueDataDatas["PoiName"].asString();
if(!valueDataDatas["PassHour"].isNull())
dataObject.passHour = valueDataDatas["PassHour"].asString();
if(!valueDataDatas["Frequency"].isNull())
dataObject.frequency = valueDataDatas["Frequency"].asString();
DataItem dataObject;
if(!valueDataDataItem["CorpId"].isNull())
dataObject.corpId = valueDataDataItem["CorpId"].asString();
if(!valueDataDataItem["PersonId"].isNull())
dataObject.personId = valueDataDataItem["PersonId"].asString();
if(!valueDataDataItem["PoiId"].isNull())
dataObject.poiId = valueDataDataItem["PoiId"].asString();
if(!valueDataDataItem["PoiName"].isNull())
dataObject.poiName = valueDataDataItem["PoiName"].asString();
if(!valueDataDataItem["PassHour"].isNull())
dataObject.passHour = valueDataDataItem["PassHour"].asString();
if(!valueDataDataItem["Frequency"].isNull())
dataObject.frequency = valueDataDataItem["Frequency"].asString();
data_.push_back(dataObject);
}
if(!value["Code"].isNull())
@@ -90,7 +90,7 @@ long ListPersonTopResult::getPageNumber()const
return pageNumber_;
}
std::vector<ListPersonTopResult::Datas> ListPersonTopResult::getData()const
std::vector<ListPersonTopResult::DataItem> ListPersonTopResult::getData()const
{
return data_;
}

View File

@@ -27,6 +27,17 @@ ListPersonTrackRequest::ListPersonTrackRequest() :
ListPersonTrackRequest::~ListPersonTrackRequest()
{}
std::string ListPersonTrackRequest::getSchema()const
{
return schema_;
}
void ListPersonTrackRequest::setSchema(const std::string& schema)
{
schema_ = schema;
setBodyParameter("Schema", schema);
}
std::string ListPersonTrackRequest::getCorpId()const
{
return corpId_;

View File

@@ -71,6 +71,10 @@ void ListPersonTrackResult::parse(const std::string &payload)
dataObject.longitude = valueDataDatas["Longitude"].asString();
if(!valueDataDatas["Latitude"].isNull())
dataObject.latitude = valueDataDatas["Latitude"].asString();
if(!valueDataDatas["SourceUrl"].isNull())
dataObject.sourceUrl = valueDataDatas["SourceUrl"].asString();
if(!valueDataDatas["TargetUrl"].isNull())
dataObject.targetUrl = valueDataDatas["TargetUrl"].asString();
data_.push_back(dataObject);
}
if(!value["Code"].isNull())

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdrs/model/PredictTrajectoryDestinationRequest.h>
using AlibabaCloud::CDRS::Model::PredictTrajectoryDestinationRequest;
PredictTrajectoryDestinationRequest::PredictTrajectoryDestinationRequest() :
RpcServiceRequest("cdrs", "2020-11-01", "PredictTrajectoryDestination")
{
setMethod(HttpRequest::Method::Post);
}
PredictTrajectoryDestinationRequest::~PredictTrajectoryDestinationRequest()
{}
std::string PredictTrajectoryDestinationRequest::getCorpId()const
{
return corpId_;
}
void PredictTrajectoryDestinationRequest::setCorpId(const std::string& corpId)
{
corpId_ = corpId;
setBodyParameter("CorpId", corpId);
}
std::string PredictTrajectoryDestinationRequest::getIdValue()const
{
return idValue_;
}
void PredictTrajectoryDestinationRequest::setIdValue(const std::string& idValue)
{
idValue_ = idValue;
setBodyParameter("IdValue", idValue);
}
std::string PredictTrajectoryDestinationRequest::getIdType()const
{
return idType_;
}
void PredictTrajectoryDestinationRequest::setIdType(const std::string& idType)
{
idType_ = idType;
setBodyParameter("IdType", idType);
}
int PredictTrajectoryDestinationRequest::getPredictTimeSpan()const
{
return predictTimeSpan_;
}
void PredictTrajectoryDestinationRequest::setPredictTimeSpan(int predictTimeSpan)
{
predictTimeSpan_ = predictTimeSpan;
setBodyParameter("PredictTimeSpan", std::to_string(predictTimeSpan));
}

View File

@@ -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.
*/
#include <alibabacloud/cdrs/model/PredictTrajectoryDestinationResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CDRS;
using namespace AlibabaCloud::CDRS::Model;
PredictTrajectoryDestinationResult::PredictTrajectoryDestinationResult() :
ServiceResult()
{}
PredictTrajectoryDestinationResult::PredictTrajectoryDestinationResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
PredictTrajectoryDestinationResult::~PredictTrajectoryDestinationResult()
{}
void PredictTrajectoryDestinationResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string PredictTrajectoryDestinationResult::getMessage()const
{
return message_;
}
std::string PredictTrajectoryDestinationResult::getData()const
{
return data_;
}
int PredictTrajectoryDestinationResult::getCode()const
{
return code_;
}
bool PredictTrajectoryDestinationResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cdrs/model/QueryTrajectoryByIdRequest.h>
using AlibabaCloud::CDRS::Model::QueryTrajectoryByIdRequest;
QueryTrajectoryByIdRequest::QueryTrajectoryByIdRequest() :
RpcServiceRequest("cdrs", "2020-11-01", "QueryTrajectoryById")
{
setMethod(HttpRequest::Method::Post);
}
QueryTrajectoryByIdRequest::~QueryTrajectoryByIdRequest()
{}
std::string QueryTrajectoryByIdRequest::getCorpId()const
{
return corpId_;
}
void QueryTrajectoryByIdRequest::setCorpId(const std::string& corpId)
{
corpId_ = corpId;
setBodyParameter("CorpId", corpId);
}
std::string QueryTrajectoryByIdRequest::getEndTime()const
{
return endTime_;
}
void QueryTrajectoryByIdRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setBodyParameter("EndTime", endTime);
}
std::string QueryTrajectoryByIdRequest::getStartTime()const
{
return startTime_;
}
void QueryTrajectoryByIdRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setBodyParameter("StartTime", startTime);
}
std::vector<QueryTrajectoryByIdRequest::DeviceList> QueryTrajectoryByIdRequest::getDeviceList()const
{
return deviceList_;
}
void QueryTrajectoryByIdRequest::setDeviceList(const std::vector<DeviceList>& deviceList)
{
deviceList_ = deviceList;
for(int dep1 = 0; dep1!= deviceList.size(); dep1++) {
auto deviceListObj = deviceList.at(dep1);
std::string deviceListObjStr = "DeviceList." + std::to_string(dep1 + 1);
setParameter(deviceListObjStr + ".DeviceId", deviceListObj.deviceId);
}
}
std::vector<QueryTrajectoryByIdRequest::IdList> QueryTrajectoryByIdRequest::getIdList()const
{
return idList_;
}
void QueryTrajectoryByIdRequest::setIdList(const std::vector<IdList>& idList)
{
idList_ = idList;
for(int dep1 = 0; dep1!= idList.size(); dep1++) {
auto idListObj = idList.at(dep1);
std::string idListObjStr = "IdList." + std::to_string(dep1 + 1);
setParameter(idListObjStr + ".IdType", idListObj.idType);
setParameter(idListObjStr + ".IdValue", idListObj.idValue);
}
}

View File

@@ -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.
*/
#include <alibabacloud/cdrs/model/QueryTrajectoryByIdResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CDRS;
using namespace AlibabaCloud::CDRS::Model;
QueryTrajectoryByIdResult::QueryTrajectoryByIdResult() :
ServiceResult()
{}
QueryTrajectoryByIdResult::QueryTrajectoryByIdResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryTrajectoryByIdResult::~QueryTrajectoryByIdResult()
{}
void QueryTrajectoryByIdResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string QueryTrajectoryByIdResult::getMessage()const
{
return message_;
}
std::string QueryTrajectoryByIdResult::getData()const
{
return data_;
}
int QueryTrajectoryByIdResult::getCode()const
{
return code_;
}
bool QueryTrajectoryByIdResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,124 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/cdrs/model/RecallTrajectoryByCoordinateRequest.h>
using AlibabaCloud::CDRS::Model::RecallTrajectoryByCoordinateRequest;
RecallTrajectoryByCoordinateRequest::RecallTrajectoryByCoordinateRequest() :
RpcServiceRequest("cdrs", "2020-11-01", "RecallTrajectoryByCoordinate")
{
setMethod(HttpRequest::Method::Post);
}
RecallTrajectoryByCoordinateRequest::~RecallTrajectoryByCoordinateRequest()
{}
std::string RecallTrajectoryByCoordinateRequest::getCorpId()const
{
return corpId_;
}
void RecallTrajectoryByCoordinateRequest::setCorpId(const std::string& corpId)
{
corpId_ = corpId;
setBodyParameter("CorpId", corpId);
}
std::vector<RecallTrajectoryByCoordinateRequest::PointList> RecallTrajectoryByCoordinateRequest::getPointList()const
{
return pointList_;
}
void RecallTrajectoryByCoordinateRequest::setPointList(const std::vector<PointList>& pointList)
{
pointList_ = pointList;
for(int dep1 = 0; dep1!= pointList.size(); dep1++) {
auto pointListObj = pointList.at(dep1);
std::string pointListObjStr = "PointList." + std::to_string(dep1 + 1);
setParameter(pointListObjStr + ".Latitude", std::to_string(pointListObj.latitude));
setParameter(pointListObjStr + ".Longitude", std::to_string(pointListObj.longitude));
}
}
std::string RecallTrajectoryByCoordinateRequest::getEndTime()const
{
return endTime_;
}
void RecallTrajectoryByCoordinateRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setBodyParameter("EndTime", endTime);
}
int RecallTrajectoryByCoordinateRequest::getDeltaDistance()const
{
return deltaDistance_;
}
void RecallTrajectoryByCoordinateRequest::setDeltaDistance(int deltaDistance)
{
deltaDistance_ = deltaDistance;
setBodyParameter("DeltaDistance", std::to_string(deltaDistance));
}
std::string RecallTrajectoryByCoordinateRequest::getStartTime()const
{
return startTime_;
}
void RecallTrajectoryByCoordinateRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setBodyParameter("StartTime", startTime);
}
std::vector<std::string> RecallTrajectoryByCoordinateRequest::getOutputIdTypeList()const
{
return outputIdTypeList_;
}
void RecallTrajectoryByCoordinateRequest::setOutputIdTypeList(const std::vector<std::string>& outputIdTypeList)
{
outputIdTypeList_ = outputIdTypeList;
for(int dep1 = 0; dep1!= outputIdTypeList.size(); dep1++) {
setBodyParameter("OutputIdTypeList."+ std::to_string(dep1), outputIdTypeList.at(dep1));
}
}
int RecallTrajectoryByCoordinateRequest::getDeltaTime()const
{
return deltaTime_;
}
void RecallTrajectoryByCoordinateRequest::setDeltaTime(int deltaTime)
{
deltaTime_ = deltaTime;
setBodyParameter("DeltaTime", std::to_string(deltaTime));
}
int RecallTrajectoryByCoordinateRequest::getOutputIdCount()const
{
return outputIdCount_;
}
void RecallTrajectoryByCoordinateRequest::setOutputIdCount(int outputIdCount)
{
outputIdCount_ = outputIdCount;
setBodyParameter("OutputIdCount", std::to_string(outputIdCount));
}

View File

@@ -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.
*/
#include <alibabacloud/cdrs/model/RecallTrajectoryByCoordinateResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CDRS;
using namespace AlibabaCloud::CDRS::Model;
RecallTrajectoryByCoordinateResult::RecallTrajectoryByCoordinateResult() :
ServiceResult()
{}
RecallTrajectoryByCoordinateResult::RecallTrajectoryByCoordinateResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
RecallTrajectoryByCoordinateResult::~RecallTrajectoryByCoordinateResult()
{}
void RecallTrajectoryByCoordinateResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string RecallTrajectoryByCoordinateResult::getMessage()const
{
return message_;
}
std::string RecallTrajectoryByCoordinateResult::getData()const
{
return data_;
}
int RecallTrajectoryByCoordinateResult::getCode()const
{
return code_;
}
bool RecallTrajectoryByCoordinateResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,130 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/cdrs/model/RecallTrajectoryByIdRequest.h>
using AlibabaCloud::CDRS::Model::RecallTrajectoryByIdRequest;
RecallTrajectoryByIdRequest::RecallTrajectoryByIdRequest() :
RpcServiceRequest("cdrs", "2020-11-01", "RecallTrajectoryById")
{
setMethod(HttpRequest::Method::Post);
}
RecallTrajectoryByIdRequest::~RecallTrajectoryByIdRequest()
{}
std::string RecallTrajectoryByIdRequest::getCorpId()const
{
return corpId_;
}
void RecallTrajectoryByIdRequest::setCorpId(const std::string& corpId)
{
corpId_ = corpId;
setBodyParameter("CorpId", corpId);
}
std::string RecallTrajectoryByIdRequest::getEndTime()const
{
return endTime_;
}
void RecallTrajectoryByIdRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setBodyParameter("EndTime", endTime);
}
std::string RecallTrajectoryByIdRequest::getIdValue()const
{
return idValue_;
}
void RecallTrajectoryByIdRequest::setIdValue(const std::string& idValue)
{
idValue_ = idValue;
setBodyParameter("IdValue", idValue);
}
int RecallTrajectoryByIdRequest::getDeltaDistance()const
{
return deltaDistance_;
}
void RecallTrajectoryByIdRequest::setDeltaDistance(int deltaDistance)
{
deltaDistance_ = deltaDistance;
setBodyParameter("DeltaDistance", std::to_string(deltaDistance));
}
std::string RecallTrajectoryByIdRequest::getStartTime()const
{
return startTime_;
}
void RecallTrajectoryByIdRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setBodyParameter("StartTime", startTime);
}
std::string RecallTrajectoryByIdRequest::getIdType()const
{
return idType_;
}
void RecallTrajectoryByIdRequest::setIdType(const std::string& idType)
{
idType_ = idType;
setBodyParameter("IdType", idType);
}
std::vector<std::string> RecallTrajectoryByIdRequest::getOutputIdTypeList()const
{
return outputIdTypeList_;
}
void RecallTrajectoryByIdRequest::setOutputIdTypeList(const std::vector<std::string>& outputIdTypeList)
{
outputIdTypeList_ = outputIdTypeList;
for(int dep1 = 0; dep1!= outputIdTypeList.size(); dep1++) {
setBodyParameter("OutputIdTypeList."+ std::to_string(dep1), outputIdTypeList.at(dep1));
}
}
int RecallTrajectoryByIdRequest::getDeltaTime()const
{
return deltaTime_;
}
void RecallTrajectoryByIdRequest::setDeltaTime(int deltaTime)
{
deltaTime_ = deltaTime;
setBodyParameter("DeltaTime", std::to_string(deltaTime));
}
int RecallTrajectoryByIdRequest::getOutputIdCount()const
{
return outputIdCount_;
}
void RecallTrajectoryByIdRequest::setOutputIdCount(int outputIdCount)
{
outputIdCount_ = outputIdCount;
setBodyParameter("OutputIdCount", std::to_string(outputIdCount));
}

View File

@@ -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.
*/
#include <alibabacloud/cdrs/model/RecallTrajectoryByIdResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CDRS;
using namespace AlibabaCloud::CDRS::Model;
RecallTrajectoryByIdResult::RecallTrajectoryByIdResult() :
ServiceResult()
{}
RecallTrajectoryByIdResult::RecallTrajectoryByIdResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
RecallTrajectoryByIdResult::~RecallTrajectoryByIdResult()
{}
void RecallTrajectoryByIdResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string RecallTrajectoryByIdResult::getMessage()const
{
return message_;
}
std::string RecallTrajectoryByIdResult::getData()const
{
return data_;
}
int RecallTrajectoryByIdResult::getCode()const
{
return code_;
}
bool RecallTrajectoryByIdResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/cdrs/model/ValidateTrajectoryRequest.h>
using AlibabaCloud::CDRS::Model::ValidateTrajectoryRequest;
ValidateTrajectoryRequest::ValidateTrajectoryRequest() :
RpcServiceRequest("cdrs", "2020-11-01", "ValidateTrajectory")
{
setMethod(HttpRequest::Method::Post);
}
ValidateTrajectoryRequest::~ValidateTrajectoryRequest()
{}
std::string ValidateTrajectoryRequest::getCorpId()const
{
return corpId_;
}
void ValidateTrajectoryRequest::setCorpId(const std::string& corpId)
{
corpId_ = corpId;
setBodyParameter("CorpId", corpId);
}
std::string ValidateTrajectoryRequest::getEndTime()const
{
return endTime_;
}
void ValidateTrajectoryRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setBodyParameter("EndTime", endTime);
}
std::string ValidateTrajectoryRequest::getIdValue()const
{
return idValue_;
}
void ValidateTrajectoryRequest::setIdValue(const std::string& idValue)
{
idValue_ = idValue;
setBodyParameter("IdValue", idValue);
}
std::string ValidateTrajectoryRequest::getStartTime()const
{
return startTime_;
}
void ValidateTrajectoryRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setBodyParameter("StartTime", startTime);
}
std::string ValidateTrajectoryRequest::getIdType()const
{
return idType_;
}
void ValidateTrajectoryRequest::setIdType(const std::string& idType)
{
idType_ = idType;
setBodyParameter("IdType", idType);
}

View File

@@ -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.
*/
#include <alibabacloud/cdrs/model/ValidateTrajectoryResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CDRS;
using namespace AlibabaCloud::CDRS::Model;
ValidateTrajectoryResult::ValidateTrajectoryResult() :
ServiceResult()
{}
ValidateTrajectoryResult::ValidateTrajectoryResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ValidateTrajectoryResult::~ValidateTrajectoryResult()
{}
void ValidateTrajectoryResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string ValidateTrajectoryResult::getMessage()const
{
return message_;
}
std::string ValidateTrajectoryResult::getData()const
{
return data_;
}
int ValidateTrajectoryResult::getCode()const
{
return code_;
}
bool ValidateTrajectoryResult::getSuccess()const
{
return success_;
}

View File

@@ -51,8 +51,12 @@ set(dts_public_header_model
include/alibabacloud/dts/model/DeleteSubscriptionInstanceResult.h
include/alibabacloud/dts/model/DeleteSynchronizationJobRequest.h
include/alibabacloud/dts/model/DeleteSynchronizationJobResult.h
include/alibabacloud/dts/model/DescribeConnectionStatusRequest.h
include/alibabacloud/dts/model/DescribeConnectionStatusResult.h
include/alibabacloud/dts/model/DescribeConsumerGroupRequest.h
include/alibabacloud/dts/model/DescribeConsumerGroupResult.h
include/alibabacloud/dts/model/DescribeDTSIPRequest.h
include/alibabacloud/dts/model/DescribeDTSIPResult.h
include/alibabacloud/dts/model/DescribeEndpointSwitchStatusRequest.h
include/alibabacloud/dts/model/DescribeEndpointSwitchStatusResult.h
include/alibabacloud/dts/model/DescribeInitializationStatusRequest.h
@@ -150,8 +154,12 @@ set(dts_src
src/model/DeleteSubscriptionInstanceResult.cc
src/model/DeleteSynchronizationJobRequest.cc
src/model/DeleteSynchronizationJobResult.cc
src/model/DescribeConnectionStatusRequest.cc
src/model/DescribeConnectionStatusResult.cc
src/model/DescribeConsumerGroupRequest.cc
src/model/DescribeConsumerGroupResult.cc
src/model/DescribeDTSIPRequest.cc
src/model/DescribeDTSIPResult.cc
src/model/DescribeEndpointSwitchStatusRequest.cc
src/model/DescribeEndpointSwitchStatusResult.cc
src/model/DescribeInitializationStatusRequest.cc

View File

@@ -52,8 +52,12 @@
#include "model/DeleteSubscriptionInstanceResult.h"
#include "model/DeleteSynchronizationJobRequest.h"
#include "model/DeleteSynchronizationJobResult.h"
#include "model/DescribeConnectionStatusRequest.h"
#include "model/DescribeConnectionStatusResult.h"
#include "model/DescribeConsumerGroupRequest.h"
#include "model/DescribeConsumerGroupResult.h"
#include "model/DescribeDTSIPRequest.h"
#include "model/DescribeDTSIPResult.h"
#include "model/DescribeEndpointSwitchStatusRequest.h"
#include "model/DescribeEndpointSwitchStatusResult.h"
#include "model/DescribeInitializationStatusRequest.h"
@@ -172,9 +176,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteSynchronizationJobResult> DeleteSynchronizationJobOutcome;
typedef std::future<DeleteSynchronizationJobOutcome> DeleteSynchronizationJobOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DeleteSynchronizationJobRequest&, const DeleteSynchronizationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSynchronizationJobAsyncHandler;
typedef Outcome<Error, Model::DescribeConnectionStatusResult> DescribeConnectionStatusOutcome;
typedef std::future<DescribeConnectionStatusOutcome> DescribeConnectionStatusOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeConnectionStatusRequest&, const DescribeConnectionStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeConnectionStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeConsumerGroupResult> DescribeConsumerGroupOutcome;
typedef std::future<DescribeConsumerGroupOutcome> DescribeConsumerGroupOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeConsumerGroupRequest&, const DescribeConsumerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeConsumerGroupAsyncHandler;
typedef Outcome<Error, Model::DescribeDTSIPResult> DescribeDTSIPOutcome;
typedef std::future<DescribeDTSIPOutcome> DescribeDTSIPOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeDTSIPRequest&, const DescribeDTSIPOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDTSIPAsyncHandler;
typedef Outcome<Error, Model::DescribeEndpointSwitchStatusResult> DescribeEndpointSwitchStatusOutcome;
typedef std::future<DescribeEndpointSwitchStatusOutcome> DescribeEndpointSwitchStatusOutcomeCallable;
typedef std::function<void(const DtsClient*, const Model::DescribeEndpointSwitchStatusRequest&, const DescribeEndpointSwitchStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEndpointSwitchStatusAsyncHandler;
@@ -321,9 +331,15 @@ namespace AlibabaCloud
DeleteSynchronizationJobOutcome deleteSynchronizationJob(const Model::DeleteSynchronizationJobRequest &request)const;
void deleteSynchronizationJobAsync(const Model::DeleteSynchronizationJobRequest& request, const DeleteSynchronizationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSynchronizationJobOutcomeCallable deleteSynchronizationJobCallable(const Model::DeleteSynchronizationJobRequest& request) const;
DescribeConnectionStatusOutcome describeConnectionStatus(const Model::DescribeConnectionStatusRequest &request)const;
void describeConnectionStatusAsync(const Model::DescribeConnectionStatusRequest& request, const DescribeConnectionStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeConnectionStatusOutcomeCallable describeConnectionStatusCallable(const Model::DescribeConnectionStatusRequest& request) const;
DescribeConsumerGroupOutcome describeConsumerGroup(const Model::DescribeConsumerGroupRequest &request)const;
void describeConsumerGroupAsync(const Model::DescribeConsumerGroupRequest& request, const DescribeConsumerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeConsumerGroupOutcomeCallable describeConsumerGroupCallable(const Model::DescribeConsumerGroupRequest& request) const;
DescribeDTSIPOutcome describeDTSIP(const Model::DescribeDTSIPRequest &request)const;
void describeDTSIPAsync(const Model::DescribeDTSIPRequest& request, const DescribeDTSIPAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDTSIPOutcomeCallable describeDTSIPCallable(const Model::DescribeDTSIPRequest& request) const;
DescribeEndpointSwitchStatusOutcome describeEndpointSwitchStatus(const Model::DescribeEndpointSwitchStatusRequest &request)const;
void describeEndpointSwitchStatusAsync(const Model::DescribeEndpointSwitchStatusRequest& request, const DescribeEndpointSwitchStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeEndpointSwitchStatusOutcomeCallable describeEndpointSwitchStatusCallable(const Model::DescribeEndpointSwitchStatusRequest& request) const;

View File

@@ -0,0 +1,111 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DTS_MODEL_DESCRIBECONNECTIONSTATUSREQUEST_H_
#define ALIBABACLOUD_DTS_MODEL_DESCRIBECONNECTIONSTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dts/DtsExport.h>
namespace AlibabaCloud
{
namespace Dts
{
namespace Model
{
class ALIBABACLOUD_DTS_EXPORT DescribeConnectionStatusRequest : public RpcServiceRequest
{
public:
DescribeConnectionStatusRequest();
~DescribeConnectionStatusRequest();
std::string getSourceEndpointRegion()const;
void setSourceEndpointRegion(const std::string& sourceEndpointRegion);
std::string getSourceEndpointArchitecture()const;
void setSourceEndpointArchitecture(const std::string& sourceEndpointArchitecture);
std::string getDestinationEndpointInstanceType()const;
void setDestinationEndpointInstanceType(const std::string& destinationEndpointInstanceType);
std::string getSourceEndpointInstanceID()const;
void setSourceEndpointInstanceID(const std::string& sourceEndpointInstanceID);
std::string getSourceEndpointUserName()const;
void setSourceEndpointUserName(const std::string& sourceEndpointUserName);
std::string getSourceEndpointDatabaseName()const;
void setSourceEndpointDatabaseName(const std::string& sourceEndpointDatabaseName);
std::string getDestinationEndpointRegion()const;
void setDestinationEndpointRegion(const std::string& destinationEndpointRegion);
std::string getSourceEndpointIP()const;
void setSourceEndpointIP(const std::string& sourceEndpointIP);
std::string getDestinationEndpointUserName()const;
void setDestinationEndpointUserName(const std::string& destinationEndpointUserName);
bool getDestinationEndpointArchitecture()const;
void setDestinationEndpointArchitecture(bool destinationEndpointArchitecture);
bool getDestinationEndpointOracleSID()const;
void setDestinationEndpointOracleSID(bool destinationEndpointOracleSID);
std::string getDestinationEndpointEngineName()const;
void setDestinationEndpointEngineName(const std::string& destinationEndpointEngineName);
std::string getDestinationEndpointInstanceID()const;
void setDestinationEndpointInstanceID(const std::string& destinationEndpointInstanceID);
std::string getDestinationEndpointPort()const;
void setDestinationEndpointPort(const std::string& destinationEndpointPort);
std::string getSourceEndpointPassword()const;
void setSourceEndpointPassword(const std::string& sourceEndpointPassword);
std::string getSourceEndpointPort()const;
void setSourceEndpointPort(const std::string& sourceEndpointPort);
std::string getDestinationEndpointIP()const;
void setDestinationEndpointIP(const std::string& destinationEndpointIP);
std::string getSourceEndpointInstanceType()const;
void setSourceEndpointInstanceType(const std::string& sourceEndpointInstanceType);
std::string getSourceEndpointOracleSID()const;
void setSourceEndpointOracleSID(const std::string& sourceEndpointOracleSID);
std::string getDestinationEndpointDatabaseName()const;
void setDestinationEndpointDatabaseName(const std::string& destinationEndpointDatabaseName);
std::string getDestinationEndpointPassword()const;
void setDestinationEndpointPassword(const std::string& destinationEndpointPassword);
std::string getSourceEndpointEngineName()const;
void setSourceEndpointEngineName(const std::string& sourceEndpointEngineName);
private:
std::string sourceEndpointRegion_;
std::string sourceEndpointArchitecture_;
std::string destinationEndpointInstanceType_;
std::string sourceEndpointInstanceID_;
std::string sourceEndpointUserName_;
std::string sourceEndpointDatabaseName_;
std::string destinationEndpointRegion_;
std::string sourceEndpointIP_;
std::string destinationEndpointUserName_;
bool destinationEndpointArchitecture_;
bool destinationEndpointOracleSID_;
std::string destinationEndpointEngineName_;
std::string destinationEndpointInstanceID_;
std::string destinationEndpointPort_;
std::string sourceEndpointPassword_;
std::string sourceEndpointPort_;
std::string destinationEndpointIP_;
std::string sourceEndpointInstanceType_;
std::string sourceEndpointOracleSID_;
std::string destinationEndpointDatabaseName_;
std::string destinationEndpointPassword_;
std::string sourceEndpointEngineName_;
};
}
}
}
#endif // !ALIBABACLOUD_DTS_MODEL_DESCRIBECONNECTIONSTATUSREQUEST_H_

View File

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

View File

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

View File

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

View File

@@ -30,6 +30,12 @@ namespace AlibabaCloud
{
class ALIBABACLOUD_DTS_EXPORT DescribeMigrationJobsRequest : public RpcServiceRequest
{
public:
struct Tag
{
std::string value;
std::string key;
};
public:
DescribeMigrationJobsRequest();
@@ -47,6 +53,8 @@ namespace AlibabaCloud
void setPageSize(int pageSize);
std::string getMigrationJobName()const;
void setMigrationJobName(const std::string& migrationJobName);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
private:
int pageNum_;
@@ -55,6 +63,7 @@ namespace AlibabaCloud
std::string accountId_;
int pageSize_;
std::string migrationJobName_;
std::vector<Tag> tag_;
};
}

View File

@@ -94,6 +94,11 @@ namespace AlibabaCloud
std::string wholeDatabase;
std::vector<std::string> tableList;
};
struct Tag
{
std::string value;
std::string key;
};
DataSynchronization dataSynchronization;
Precheck precheck;
std::string migrationJobName;
@@ -107,6 +112,7 @@ namespace AlibabaCloud
SourceEndpoint sourceEndpoint;
std::string migrationJobClass;
StructureInitialization structureInitialization;
std::vector<MigrationJob::Tag> tags;
};

View File

@@ -30,6 +30,12 @@ namespace AlibabaCloud
{
class ALIBABACLOUD_DTS_EXPORT DescribeSubscriptionInstancesRequest : public RpcServiceRequest
{
public:
struct Tag
{
std::string value;
std::string key;
};
public:
DescribeSubscriptionInstancesRequest();
@@ -49,6 +55,8 @@ namespace AlibabaCloud
void setPageSize(int pageSize);
std::string getSubscriptionInstanceName()const;
void setSubscriptionInstanceName(const std::string& subscriptionInstanceName);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
private:
std::string clientToken_;
@@ -58,6 +66,7 @@ namespace AlibabaCloud
std::string accountId_;
int pageSize_;
std::string subscriptionInstanceName_;
std::vector<Tag> tag_;
};
}

View File

@@ -56,6 +56,11 @@ namespace AlibabaCloud
std::string wholeDatabase;
std::vector<std::string> tableList;
};
struct Tag
{
std::string value;
std::string key;
};
std::string status;
SubscriptionHost subscriptionHost;
std::string endTimestamp;
@@ -70,6 +75,7 @@ namespace AlibabaCloud
SourceEndpoint sourceEndpoint;
std::string errorMessage;
std::string beginTimestamp;
std::vector<SubscriptionInstance::Tag> tags;
};

View File

@@ -30,6 +30,12 @@ namespace AlibabaCloud
{
class ALIBABACLOUD_DTS_EXPORT DescribeSynchronizationJobsRequest : public RpcServiceRequest
{
public:
struct Tag
{
std::string value;
std::string key;
};
public:
DescribeSynchronizationJobsRequest();
@@ -49,6 +55,8 @@ namespace AlibabaCloud
void setAccountId(const std::string& accountId);
int getPageSize()const;
void setPageSize(int pageSize);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
private:
std::string clientToken_;
@@ -58,6 +66,7 @@ namespace AlibabaCloud
std::string synchronizationJobName_;
std::string accountId_;
int pageSize_;
std::vector<Tag> tag_;
};
}

View File

@@ -91,6 +91,11 @@ namespace AlibabaCloud
std::string percent;
std::string errorMessage;
};
struct Tag
{
std::string value;
std::string key;
};
struct SynchronizationObject
{
struct TableExclude
@@ -123,6 +128,7 @@ namespace AlibabaCloud
std::string errorMessage;
std::string expireTime;
std::string synchronizationJobClass;
std::vector<SynchronizationInstance::Tag> tags;
std::string synchronizationDirection;
DataSynchronizationStatus dataSynchronizationStatus;
StructureInitializationStatus structureInitializationStatus;

View File

@@ -591,6 +591,42 @@ DtsClient::DeleteSynchronizationJobOutcomeCallable DtsClient::deleteSynchronizat
return task->get_future();
}
DtsClient::DescribeConnectionStatusOutcome DtsClient::describeConnectionStatus(const DescribeConnectionStatusRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeConnectionStatusOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeConnectionStatusOutcome(DescribeConnectionStatusResult(outcome.result()));
else
return DescribeConnectionStatusOutcome(outcome.error());
}
void DtsClient::describeConnectionStatusAsync(const DescribeConnectionStatusRequest& request, const DescribeConnectionStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeConnectionStatus(request), context);
};
asyncExecute(new Runnable(fn));
}
DtsClient::DescribeConnectionStatusOutcomeCallable DtsClient::describeConnectionStatusCallable(const DescribeConnectionStatusRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeConnectionStatusOutcome()>>(
[this, request]()
{
return this->describeConnectionStatus(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DtsClient::DescribeConsumerGroupOutcome DtsClient::describeConsumerGroup(const DescribeConsumerGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -627,6 +663,42 @@ DtsClient::DescribeConsumerGroupOutcomeCallable DtsClient::describeConsumerGroup
return task->get_future();
}
DtsClient::DescribeDTSIPOutcome DtsClient::describeDTSIP(const DescribeDTSIPRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDTSIPOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDTSIPOutcome(DescribeDTSIPResult(outcome.result()));
else
return DescribeDTSIPOutcome(outcome.error());
}
void DtsClient::describeDTSIPAsync(const DescribeDTSIPRequest& request, const DescribeDTSIPAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDTSIP(request), context);
};
asyncExecute(new Runnable(fn));
}
DtsClient::DescribeDTSIPOutcomeCallable DtsClient::describeDTSIPCallable(const DescribeDTSIPRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDTSIPOutcome()>>(
[this, request]()
{
return this->describeDTSIP(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DtsClient::DescribeEndpointSwitchStatusOutcome DtsClient::describeEndpointSwitchStatus(const DescribeEndpointSwitchStatusRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,271 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/dts/model/DescribeConnectionStatusRequest.h>
using AlibabaCloud::Dts::Model::DescribeConnectionStatusRequest;
DescribeConnectionStatusRequest::DescribeConnectionStatusRequest() :
RpcServiceRequest("dts", "2020-01-01", "DescribeConnectionStatus")
{
setMethod(HttpRequest::Method::Post);
}
DescribeConnectionStatusRequest::~DescribeConnectionStatusRequest()
{}
std::string DescribeConnectionStatusRequest::getSourceEndpointRegion()const
{
return sourceEndpointRegion_;
}
void DescribeConnectionStatusRequest::setSourceEndpointRegion(const std::string& sourceEndpointRegion)
{
sourceEndpointRegion_ = sourceEndpointRegion;
setParameter("SourceEndpointRegion", sourceEndpointRegion);
}
std::string DescribeConnectionStatusRequest::getSourceEndpointArchitecture()const
{
return sourceEndpointArchitecture_;
}
void DescribeConnectionStatusRequest::setSourceEndpointArchitecture(const std::string& sourceEndpointArchitecture)
{
sourceEndpointArchitecture_ = sourceEndpointArchitecture;
setParameter("SourceEndpointArchitecture", sourceEndpointArchitecture);
}
std::string DescribeConnectionStatusRequest::getDestinationEndpointInstanceType()const
{
return destinationEndpointInstanceType_;
}
void DescribeConnectionStatusRequest::setDestinationEndpointInstanceType(const std::string& destinationEndpointInstanceType)
{
destinationEndpointInstanceType_ = destinationEndpointInstanceType;
setParameter("DestinationEndpointInstanceType", destinationEndpointInstanceType);
}
std::string DescribeConnectionStatusRequest::getSourceEndpointInstanceID()const
{
return sourceEndpointInstanceID_;
}
void DescribeConnectionStatusRequest::setSourceEndpointInstanceID(const std::string& sourceEndpointInstanceID)
{
sourceEndpointInstanceID_ = sourceEndpointInstanceID;
setParameter("SourceEndpointInstanceID", sourceEndpointInstanceID);
}
std::string DescribeConnectionStatusRequest::getSourceEndpointUserName()const
{
return sourceEndpointUserName_;
}
void DescribeConnectionStatusRequest::setSourceEndpointUserName(const std::string& sourceEndpointUserName)
{
sourceEndpointUserName_ = sourceEndpointUserName;
setParameter("SourceEndpointUserName", sourceEndpointUserName);
}
std::string DescribeConnectionStatusRequest::getSourceEndpointDatabaseName()const
{
return sourceEndpointDatabaseName_;
}
void DescribeConnectionStatusRequest::setSourceEndpointDatabaseName(const std::string& sourceEndpointDatabaseName)
{
sourceEndpointDatabaseName_ = sourceEndpointDatabaseName;
setParameter("SourceEndpointDatabaseName", sourceEndpointDatabaseName);
}
std::string DescribeConnectionStatusRequest::getDestinationEndpointRegion()const
{
return destinationEndpointRegion_;
}
void DescribeConnectionStatusRequest::setDestinationEndpointRegion(const std::string& destinationEndpointRegion)
{
destinationEndpointRegion_ = destinationEndpointRegion;
setParameter("DestinationEndpointRegion", destinationEndpointRegion);
}
std::string DescribeConnectionStatusRequest::getSourceEndpointIP()const
{
return sourceEndpointIP_;
}
void DescribeConnectionStatusRequest::setSourceEndpointIP(const std::string& sourceEndpointIP)
{
sourceEndpointIP_ = sourceEndpointIP;
setParameter("SourceEndpointIP", sourceEndpointIP);
}
std::string DescribeConnectionStatusRequest::getDestinationEndpointUserName()const
{
return destinationEndpointUserName_;
}
void DescribeConnectionStatusRequest::setDestinationEndpointUserName(const std::string& destinationEndpointUserName)
{
destinationEndpointUserName_ = destinationEndpointUserName;
setParameter("DestinationEndpointUserName", destinationEndpointUserName);
}
bool DescribeConnectionStatusRequest::getDestinationEndpointArchitecture()const
{
return destinationEndpointArchitecture_;
}
void DescribeConnectionStatusRequest::setDestinationEndpointArchitecture(bool destinationEndpointArchitecture)
{
destinationEndpointArchitecture_ = destinationEndpointArchitecture;
setParameter("DestinationEndpointArchitecture", destinationEndpointArchitecture ? "true" : "false");
}
bool DescribeConnectionStatusRequest::getDestinationEndpointOracleSID()const
{
return destinationEndpointOracleSID_;
}
void DescribeConnectionStatusRequest::setDestinationEndpointOracleSID(bool destinationEndpointOracleSID)
{
destinationEndpointOracleSID_ = destinationEndpointOracleSID;
setParameter("DestinationEndpointOracleSID", destinationEndpointOracleSID ? "true" : "false");
}
std::string DescribeConnectionStatusRequest::getDestinationEndpointEngineName()const
{
return destinationEndpointEngineName_;
}
void DescribeConnectionStatusRequest::setDestinationEndpointEngineName(const std::string& destinationEndpointEngineName)
{
destinationEndpointEngineName_ = destinationEndpointEngineName;
setParameter("DestinationEndpointEngineName", destinationEndpointEngineName);
}
std::string DescribeConnectionStatusRequest::getDestinationEndpointInstanceID()const
{
return destinationEndpointInstanceID_;
}
void DescribeConnectionStatusRequest::setDestinationEndpointInstanceID(const std::string& destinationEndpointInstanceID)
{
destinationEndpointInstanceID_ = destinationEndpointInstanceID;
setParameter("DestinationEndpointInstanceID", destinationEndpointInstanceID);
}
std::string DescribeConnectionStatusRequest::getDestinationEndpointPort()const
{
return destinationEndpointPort_;
}
void DescribeConnectionStatusRequest::setDestinationEndpointPort(const std::string& destinationEndpointPort)
{
destinationEndpointPort_ = destinationEndpointPort;
setParameter("DestinationEndpointPort", destinationEndpointPort);
}
std::string DescribeConnectionStatusRequest::getSourceEndpointPassword()const
{
return sourceEndpointPassword_;
}
void DescribeConnectionStatusRequest::setSourceEndpointPassword(const std::string& sourceEndpointPassword)
{
sourceEndpointPassword_ = sourceEndpointPassword;
setParameter("SourceEndpointPassword", sourceEndpointPassword);
}
std::string DescribeConnectionStatusRequest::getSourceEndpointPort()const
{
return sourceEndpointPort_;
}
void DescribeConnectionStatusRequest::setSourceEndpointPort(const std::string& sourceEndpointPort)
{
sourceEndpointPort_ = sourceEndpointPort;
setParameter("SourceEndpointPort", sourceEndpointPort);
}
std::string DescribeConnectionStatusRequest::getDestinationEndpointIP()const
{
return destinationEndpointIP_;
}
void DescribeConnectionStatusRequest::setDestinationEndpointIP(const std::string& destinationEndpointIP)
{
destinationEndpointIP_ = destinationEndpointIP;
setParameter("DestinationEndpointIP", destinationEndpointIP);
}
std::string DescribeConnectionStatusRequest::getSourceEndpointInstanceType()const
{
return sourceEndpointInstanceType_;
}
void DescribeConnectionStatusRequest::setSourceEndpointInstanceType(const std::string& sourceEndpointInstanceType)
{
sourceEndpointInstanceType_ = sourceEndpointInstanceType;
setParameter("SourceEndpointInstanceType", sourceEndpointInstanceType);
}
std::string DescribeConnectionStatusRequest::getSourceEndpointOracleSID()const
{
return sourceEndpointOracleSID_;
}
void DescribeConnectionStatusRequest::setSourceEndpointOracleSID(const std::string& sourceEndpointOracleSID)
{
sourceEndpointOracleSID_ = sourceEndpointOracleSID;
setParameter("SourceEndpointOracleSID", sourceEndpointOracleSID);
}
std::string DescribeConnectionStatusRequest::getDestinationEndpointDatabaseName()const
{
return destinationEndpointDatabaseName_;
}
void DescribeConnectionStatusRequest::setDestinationEndpointDatabaseName(const std::string& destinationEndpointDatabaseName)
{
destinationEndpointDatabaseName_ = destinationEndpointDatabaseName;
setParameter("DestinationEndpointDatabaseName", destinationEndpointDatabaseName);
}
std::string DescribeConnectionStatusRequest::getDestinationEndpointPassword()const
{
return destinationEndpointPassword_;
}
void DescribeConnectionStatusRequest::setDestinationEndpointPassword(const std::string& destinationEndpointPassword)
{
destinationEndpointPassword_ = destinationEndpointPassword;
setParameter("DestinationEndpointPassword", destinationEndpointPassword);
}
std::string DescribeConnectionStatusRequest::getSourceEndpointEngineName()const
{
return sourceEndpointEngineName_;
}
void DescribeConnectionStatusRequest::setSourceEndpointEngineName(const std::string& sourceEndpointEngineName)
{
sourceEndpointEngineName_ = sourceEndpointEngineName;
setParameter("SourceEndpointEngineName", sourceEndpointEngineName);
}

View File

@@ -0,0 +1,79 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/dts/model/DescribeConnectionStatusResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dts;
using namespace AlibabaCloud::Dts::Model;
DescribeConnectionStatusResult::DescribeConnectionStatusResult() :
ServiceResult()
{}
DescribeConnectionStatusResult::DescribeConnectionStatusResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeConnectionStatusResult::~DescribeConnectionStatusResult()
{}
void DescribeConnectionStatusResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ErrCode"].isNull())
errCode_ = value["ErrCode"].asString();
if(!value["ErrMessage"].isNull())
errMessage_ = value["ErrMessage"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString();
if(!value["SourceConnectionStatus"].isNull())
sourceConnectionStatus_ = value["SourceConnectionStatus"].asString();
if(!value["DestinationConnectionStatus"].isNull())
destinationConnectionStatus_ = value["DestinationConnectionStatus"].asString();
}
std::string DescribeConnectionStatusResult::getSourceConnectionStatus()const
{
return sourceConnectionStatus_;
}
std::string DescribeConnectionStatusResult::getErrMessage()const
{
return errMessage_;
}
std::string DescribeConnectionStatusResult::getDestinationConnectionStatus()const
{
return destinationConnectionStatus_;
}
std::string DescribeConnectionStatusResult::getSuccess()const
{
return success_;
}
std::string DescribeConnectionStatusResult::getErrCode()const
{
return errCode_;
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dts/model/DescribeDTSIPRequest.h>
using AlibabaCloud::Dts::Model::DescribeDTSIPRequest;
DescribeDTSIPRequest::DescribeDTSIPRequest() :
RpcServiceRequest("dts", "2020-01-01", "DescribeDTSIP")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDTSIPRequest::~DescribeDTSIPRequest()
{}
std::string DescribeDTSIPRequest::getSourceEndpointRegion()const
{
return sourceEndpointRegion_;
}
void DescribeDTSIPRequest::setSourceEndpointRegion(const std::string& sourceEndpointRegion)
{
sourceEndpointRegion_ = sourceEndpointRegion;
setParameter("SourceEndpointRegion", sourceEndpointRegion);
}
std::string DescribeDTSIPRequest::getDestinationEndpointRegion()const
{
return destinationEndpointRegion_;
}
void DescribeDTSIPRequest::setDestinationEndpointRegion(const std::string& destinationEndpointRegion)
{
destinationEndpointRegion_ = destinationEndpointRegion;
setParameter("DestinationEndpointRegion", destinationEndpointRegion);
}

View File

@@ -0,0 +1,79 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/dts/model/DescribeDTSIPResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dts;
using namespace AlibabaCloud::Dts::Model;
DescribeDTSIPResult::DescribeDTSIPResult() :
ServiceResult()
{}
DescribeDTSIPResult::DescribeDTSIPResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDTSIPResult::~DescribeDTSIPResult()
{}
void DescribeDTSIPResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ErrCode"].isNull())
errCode_ = value["ErrCode"].asString();
if(!value["ErrMessage"].isNull())
errMessage_ = value["ErrMessage"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString();
if(!value["DynamicCode"].isNull())
dynamicCode_ = value["DynamicCode"].asString();
if(!value["DynamicMessage"].isNull())
dynamicMessage_ = value["DynamicMessage"].asString();
}
std::string DescribeDTSIPResult::getDynamicCode()const
{
return dynamicCode_;
}
std::string DescribeDTSIPResult::getDynamicMessage()const
{
return dynamicMessage_;
}
std::string DescribeDTSIPResult::getErrMessage()const
{
return errMessage_;
}
std::string DescribeDTSIPResult::getSuccess()const
{
return success_;
}
std::string DescribeDTSIPResult::getErrCode()const
{
return errCode_;
}

View File

@@ -93,3 +93,19 @@ void DescribeMigrationJobsRequest::setMigrationJobName(const std::string& migrat
setParameter("MigrationJobName", migrationJobName);
}
std::vector<DescribeMigrationJobsRequest::Tag> DescribeMigrationJobsRequest::getTag()const
{
return tag_;
}
void DescribeMigrationJobsRequest::setTag(const std::vector<Tag>& tag)
{
tag_ = tag;
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
auto tagObj = tag.at(dep1);
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
setParameter(tagObjStr + ".Value", tagObj.value);
setParameter(tagObjStr + ".Key", tagObj.key);
}
}

View File

@@ -66,6 +66,16 @@ void DescribeMigrationJobsResult::parse(const std::string &payload)
migrationObjectObject.tableList.push_back(value.asString());
migrationJobsObject.migrationObject.push_back(migrationObjectObject);
}
auto allTagsNode = valueMigrationJobsMigrationJob["Tags"]["Tag"];
for (auto valueMigrationJobsMigrationJobTagsTag : allTagsNode)
{
MigrationJob::Tag tagsObject;
if(!valueMigrationJobsMigrationJobTagsTag["Key"].isNull())
tagsObject.key = valueMigrationJobsMigrationJobTagsTag["Key"].asString();
if(!valueMigrationJobsMigrationJobTagsTag["Value"].isNull())
tagsObject.value = valueMigrationJobsMigrationJobTagsTag["Value"].asString();
migrationJobsObject.tags.push_back(tagsObject);
}
auto dataInitializationNode = value["DataInitialization"];
if(!dataInitializationNode["ErrorMessage"].isNull())
migrationJobsObject.dataInitialization.errorMessage = dataInitializationNode["ErrorMessage"].asString();
@@ -141,18 +151,18 @@ void DescribeMigrationJobsResult::parse(const std::string &payload)
migrationJobsObject.structureInitialization.status = structureInitializationNode["status"].asString();
migrationJobs_.push_back(migrationJobsObject);
}
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["PageRecordCount"].isNull())
pageRecordCount_ = std::stoi(value["PageRecordCount"].asString());
if(!value["TotalRecordCount"].isNull())
totalRecordCount_ = std::stol(value["TotalRecordCount"].asString());
if(!value["ErrCode"].isNull())
errCode_ = value["ErrCode"].asString();
if(!value["ErrMessage"].isNull())
errMessage_ = value["ErrMessage"].asString();
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["PageRecordCount"].isNull())
pageRecordCount_ = std::stoi(value["PageRecordCount"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString();
if(!value["TotalRecordCount"].isNull())
totalRecordCount_ = std::stol(value["TotalRecordCount"].asString());
}

View File

@@ -104,3 +104,19 @@ void DescribeSubscriptionInstancesRequest::setSubscriptionInstanceName(const std
setParameter("SubscriptionInstanceName", subscriptionInstanceName);
}
std::vector<DescribeSubscriptionInstancesRequest::Tag> DescribeSubscriptionInstancesRequest::getTag()const
{
return tag_;
}
void DescribeSubscriptionInstancesRequest::setTag(const std::vector<Tag>& tag)
{
tag_ = tag;
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
auto tagObj = tag.at(dep1);
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
setParameter(tagObjStr + ".Value", tagObj.value);
setParameter(tagObjStr + ".Key", tagObj.key);
}
}

View File

@@ -76,6 +76,16 @@ void DescribeSubscriptionInstancesResult::parse(const std::string &payload)
subscriptionObjectObject.tableList.push_back(value.asString());
subscriptionInstancesObject.subscriptionObject.push_back(subscriptionObjectObject);
}
auto allTagsNode = valueSubscriptionInstancesSubscriptionInstance["Tags"]["Tag"];
for (auto valueSubscriptionInstancesSubscriptionInstanceTagsTag : allTagsNode)
{
SubscriptionInstance::Tag tagsObject;
if(!valueSubscriptionInstancesSubscriptionInstanceTagsTag["Key"].isNull())
tagsObject.key = valueSubscriptionInstancesSubscriptionInstanceTagsTag["Key"].asString();
if(!valueSubscriptionInstancesSubscriptionInstanceTagsTag["Value"].isNull())
tagsObject.value = valueSubscriptionInstancesSubscriptionInstanceTagsTag["Value"].asString();
subscriptionInstancesObject.tags.push_back(tagsObject);
}
auto sourceEndpointNode = value["SourceEndpoint"];
if(!sourceEndpointNode["InstanceID"].isNull())
subscriptionInstancesObject.sourceEndpoint.instanceID = sourceEndpointNode["InstanceID"].asString();
@@ -95,18 +105,18 @@ void DescribeSubscriptionInstancesResult::parse(const std::string &payload)
subscriptionInstancesObject.subscriptionHost.vPCHost = subscriptionHostNode["VPCHost"].asString();
subscriptionInstances_.push_back(subscriptionInstancesObject);
}
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["PageRecordCount"].isNull())
pageRecordCount_ = std::stoi(value["PageRecordCount"].asString());
if(!value["TotalRecordCount"].isNull())
totalRecordCount_ = std::stol(value["TotalRecordCount"].asString());
if(!value["ErrCode"].isNull())
errCode_ = value["ErrCode"].asString();
if(!value["ErrMessage"].isNull())
errMessage_ = value["ErrMessage"].asString();
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["PageRecordCount"].isNull())
pageRecordCount_ = std::stoi(value["PageRecordCount"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString();
if(!value["TotalRecordCount"].isNull())
totalRecordCount_ = std::stol(value["TotalRecordCount"].asString());
}

View File

@@ -104,3 +104,19 @@ void DescribeSynchronizationJobsRequest::setPageSize(int pageSize)
setParameter("PageSize", std::to_string(pageSize));
}
std::vector<DescribeSynchronizationJobsRequest::Tag> DescribeSynchronizationJobsRequest::getTag()const
{
return tag_;
}
void DescribeSynchronizationJobsRequest::setTag(const std::vector<Tag>& tag)
{
tag_ = tag;
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
auto tagObj = tag.at(dep1);
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
setParameter(tagObjStr + ".Value", tagObj.value);
setParameter(tagObjStr + ".Key", tagObj.key);
}
}

View File

@@ -67,6 +67,16 @@ void DescribeSynchronizationJobsResult::parse(const std::string &payload)
synchronizationInstancesObject.synchronizationJobId = valueSynchronizationInstancesSynchronizationInstance["SynchronizationJobId"].asString();
if(!valueSynchronizationInstancesSynchronizationInstance["SynchronizationJobName"].isNull())
synchronizationInstancesObject.synchronizationJobName = valueSynchronizationInstancesSynchronizationInstance["SynchronizationJobName"].asString();
auto allTagsNode = valueSynchronizationInstancesSynchronizationInstance["Tags"]["Tag"];
for (auto valueSynchronizationInstancesSynchronizationInstanceTagsTag : allTagsNode)
{
SynchronizationInstance::Tag tagsObject;
if(!valueSynchronizationInstancesSynchronizationInstanceTagsTag["Key"].isNull())
tagsObject.key = valueSynchronizationInstancesSynchronizationInstanceTagsTag["Key"].asString();
if(!valueSynchronizationInstancesSynchronizationInstanceTagsTag["Value"].isNull())
tagsObject.value = valueSynchronizationInstancesSynchronizationInstanceTagsTag["Value"].asString();
synchronizationInstancesObject.tags.push_back(tagsObject);
}
auto allSynchronizationObjectsNode = valueSynchronizationInstancesSynchronizationInstance["SynchronizationObjects"]["SynchronizationObject"];
for (auto valueSynchronizationInstancesSynchronizationInstanceSynchronizationObjectsSynchronizationObject : allSynchronizationObjectsNode)
{

522
opensearch/CMakeLists.txt Normal file
View File

@@ -0,0 +1,522 @@
#
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
set(opensearch_public_header
include/alibabacloud/opensearch/OpenSearchClient.h
include/alibabacloud/opensearch/OpenSearchExport.h )
set(opensearch_public_header_model
include/alibabacloud/opensearch/model/CompileSortScriptRequest.h
include/alibabacloud/opensearch/model/CompileSortScriptResult.h
include/alibabacloud/opensearch/model/CreateABTestExperimentRequest.h
include/alibabacloud/opensearch/model/CreateABTestExperimentResult.h
include/alibabacloud/opensearch/model/CreateABTestGroupRequest.h
include/alibabacloud/opensearch/model/CreateABTestGroupResult.h
include/alibabacloud/opensearch/model/CreateABTestSceneRequest.h
include/alibabacloud/opensearch/model/CreateABTestSceneResult.h
include/alibabacloud/opensearch/model/CreateAppRequest.h
include/alibabacloud/opensearch/model/CreateAppResult.h
include/alibabacloud/opensearch/model/CreateAppGroupRequest.h
include/alibabacloud/opensearch/model/CreateAppGroupResult.h
include/alibabacloud/opensearch/model/CreateDataCollectionRequest.h
include/alibabacloud/opensearch/model/CreateDataCollectionResult.h
include/alibabacloud/opensearch/model/CreateFirstRankRequest.h
include/alibabacloud/opensearch/model/CreateFirstRankResult.h
include/alibabacloud/opensearch/model/CreateInterventionDictionaryRequest.h
include/alibabacloud/opensearch/model/CreateInterventionDictionaryResult.h
include/alibabacloud/opensearch/model/CreateModelRequest.h
include/alibabacloud/opensearch/model/CreateModelResult.h
include/alibabacloud/opensearch/model/CreateQueryProcessorRequest.h
include/alibabacloud/opensearch/model/CreateQueryProcessorResult.h
include/alibabacloud/opensearch/model/CreateScheduledTaskRequest.h
include/alibabacloud/opensearch/model/CreateScheduledTaskResult.h
include/alibabacloud/opensearch/model/CreateSecondRankRequest.h
include/alibabacloud/opensearch/model/CreateSecondRankResult.h
include/alibabacloud/opensearch/model/CreateSortScriptRequest.h
include/alibabacloud/opensearch/model/CreateSortScriptResult.h
include/alibabacloud/opensearch/model/CreateUserAnalyzerRequest.h
include/alibabacloud/opensearch/model/CreateUserAnalyzerResult.h
include/alibabacloud/opensearch/model/DeleteABTestExperimentRequest.h
include/alibabacloud/opensearch/model/DeleteABTestExperimentResult.h
include/alibabacloud/opensearch/model/DeleteABTestGroupRequest.h
include/alibabacloud/opensearch/model/DeleteABTestGroupResult.h
include/alibabacloud/opensearch/model/DeleteABTestSceneRequest.h
include/alibabacloud/opensearch/model/DeleteABTestSceneResult.h
include/alibabacloud/opensearch/model/DeleteModelRequest.h
include/alibabacloud/opensearch/model/DeleteModelResult.h
include/alibabacloud/opensearch/model/DeleteSortScriptRequest.h
include/alibabacloud/opensearch/model/DeleteSortScriptResult.h
include/alibabacloud/opensearch/model/DeleteSortScriptFileRequest.h
include/alibabacloud/opensearch/model/DeleteSortScriptFileResult.h
include/alibabacloud/opensearch/model/DescribeABTestExperimentRequest.h
include/alibabacloud/opensearch/model/DescribeABTestExperimentResult.h
include/alibabacloud/opensearch/model/DescribeABTestGroupRequest.h
include/alibabacloud/opensearch/model/DescribeABTestGroupResult.h
include/alibabacloud/opensearch/model/DescribeABTestSceneRequest.h
include/alibabacloud/opensearch/model/DescribeABTestSceneResult.h
include/alibabacloud/opensearch/model/DescribeAppRequest.h
include/alibabacloud/opensearch/model/DescribeAppResult.h
include/alibabacloud/opensearch/model/DescribeAppGroupRequest.h
include/alibabacloud/opensearch/model/DescribeAppGroupResult.h
include/alibabacloud/opensearch/model/DescribeAppGroupDataReportRequest.h
include/alibabacloud/opensearch/model/DescribeAppGroupDataReportResult.h
include/alibabacloud/opensearch/model/DescribeAppStatisticsRequest.h
include/alibabacloud/opensearch/model/DescribeAppStatisticsResult.h
include/alibabacloud/opensearch/model/DescribeAppsRequest.h
include/alibabacloud/opensearch/model/DescribeAppsResult.h
include/alibabacloud/opensearch/model/DescribeDataCollctionRequest.h
include/alibabacloud/opensearch/model/DescribeDataCollctionResult.h
include/alibabacloud/opensearch/model/DescribeFirstRankRequest.h
include/alibabacloud/opensearch/model/DescribeFirstRankResult.h
include/alibabacloud/opensearch/model/DescribeInterventionDictionaryRequest.h
include/alibabacloud/opensearch/model/DescribeInterventionDictionaryResult.h
include/alibabacloud/opensearch/model/DescribeModelRequest.h
include/alibabacloud/opensearch/model/DescribeModelResult.h
include/alibabacloud/opensearch/model/DescribeQueryProcessorRequest.h
include/alibabacloud/opensearch/model/DescribeQueryProcessorResult.h
include/alibabacloud/opensearch/model/DescribeRegionRequest.h
include/alibabacloud/opensearch/model/DescribeRegionResult.h
include/alibabacloud/opensearch/model/DescribeRegionsRequest.h
include/alibabacloud/opensearch/model/DescribeRegionsResult.h
include/alibabacloud/opensearch/model/DescribeScheduledTaskRequest.h
include/alibabacloud/opensearch/model/DescribeScheduledTaskResult.h
include/alibabacloud/opensearch/model/DescribeSecondRankRequest.h
include/alibabacloud/opensearch/model/DescribeSecondRankResult.h
include/alibabacloud/opensearch/model/DescribeSlowQueryStatusRequest.h
include/alibabacloud/opensearch/model/DescribeSlowQueryStatusResult.h
include/alibabacloud/opensearch/model/DescribeUserAnalyzerRequest.h
include/alibabacloud/opensearch/model/DescribeUserAnalyzerResult.h
include/alibabacloud/opensearch/model/DisableSlowQueryRequest.h
include/alibabacloud/opensearch/model/DisableSlowQueryResult.h
include/alibabacloud/opensearch/model/EnableSlowQueryRequest.h
include/alibabacloud/opensearch/model/EnableSlowQueryResult.h
include/alibabacloud/opensearch/model/GetModelProgressRequest.h
include/alibabacloud/opensearch/model/GetModelProgressResult.h
include/alibabacloud/opensearch/model/GetModelReportRequest.h
include/alibabacloud/opensearch/model/GetModelReportResult.h
include/alibabacloud/opensearch/model/GetScriptFileNamesRequest.h
include/alibabacloud/opensearch/model/GetScriptFileNamesResult.h
include/alibabacloud/opensearch/model/GetSortScriptRequest.h
include/alibabacloud/opensearch/model/GetSortScriptResult.h
include/alibabacloud/opensearch/model/GetSortScriptFileRequest.h
include/alibabacloud/opensearch/model/GetSortScriptFileResult.h
include/alibabacloud/opensearch/model/GetValidationErrorRequest.h
include/alibabacloud/opensearch/model/GetValidationErrorResult.h
include/alibabacloud/opensearch/model/GetValidationReportRequest.h
include/alibabacloud/opensearch/model/GetValidationReportResult.h
include/alibabacloud/opensearch/model/ListABTestExperimentsRequest.h
include/alibabacloud/opensearch/model/ListABTestExperimentsResult.h
include/alibabacloud/opensearch/model/ListABTestFixedFlowDividersRequest.h
include/alibabacloud/opensearch/model/ListABTestFixedFlowDividersResult.h
include/alibabacloud/opensearch/model/ListABTestGroupsRequest.h
include/alibabacloud/opensearch/model/ListABTestGroupsResult.h
include/alibabacloud/opensearch/model/ListABTestMetricsRequest.h
include/alibabacloud/opensearch/model/ListABTestMetricsResult.h
include/alibabacloud/opensearch/model/ListABTestScenesRequest.h
include/alibabacloud/opensearch/model/ListABTestScenesResult.h
include/alibabacloud/opensearch/model/ListAppGroupErrorsRequest.h
include/alibabacloud/opensearch/model/ListAppGroupErrorsResult.h
include/alibabacloud/opensearch/model/ListAppGroupMetricsRequest.h
include/alibabacloud/opensearch/model/ListAppGroupMetricsResult.h
include/alibabacloud/opensearch/model/ListAppGroupsRequest.h
include/alibabacloud/opensearch/model/ListAppGroupsResult.h
include/alibabacloud/opensearch/model/ListAppsRequest.h
include/alibabacloud/opensearch/model/ListAppsResult.h
include/alibabacloud/opensearch/model/ListDataCollectionsRequest.h
include/alibabacloud/opensearch/model/ListDataCollectionsResult.h
include/alibabacloud/opensearch/model/ListDeployedAlgorithmModelsRequest.h
include/alibabacloud/opensearch/model/ListDeployedAlgorithmModelsResult.h
include/alibabacloud/opensearch/model/ListFirstRanksRequest.h
include/alibabacloud/opensearch/model/ListFirstRanksResult.h
include/alibabacloud/opensearch/model/ListInterventionDictionariesRequest.h
include/alibabacloud/opensearch/model/ListInterventionDictionariesResult.h
include/alibabacloud/opensearch/model/ListInterventionDictionaryEntriesRequest.h
include/alibabacloud/opensearch/model/ListInterventionDictionaryEntriesResult.h
include/alibabacloud/opensearch/model/ListInterventionDictionaryNerResultsRequest.h
include/alibabacloud/opensearch/model/ListInterventionDictionaryNerResultsResult.h
include/alibabacloud/opensearch/model/ListInterventionDictionaryRelatedEntitiesRequest.h
include/alibabacloud/opensearch/model/ListInterventionDictionaryRelatedEntitiesResult.h
include/alibabacloud/opensearch/model/ListModelsRequest.h
include/alibabacloud/opensearch/model/ListModelsResult.h
include/alibabacloud/opensearch/model/ListQueryProcessorNersRequest.h
include/alibabacloud/opensearch/model/ListQueryProcessorNersResult.h
include/alibabacloud/opensearch/model/ListQueryProcessorsRequest.h
include/alibabacloud/opensearch/model/ListQueryProcessorsResult.h
include/alibabacloud/opensearch/model/ListScheduledTasksRequest.h
include/alibabacloud/opensearch/model/ListScheduledTasksResult.h
include/alibabacloud/opensearch/model/ListSecondRanksRequest.h
include/alibabacloud/opensearch/model/ListSecondRanksResult.h
include/alibabacloud/opensearch/model/ListSlowQueryCategoriesRequest.h
include/alibabacloud/opensearch/model/ListSlowQueryCategoriesResult.h
include/alibabacloud/opensearch/model/ListSlowQueryQueriesRequest.h
include/alibabacloud/opensearch/model/ListSlowQueryQueriesResult.h
include/alibabacloud/opensearch/model/ListSortExpressionsRequest.h
include/alibabacloud/opensearch/model/ListSortExpressionsResult.h
include/alibabacloud/opensearch/model/ListSortScriptsRequest.h
include/alibabacloud/opensearch/model/ListSortScriptsResult.h
include/alibabacloud/opensearch/model/ListStatisticLogsRequest.h
include/alibabacloud/opensearch/model/ListStatisticLogsResult.h
include/alibabacloud/opensearch/model/ListStatisticReportRequest.h
include/alibabacloud/opensearch/model/ListStatisticReportResult.h
include/alibabacloud/opensearch/model/ListUserAnalyzerEntriesRequest.h
include/alibabacloud/opensearch/model/ListUserAnalyzerEntriesResult.h
include/alibabacloud/opensearch/model/ListUserAnalyzersRequest.h
include/alibabacloud/opensearch/model/ListUserAnalyzersResult.h
include/alibabacloud/opensearch/model/ModifyAppGroupRequest.h
include/alibabacloud/opensearch/model/ModifyAppGroupResult.h
include/alibabacloud/opensearch/model/ModifyAppGroupQuotaRequest.h
include/alibabacloud/opensearch/model/ModifyAppGroupQuotaResult.h
include/alibabacloud/opensearch/model/ModifyFirstRankRequest.h
include/alibabacloud/opensearch/model/ModifyFirstRankResult.h
include/alibabacloud/opensearch/model/ModifyModelRequest.h
include/alibabacloud/opensearch/model/ModifyModelResult.h
include/alibabacloud/opensearch/model/ModifyQueryProcessorRequest.h
include/alibabacloud/opensearch/model/ModifyQueryProcessorResult.h
include/alibabacloud/opensearch/model/ModifyScheduledTaskRequest.h
include/alibabacloud/opensearch/model/ModifyScheduledTaskResult.h
include/alibabacloud/opensearch/model/ModifySecondRankRequest.h
include/alibabacloud/opensearch/model/ModifySecondRankResult.h
include/alibabacloud/opensearch/model/PreviewModelRequest.h
include/alibabacloud/opensearch/model/PreviewModelResult.h
include/alibabacloud/opensearch/model/PushInterventionDictionaryEntriesRequest.h
include/alibabacloud/opensearch/model/PushInterventionDictionaryEntriesResult.h
include/alibabacloud/opensearch/model/PushUserAnalyzerEntriesRequest.h
include/alibabacloud/opensearch/model/PushUserAnalyzerEntriesResult.h
include/alibabacloud/opensearch/model/RankPreviewQueryRequest.h
include/alibabacloud/opensearch/model/RankPreviewQueryResult.h
include/alibabacloud/opensearch/model/ReleaseSortScriptRequest.h
include/alibabacloud/opensearch/model/ReleaseSortScriptResult.h
include/alibabacloud/opensearch/model/RemoveAppRequest.h
include/alibabacloud/opensearch/model/RemoveAppResult.h
include/alibabacloud/opensearch/model/RemoveAppGroupRequest.h
include/alibabacloud/opensearch/model/RemoveAppGroupResult.h
include/alibabacloud/opensearch/model/RemoveDataCollectionRequest.h
include/alibabacloud/opensearch/model/RemoveDataCollectionResult.h
include/alibabacloud/opensearch/model/RemoveFirstRankRequest.h
include/alibabacloud/opensearch/model/RemoveFirstRankResult.h
include/alibabacloud/opensearch/model/RemoveInterventionDictionaryRequest.h
include/alibabacloud/opensearch/model/RemoveInterventionDictionaryResult.h
include/alibabacloud/opensearch/model/RemoveQueryProcessorRequest.h
include/alibabacloud/opensearch/model/RemoveQueryProcessorResult.h
include/alibabacloud/opensearch/model/RemoveScheduledTaskRequest.h
include/alibabacloud/opensearch/model/RemoveScheduledTaskResult.h
include/alibabacloud/opensearch/model/RemoveSecondRankRequest.h
include/alibabacloud/opensearch/model/RemoveSecondRankResult.h
include/alibabacloud/opensearch/model/RemoveUserAnalyzerRequest.h
include/alibabacloud/opensearch/model/RemoveUserAnalyzerResult.h
include/alibabacloud/opensearch/model/RenewAppGroupRequest.h
include/alibabacloud/opensearch/model/RenewAppGroupResult.h
include/alibabacloud/opensearch/model/ReplaceAppGroupCommodityCodeRequest.h
include/alibabacloud/opensearch/model/ReplaceAppGroupCommodityCodeResult.h
include/alibabacloud/opensearch/model/SaveSortScriptFileRequest.h
include/alibabacloud/opensearch/model/SaveSortScriptFileResult.h
include/alibabacloud/opensearch/model/StartSlowQueryAnalyzerRequest.h
include/alibabacloud/opensearch/model/StartSlowQueryAnalyzerResult.h
include/alibabacloud/opensearch/model/TrainModelRequest.h
include/alibabacloud/opensearch/model/TrainModelResult.h
include/alibabacloud/opensearch/model/UpdateABTestExperimentRequest.h
include/alibabacloud/opensearch/model/UpdateABTestExperimentResult.h
include/alibabacloud/opensearch/model/UpdateABTestFixedFlowDividersRequest.h
include/alibabacloud/opensearch/model/UpdateABTestFixedFlowDividersResult.h
include/alibabacloud/opensearch/model/UpdateABTestGroupRequest.h
include/alibabacloud/opensearch/model/UpdateABTestGroupResult.h
include/alibabacloud/opensearch/model/UpdateABTestSceneRequest.h
include/alibabacloud/opensearch/model/UpdateABTestSceneResult.h
include/alibabacloud/opensearch/model/UpdateFetchFieldsRequest.h
include/alibabacloud/opensearch/model/UpdateFetchFieldsResult.h
include/alibabacloud/opensearch/model/UpdateSummariesRequest.h
include/alibabacloud/opensearch/model/UpdateSummariesResult.h )
set(opensearch_src
src/OpenSearchClient.cc
src/model/CompileSortScriptRequest.cc
src/model/CompileSortScriptResult.cc
src/model/CreateABTestExperimentRequest.cc
src/model/CreateABTestExperimentResult.cc
src/model/CreateABTestGroupRequest.cc
src/model/CreateABTestGroupResult.cc
src/model/CreateABTestSceneRequest.cc
src/model/CreateABTestSceneResult.cc
src/model/CreateAppRequest.cc
src/model/CreateAppResult.cc
src/model/CreateAppGroupRequest.cc
src/model/CreateAppGroupResult.cc
src/model/CreateDataCollectionRequest.cc
src/model/CreateDataCollectionResult.cc
src/model/CreateFirstRankRequest.cc
src/model/CreateFirstRankResult.cc
src/model/CreateInterventionDictionaryRequest.cc
src/model/CreateInterventionDictionaryResult.cc
src/model/CreateModelRequest.cc
src/model/CreateModelResult.cc
src/model/CreateQueryProcessorRequest.cc
src/model/CreateQueryProcessorResult.cc
src/model/CreateScheduledTaskRequest.cc
src/model/CreateScheduledTaskResult.cc
src/model/CreateSecondRankRequest.cc
src/model/CreateSecondRankResult.cc
src/model/CreateSortScriptRequest.cc
src/model/CreateSortScriptResult.cc
src/model/CreateUserAnalyzerRequest.cc
src/model/CreateUserAnalyzerResult.cc
src/model/DeleteABTestExperimentRequest.cc
src/model/DeleteABTestExperimentResult.cc
src/model/DeleteABTestGroupRequest.cc
src/model/DeleteABTestGroupResult.cc
src/model/DeleteABTestSceneRequest.cc
src/model/DeleteABTestSceneResult.cc
src/model/DeleteModelRequest.cc
src/model/DeleteModelResult.cc
src/model/DeleteSortScriptRequest.cc
src/model/DeleteSortScriptResult.cc
src/model/DeleteSortScriptFileRequest.cc
src/model/DeleteSortScriptFileResult.cc
src/model/DescribeABTestExperimentRequest.cc
src/model/DescribeABTestExperimentResult.cc
src/model/DescribeABTestGroupRequest.cc
src/model/DescribeABTestGroupResult.cc
src/model/DescribeABTestSceneRequest.cc
src/model/DescribeABTestSceneResult.cc
src/model/DescribeAppRequest.cc
src/model/DescribeAppResult.cc
src/model/DescribeAppGroupRequest.cc
src/model/DescribeAppGroupResult.cc
src/model/DescribeAppGroupDataReportRequest.cc
src/model/DescribeAppGroupDataReportResult.cc
src/model/DescribeAppStatisticsRequest.cc
src/model/DescribeAppStatisticsResult.cc
src/model/DescribeAppsRequest.cc
src/model/DescribeAppsResult.cc
src/model/DescribeDataCollctionRequest.cc
src/model/DescribeDataCollctionResult.cc
src/model/DescribeFirstRankRequest.cc
src/model/DescribeFirstRankResult.cc
src/model/DescribeInterventionDictionaryRequest.cc
src/model/DescribeInterventionDictionaryResult.cc
src/model/DescribeModelRequest.cc
src/model/DescribeModelResult.cc
src/model/DescribeQueryProcessorRequest.cc
src/model/DescribeQueryProcessorResult.cc
src/model/DescribeRegionRequest.cc
src/model/DescribeRegionResult.cc
src/model/DescribeRegionsRequest.cc
src/model/DescribeRegionsResult.cc
src/model/DescribeScheduledTaskRequest.cc
src/model/DescribeScheduledTaskResult.cc
src/model/DescribeSecondRankRequest.cc
src/model/DescribeSecondRankResult.cc
src/model/DescribeSlowQueryStatusRequest.cc
src/model/DescribeSlowQueryStatusResult.cc
src/model/DescribeUserAnalyzerRequest.cc
src/model/DescribeUserAnalyzerResult.cc
src/model/DisableSlowQueryRequest.cc
src/model/DisableSlowQueryResult.cc
src/model/EnableSlowQueryRequest.cc
src/model/EnableSlowQueryResult.cc
src/model/GetModelProgressRequest.cc
src/model/GetModelProgressResult.cc
src/model/GetModelReportRequest.cc
src/model/GetModelReportResult.cc
src/model/GetScriptFileNamesRequest.cc
src/model/GetScriptFileNamesResult.cc
src/model/GetSortScriptRequest.cc
src/model/GetSortScriptResult.cc
src/model/GetSortScriptFileRequest.cc
src/model/GetSortScriptFileResult.cc
src/model/GetValidationErrorRequest.cc
src/model/GetValidationErrorResult.cc
src/model/GetValidationReportRequest.cc
src/model/GetValidationReportResult.cc
src/model/ListABTestExperimentsRequest.cc
src/model/ListABTestExperimentsResult.cc
src/model/ListABTestFixedFlowDividersRequest.cc
src/model/ListABTestFixedFlowDividersResult.cc
src/model/ListABTestGroupsRequest.cc
src/model/ListABTestGroupsResult.cc
src/model/ListABTestMetricsRequest.cc
src/model/ListABTestMetricsResult.cc
src/model/ListABTestScenesRequest.cc
src/model/ListABTestScenesResult.cc
src/model/ListAppGroupErrorsRequest.cc
src/model/ListAppGroupErrorsResult.cc
src/model/ListAppGroupMetricsRequest.cc
src/model/ListAppGroupMetricsResult.cc
src/model/ListAppGroupsRequest.cc
src/model/ListAppGroupsResult.cc
src/model/ListAppsRequest.cc
src/model/ListAppsResult.cc
src/model/ListDataCollectionsRequest.cc
src/model/ListDataCollectionsResult.cc
src/model/ListDeployedAlgorithmModelsRequest.cc
src/model/ListDeployedAlgorithmModelsResult.cc
src/model/ListFirstRanksRequest.cc
src/model/ListFirstRanksResult.cc
src/model/ListInterventionDictionariesRequest.cc
src/model/ListInterventionDictionariesResult.cc
src/model/ListInterventionDictionaryEntriesRequest.cc
src/model/ListInterventionDictionaryEntriesResult.cc
src/model/ListInterventionDictionaryNerResultsRequest.cc
src/model/ListInterventionDictionaryNerResultsResult.cc
src/model/ListInterventionDictionaryRelatedEntitiesRequest.cc
src/model/ListInterventionDictionaryRelatedEntitiesResult.cc
src/model/ListModelsRequest.cc
src/model/ListModelsResult.cc
src/model/ListQueryProcessorNersRequest.cc
src/model/ListQueryProcessorNersResult.cc
src/model/ListQueryProcessorsRequest.cc
src/model/ListQueryProcessorsResult.cc
src/model/ListScheduledTasksRequest.cc
src/model/ListScheduledTasksResult.cc
src/model/ListSecondRanksRequest.cc
src/model/ListSecondRanksResult.cc
src/model/ListSlowQueryCategoriesRequest.cc
src/model/ListSlowQueryCategoriesResult.cc
src/model/ListSlowQueryQueriesRequest.cc
src/model/ListSlowQueryQueriesResult.cc
src/model/ListSortExpressionsRequest.cc
src/model/ListSortExpressionsResult.cc
src/model/ListSortScriptsRequest.cc
src/model/ListSortScriptsResult.cc
src/model/ListStatisticLogsRequest.cc
src/model/ListStatisticLogsResult.cc
src/model/ListStatisticReportRequest.cc
src/model/ListStatisticReportResult.cc
src/model/ListUserAnalyzerEntriesRequest.cc
src/model/ListUserAnalyzerEntriesResult.cc
src/model/ListUserAnalyzersRequest.cc
src/model/ListUserAnalyzersResult.cc
src/model/ModifyAppGroupRequest.cc
src/model/ModifyAppGroupResult.cc
src/model/ModifyAppGroupQuotaRequest.cc
src/model/ModifyAppGroupQuotaResult.cc
src/model/ModifyFirstRankRequest.cc
src/model/ModifyFirstRankResult.cc
src/model/ModifyModelRequest.cc
src/model/ModifyModelResult.cc
src/model/ModifyQueryProcessorRequest.cc
src/model/ModifyQueryProcessorResult.cc
src/model/ModifyScheduledTaskRequest.cc
src/model/ModifyScheduledTaskResult.cc
src/model/ModifySecondRankRequest.cc
src/model/ModifySecondRankResult.cc
src/model/PreviewModelRequest.cc
src/model/PreviewModelResult.cc
src/model/PushInterventionDictionaryEntriesRequest.cc
src/model/PushInterventionDictionaryEntriesResult.cc
src/model/PushUserAnalyzerEntriesRequest.cc
src/model/PushUserAnalyzerEntriesResult.cc
src/model/RankPreviewQueryRequest.cc
src/model/RankPreviewQueryResult.cc
src/model/ReleaseSortScriptRequest.cc
src/model/ReleaseSortScriptResult.cc
src/model/RemoveAppRequest.cc
src/model/RemoveAppResult.cc
src/model/RemoveAppGroupRequest.cc
src/model/RemoveAppGroupResult.cc
src/model/RemoveDataCollectionRequest.cc
src/model/RemoveDataCollectionResult.cc
src/model/RemoveFirstRankRequest.cc
src/model/RemoveFirstRankResult.cc
src/model/RemoveInterventionDictionaryRequest.cc
src/model/RemoveInterventionDictionaryResult.cc
src/model/RemoveQueryProcessorRequest.cc
src/model/RemoveQueryProcessorResult.cc
src/model/RemoveScheduledTaskRequest.cc
src/model/RemoveScheduledTaskResult.cc
src/model/RemoveSecondRankRequest.cc
src/model/RemoveSecondRankResult.cc
src/model/RemoveUserAnalyzerRequest.cc
src/model/RemoveUserAnalyzerResult.cc
src/model/RenewAppGroupRequest.cc
src/model/RenewAppGroupResult.cc
src/model/ReplaceAppGroupCommodityCodeRequest.cc
src/model/ReplaceAppGroupCommodityCodeResult.cc
src/model/SaveSortScriptFileRequest.cc
src/model/SaveSortScriptFileResult.cc
src/model/StartSlowQueryAnalyzerRequest.cc
src/model/StartSlowQueryAnalyzerResult.cc
src/model/TrainModelRequest.cc
src/model/TrainModelResult.cc
src/model/UpdateABTestExperimentRequest.cc
src/model/UpdateABTestExperimentResult.cc
src/model/UpdateABTestFixedFlowDividersRequest.cc
src/model/UpdateABTestFixedFlowDividersResult.cc
src/model/UpdateABTestGroupRequest.cc
src/model/UpdateABTestGroupResult.cc
src/model/UpdateABTestSceneRequest.cc
src/model/UpdateABTestSceneResult.cc
src/model/UpdateFetchFieldsRequest.cc
src/model/UpdateFetchFieldsResult.cc
src/model/UpdateSummariesRequest.cc
src/model/UpdateSummariesResult.cc )
add_library(opensearch ${LIB_TYPE}
${opensearch_public_header}
${opensearch_public_header_model}
${opensearch_src})
set_target_properties(opensearch
PROPERTIES
LINKER_LANGUAGE CXX
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}opensearch
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(opensearch
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_OPENSEARCH_LIBRARY)
endif()
target_include_directories(opensearch
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(opensearch
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(opensearch
jsoncpp)
target_include_directories(opensearch
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(opensearch
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(opensearch
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(opensearch
PRIVATE /usr/include/jsoncpp)
target_link_libraries(opensearch
jsoncpp)
endif()
install(FILES ${opensearch_public_header}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/opensearch)
install(FILES ${opensearch_public_header_model}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/opensearch/model)
install(TARGETS opensearch
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

View File

@@ -0,0 +1,926 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_OPENSEARCHCLIENT_H_
#define ALIBABACLOUD_OPENSEARCH_OPENSEARCHCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RoaServiceClient.h>
#include "OpenSearchExport.h"
#include "model/CompileSortScriptRequest.h"
#include "model/CompileSortScriptResult.h"
#include "model/CreateABTestExperimentRequest.h"
#include "model/CreateABTestExperimentResult.h"
#include "model/CreateABTestGroupRequest.h"
#include "model/CreateABTestGroupResult.h"
#include "model/CreateABTestSceneRequest.h"
#include "model/CreateABTestSceneResult.h"
#include "model/CreateAppRequest.h"
#include "model/CreateAppResult.h"
#include "model/CreateAppGroupRequest.h"
#include "model/CreateAppGroupResult.h"
#include "model/CreateDataCollectionRequest.h"
#include "model/CreateDataCollectionResult.h"
#include "model/CreateFirstRankRequest.h"
#include "model/CreateFirstRankResult.h"
#include "model/CreateInterventionDictionaryRequest.h"
#include "model/CreateInterventionDictionaryResult.h"
#include "model/CreateModelRequest.h"
#include "model/CreateModelResult.h"
#include "model/CreateQueryProcessorRequest.h"
#include "model/CreateQueryProcessorResult.h"
#include "model/CreateScheduledTaskRequest.h"
#include "model/CreateScheduledTaskResult.h"
#include "model/CreateSecondRankRequest.h"
#include "model/CreateSecondRankResult.h"
#include "model/CreateSortScriptRequest.h"
#include "model/CreateSortScriptResult.h"
#include "model/CreateUserAnalyzerRequest.h"
#include "model/CreateUserAnalyzerResult.h"
#include "model/DeleteABTestExperimentRequest.h"
#include "model/DeleteABTestExperimentResult.h"
#include "model/DeleteABTestGroupRequest.h"
#include "model/DeleteABTestGroupResult.h"
#include "model/DeleteABTestSceneRequest.h"
#include "model/DeleteABTestSceneResult.h"
#include "model/DeleteModelRequest.h"
#include "model/DeleteModelResult.h"
#include "model/DeleteSortScriptRequest.h"
#include "model/DeleteSortScriptResult.h"
#include "model/DeleteSortScriptFileRequest.h"
#include "model/DeleteSortScriptFileResult.h"
#include "model/DescribeABTestExperimentRequest.h"
#include "model/DescribeABTestExperimentResult.h"
#include "model/DescribeABTestGroupRequest.h"
#include "model/DescribeABTestGroupResult.h"
#include "model/DescribeABTestSceneRequest.h"
#include "model/DescribeABTestSceneResult.h"
#include "model/DescribeAppRequest.h"
#include "model/DescribeAppResult.h"
#include "model/DescribeAppGroupRequest.h"
#include "model/DescribeAppGroupResult.h"
#include "model/DescribeAppGroupDataReportRequest.h"
#include "model/DescribeAppGroupDataReportResult.h"
#include "model/DescribeAppStatisticsRequest.h"
#include "model/DescribeAppStatisticsResult.h"
#include "model/DescribeAppsRequest.h"
#include "model/DescribeAppsResult.h"
#include "model/DescribeDataCollctionRequest.h"
#include "model/DescribeDataCollctionResult.h"
#include "model/DescribeFirstRankRequest.h"
#include "model/DescribeFirstRankResult.h"
#include "model/DescribeInterventionDictionaryRequest.h"
#include "model/DescribeInterventionDictionaryResult.h"
#include "model/DescribeModelRequest.h"
#include "model/DescribeModelResult.h"
#include "model/DescribeQueryProcessorRequest.h"
#include "model/DescribeQueryProcessorResult.h"
#include "model/DescribeRegionRequest.h"
#include "model/DescribeRegionResult.h"
#include "model/DescribeRegionsRequest.h"
#include "model/DescribeRegionsResult.h"
#include "model/DescribeScheduledTaskRequest.h"
#include "model/DescribeScheduledTaskResult.h"
#include "model/DescribeSecondRankRequest.h"
#include "model/DescribeSecondRankResult.h"
#include "model/DescribeSlowQueryStatusRequest.h"
#include "model/DescribeSlowQueryStatusResult.h"
#include "model/DescribeUserAnalyzerRequest.h"
#include "model/DescribeUserAnalyzerResult.h"
#include "model/DisableSlowQueryRequest.h"
#include "model/DisableSlowQueryResult.h"
#include "model/EnableSlowQueryRequest.h"
#include "model/EnableSlowQueryResult.h"
#include "model/GetModelProgressRequest.h"
#include "model/GetModelProgressResult.h"
#include "model/GetModelReportRequest.h"
#include "model/GetModelReportResult.h"
#include "model/GetScriptFileNamesRequest.h"
#include "model/GetScriptFileNamesResult.h"
#include "model/GetSortScriptRequest.h"
#include "model/GetSortScriptResult.h"
#include "model/GetSortScriptFileRequest.h"
#include "model/GetSortScriptFileResult.h"
#include "model/GetValidationErrorRequest.h"
#include "model/GetValidationErrorResult.h"
#include "model/GetValidationReportRequest.h"
#include "model/GetValidationReportResult.h"
#include "model/ListABTestExperimentsRequest.h"
#include "model/ListABTestExperimentsResult.h"
#include "model/ListABTestFixedFlowDividersRequest.h"
#include "model/ListABTestFixedFlowDividersResult.h"
#include "model/ListABTestGroupsRequest.h"
#include "model/ListABTestGroupsResult.h"
#include "model/ListABTestMetricsRequest.h"
#include "model/ListABTestMetricsResult.h"
#include "model/ListABTestScenesRequest.h"
#include "model/ListABTestScenesResult.h"
#include "model/ListAppGroupErrorsRequest.h"
#include "model/ListAppGroupErrorsResult.h"
#include "model/ListAppGroupMetricsRequest.h"
#include "model/ListAppGroupMetricsResult.h"
#include "model/ListAppGroupsRequest.h"
#include "model/ListAppGroupsResult.h"
#include "model/ListAppsRequest.h"
#include "model/ListAppsResult.h"
#include "model/ListDataCollectionsRequest.h"
#include "model/ListDataCollectionsResult.h"
#include "model/ListDeployedAlgorithmModelsRequest.h"
#include "model/ListDeployedAlgorithmModelsResult.h"
#include "model/ListFirstRanksRequest.h"
#include "model/ListFirstRanksResult.h"
#include "model/ListInterventionDictionariesRequest.h"
#include "model/ListInterventionDictionariesResult.h"
#include "model/ListInterventionDictionaryEntriesRequest.h"
#include "model/ListInterventionDictionaryEntriesResult.h"
#include "model/ListInterventionDictionaryNerResultsRequest.h"
#include "model/ListInterventionDictionaryNerResultsResult.h"
#include "model/ListInterventionDictionaryRelatedEntitiesRequest.h"
#include "model/ListInterventionDictionaryRelatedEntitiesResult.h"
#include "model/ListModelsRequest.h"
#include "model/ListModelsResult.h"
#include "model/ListQueryProcessorNersRequest.h"
#include "model/ListQueryProcessorNersResult.h"
#include "model/ListQueryProcessorsRequest.h"
#include "model/ListQueryProcessorsResult.h"
#include "model/ListScheduledTasksRequest.h"
#include "model/ListScheduledTasksResult.h"
#include "model/ListSecondRanksRequest.h"
#include "model/ListSecondRanksResult.h"
#include "model/ListSlowQueryCategoriesRequest.h"
#include "model/ListSlowQueryCategoriesResult.h"
#include "model/ListSlowQueryQueriesRequest.h"
#include "model/ListSlowQueryQueriesResult.h"
#include "model/ListSortExpressionsRequest.h"
#include "model/ListSortExpressionsResult.h"
#include "model/ListSortScriptsRequest.h"
#include "model/ListSortScriptsResult.h"
#include "model/ListStatisticLogsRequest.h"
#include "model/ListStatisticLogsResult.h"
#include "model/ListStatisticReportRequest.h"
#include "model/ListStatisticReportResult.h"
#include "model/ListUserAnalyzerEntriesRequest.h"
#include "model/ListUserAnalyzerEntriesResult.h"
#include "model/ListUserAnalyzersRequest.h"
#include "model/ListUserAnalyzersResult.h"
#include "model/ModifyAppGroupRequest.h"
#include "model/ModifyAppGroupResult.h"
#include "model/ModifyAppGroupQuotaRequest.h"
#include "model/ModifyAppGroupQuotaResult.h"
#include "model/ModifyFirstRankRequest.h"
#include "model/ModifyFirstRankResult.h"
#include "model/ModifyModelRequest.h"
#include "model/ModifyModelResult.h"
#include "model/ModifyQueryProcessorRequest.h"
#include "model/ModifyQueryProcessorResult.h"
#include "model/ModifyScheduledTaskRequest.h"
#include "model/ModifyScheduledTaskResult.h"
#include "model/ModifySecondRankRequest.h"
#include "model/ModifySecondRankResult.h"
#include "model/PreviewModelRequest.h"
#include "model/PreviewModelResult.h"
#include "model/PushInterventionDictionaryEntriesRequest.h"
#include "model/PushInterventionDictionaryEntriesResult.h"
#include "model/PushUserAnalyzerEntriesRequest.h"
#include "model/PushUserAnalyzerEntriesResult.h"
#include "model/RankPreviewQueryRequest.h"
#include "model/RankPreviewQueryResult.h"
#include "model/ReleaseSortScriptRequest.h"
#include "model/ReleaseSortScriptResult.h"
#include "model/RemoveAppRequest.h"
#include "model/RemoveAppResult.h"
#include "model/RemoveAppGroupRequest.h"
#include "model/RemoveAppGroupResult.h"
#include "model/RemoveDataCollectionRequest.h"
#include "model/RemoveDataCollectionResult.h"
#include "model/RemoveFirstRankRequest.h"
#include "model/RemoveFirstRankResult.h"
#include "model/RemoveInterventionDictionaryRequest.h"
#include "model/RemoveInterventionDictionaryResult.h"
#include "model/RemoveQueryProcessorRequest.h"
#include "model/RemoveQueryProcessorResult.h"
#include "model/RemoveScheduledTaskRequest.h"
#include "model/RemoveScheduledTaskResult.h"
#include "model/RemoveSecondRankRequest.h"
#include "model/RemoveSecondRankResult.h"
#include "model/RemoveUserAnalyzerRequest.h"
#include "model/RemoveUserAnalyzerResult.h"
#include "model/RenewAppGroupRequest.h"
#include "model/RenewAppGroupResult.h"
#include "model/ReplaceAppGroupCommodityCodeRequest.h"
#include "model/ReplaceAppGroupCommodityCodeResult.h"
#include "model/SaveSortScriptFileRequest.h"
#include "model/SaveSortScriptFileResult.h"
#include "model/StartSlowQueryAnalyzerRequest.h"
#include "model/StartSlowQueryAnalyzerResult.h"
#include "model/TrainModelRequest.h"
#include "model/TrainModelResult.h"
#include "model/UpdateABTestExperimentRequest.h"
#include "model/UpdateABTestExperimentResult.h"
#include "model/UpdateABTestFixedFlowDividersRequest.h"
#include "model/UpdateABTestFixedFlowDividersResult.h"
#include "model/UpdateABTestGroupRequest.h"
#include "model/UpdateABTestGroupResult.h"
#include "model/UpdateABTestSceneRequest.h"
#include "model/UpdateABTestSceneResult.h"
#include "model/UpdateFetchFieldsRequest.h"
#include "model/UpdateFetchFieldsResult.h"
#include "model/UpdateSummariesRequest.h"
#include "model/UpdateSummariesResult.h"
namespace AlibabaCloud
{
namespace OpenSearch
{
class ALIBABACLOUD_OPENSEARCH_EXPORT OpenSearchClient : public RoaServiceClient
{
public:
typedef Outcome<Error, Model::CompileSortScriptResult> CompileSortScriptOutcome;
typedef std::future<CompileSortScriptOutcome> CompileSortScriptOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::CompileSortScriptRequest&, const CompileSortScriptOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CompileSortScriptAsyncHandler;
typedef Outcome<Error, Model::CreateABTestExperimentResult> CreateABTestExperimentOutcome;
typedef std::future<CreateABTestExperimentOutcome> CreateABTestExperimentOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::CreateABTestExperimentRequest&, const CreateABTestExperimentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateABTestExperimentAsyncHandler;
typedef Outcome<Error, Model::CreateABTestGroupResult> CreateABTestGroupOutcome;
typedef std::future<CreateABTestGroupOutcome> CreateABTestGroupOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::CreateABTestGroupRequest&, const CreateABTestGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateABTestGroupAsyncHandler;
typedef Outcome<Error, Model::CreateABTestSceneResult> CreateABTestSceneOutcome;
typedef std::future<CreateABTestSceneOutcome> CreateABTestSceneOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::CreateABTestSceneRequest&, const CreateABTestSceneOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateABTestSceneAsyncHandler;
typedef Outcome<Error, Model::CreateAppResult> CreateAppOutcome;
typedef std::future<CreateAppOutcome> CreateAppOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::CreateAppRequest&, const CreateAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAppAsyncHandler;
typedef Outcome<Error, Model::CreateAppGroupResult> CreateAppGroupOutcome;
typedef std::future<CreateAppGroupOutcome> CreateAppGroupOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::CreateAppGroupRequest&, const CreateAppGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAppGroupAsyncHandler;
typedef Outcome<Error, Model::CreateDataCollectionResult> CreateDataCollectionOutcome;
typedef std::future<CreateDataCollectionOutcome> CreateDataCollectionOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::CreateDataCollectionRequest&, const CreateDataCollectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDataCollectionAsyncHandler;
typedef Outcome<Error, Model::CreateFirstRankResult> CreateFirstRankOutcome;
typedef std::future<CreateFirstRankOutcome> CreateFirstRankOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::CreateFirstRankRequest&, const CreateFirstRankOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateFirstRankAsyncHandler;
typedef Outcome<Error, Model::CreateInterventionDictionaryResult> CreateInterventionDictionaryOutcome;
typedef std::future<CreateInterventionDictionaryOutcome> CreateInterventionDictionaryOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::CreateInterventionDictionaryRequest&, const CreateInterventionDictionaryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateInterventionDictionaryAsyncHandler;
typedef Outcome<Error, Model::CreateModelResult> CreateModelOutcome;
typedef std::future<CreateModelOutcome> CreateModelOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::CreateModelRequest&, const CreateModelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateModelAsyncHandler;
typedef Outcome<Error, Model::CreateQueryProcessorResult> CreateQueryProcessorOutcome;
typedef std::future<CreateQueryProcessorOutcome> CreateQueryProcessorOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::CreateQueryProcessorRequest&, const CreateQueryProcessorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateQueryProcessorAsyncHandler;
typedef Outcome<Error, Model::CreateScheduledTaskResult> CreateScheduledTaskOutcome;
typedef std::future<CreateScheduledTaskOutcome> CreateScheduledTaskOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::CreateScheduledTaskRequest&, const CreateScheduledTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateScheduledTaskAsyncHandler;
typedef Outcome<Error, Model::CreateSecondRankResult> CreateSecondRankOutcome;
typedef std::future<CreateSecondRankOutcome> CreateSecondRankOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::CreateSecondRankRequest&, const CreateSecondRankOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSecondRankAsyncHandler;
typedef Outcome<Error, Model::CreateSortScriptResult> CreateSortScriptOutcome;
typedef std::future<CreateSortScriptOutcome> CreateSortScriptOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::CreateSortScriptRequest&, const CreateSortScriptOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSortScriptAsyncHandler;
typedef Outcome<Error, Model::CreateUserAnalyzerResult> CreateUserAnalyzerOutcome;
typedef std::future<CreateUserAnalyzerOutcome> CreateUserAnalyzerOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::CreateUserAnalyzerRequest&, const CreateUserAnalyzerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUserAnalyzerAsyncHandler;
typedef Outcome<Error, Model::DeleteABTestExperimentResult> DeleteABTestExperimentOutcome;
typedef std::future<DeleteABTestExperimentOutcome> DeleteABTestExperimentOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DeleteABTestExperimentRequest&, const DeleteABTestExperimentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteABTestExperimentAsyncHandler;
typedef Outcome<Error, Model::DeleteABTestGroupResult> DeleteABTestGroupOutcome;
typedef std::future<DeleteABTestGroupOutcome> DeleteABTestGroupOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DeleteABTestGroupRequest&, const DeleteABTestGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteABTestGroupAsyncHandler;
typedef Outcome<Error, Model::DeleteABTestSceneResult> DeleteABTestSceneOutcome;
typedef std::future<DeleteABTestSceneOutcome> DeleteABTestSceneOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DeleteABTestSceneRequest&, const DeleteABTestSceneOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteABTestSceneAsyncHandler;
typedef Outcome<Error, Model::DeleteModelResult> DeleteModelOutcome;
typedef std::future<DeleteModelOutcome> DeleteModelOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DeleteModelRequest&, const DeleteModelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteModelAsyncHandler;
typedef Outcome<Error, Model::DeleteSortScriptResult> DeleteSortScriptOutcome;
typedef std::future<DeleteSortScriptOutcome> DeleteSortScriptOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DeleteSortScriptRequest&, const DeleteSortScriptOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSortScriptAsyncHandler;
typedef Outcome<Error, Model::DeleteSortScriptFileResult> DeleteSortScriptFileOutcome;
typedef std::future<DeleteSortScriptFileOutcome> DeleteSortScriptFileOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DeleteSortScriptFileRequest&, const DeleteSortScriptFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSortScriptFileAsyncHandler;
typedef Outcome<Error, Model::DescribeABTestExperimentResult> DescribeABTestExperimentOutcome;
typedef std::future<DescribeABTestExperimentOutcome> DescribeABTestExperimentOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeABTestExperimentRequest&, const DescribeABTestExperimentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeABTestExperimentAsyncHandler;
typedef Outcome<Error, Model::DescribeABTestGroupResult> DescribeABTestGroupOutcome;
typedef std::future<DescribeABTestGroupOutcome> DescribeABTestGroupOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeABTestGroupRequest&, const DescribeABTestGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeABTestGroupAsyncHandler;
typedef Outcome<Error, Model::DescribeABTestSceneResult> DescribeABTestSceneOutcome;
typedef std::future<DescribeABTestSceneOutcome> DescribeABTestSceneOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeABTestSceneRequest&, const DescribeABTestSceneOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeABTestSceneAsyncHandler;
typedef Outcome<Error, Model::DescribeAppResult> DescribeAppOutcome;
typedef std::future<DescribeAppOutcome> DescribeAppOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeAppRequest&, const DescribeAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAppAsyncHandler;
typedef Outcome<Error, Model::DescribeAppGroupResult> DescribeAppGroupOutcome;
typedef std::future<DescribeAppGroupOutcome> DescribeAppGroupOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeAppGroupRequest&, const DescribeAppGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAppGroupAsyncHandler;
typedef Outcome<Error, Model::DescribeAppGroupDataReportResult> DescribeAppGroupDataReportOutcome;
typedef std::future<DescribeAppGroupDataReportOutcome> DescribeAppGroupDataReportOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeAppGroupDataReportRequest&, const DescribeAppGroupDataReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAppGroupDataReportAsyncHandler;
typedef Outcome<Error, Model::DescribeAppStatisticsResult> DescribeAppStatisticsOutcome;
typedef std::future<DescribeAppStatisticsOutcome> DescribeAppStatisticsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeAppStatisticsRequest&, const DescribeAppStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAppStatisticsAsyncHandler;
typedef Outcome<Error, Model::DescribeAppsResult> DescribeAppsOutcome;
typedef std::future<DescribeAppsOutcome> DescribeAppsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeAppsRequest&, const DescribeAppsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAppsAsyncHandler;
typedef Outcome<Error, Model::DescribeDataCollctionResult> DescribeDataCollctionOutcome;
typedef std::future<DescribeDataCollctionOutcome> DescribeDataCollctionOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeDataCollctionRequest&, const DescribeDataCollctionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDataCollctionAsyncHandler;
typedef Outcome<Error, Model::DescribeFirstRankResult> DescribeFirstRankOutcome;
typedef std::future<DescribeFirstRankOutcome> DescribeFirstRankOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeFirstRankRequest&, const DescribeFirstRankOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFirstRankAsyncHandler;
typedef Outcome<Error, Model::DescribeInterventionDictionaryResult> DescribeInterventionDictionaryOutcome;
typedef std::future<DescribeInterventionDictionaryOutcome> DescribeInterventionDictionaryOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeInterventionDictionaryRequest&, const DescribeInterventionDictionaryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInterventionDictionaryAsyncHandler;
typedef Outcome<Error, Model::DescribeModelResult> DescribeModelOutcome;
typedef std::future<DescribeModelOutcome> DescribeModelOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeModelRequest&, const DescribeModelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeModelAsyncHandler;
typedef Outcome<Error, Model::DescribeQueryProcessorResult> DescribeQueryProcessorOutcome;
typedef std::future<DescribeQueryProcessorOutcome> DescribeQueryProcessorOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeQueryProcessorRequest&, const DescribeQueryProcessorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeQueryProcessorAsyncHandler;
typedef Outcome<Error, Model::DescribeRegionResult> DescribeRegionOutcome;
typedef std::future<DescribeRegionOutcome> DescribeRegionOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeRegionRequest&, const DescribeRegionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionAsyncHandler;
typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome;
typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler;
typedef Outcome<Error, Model::DescribeScheduledTaskResult> DescribeScheduledTaskOutcome;
typedef std::future<DescribeScheduledTaskOutcome> DescribeScheduledTaskOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeScheduledTaskRequest&, const DescribeScheduledTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeScheduledTaskAsyncHandler;
typedef Outcome<Error, Model::DescribeSecondRankResult> DescribeSecondRankOutcome;
typedef std::future<DescribeSecondRankOutcome> DescribeSecondRankOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeSecondRankRequest&, const DescribeSecondRankOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSecondRankAsyncHandler;
typedef Outcome<Error, Model::DescribeSlowQueryStatusResult> DescribeSlowQueryStatusOutcome;
typedef std::future<DescribeSlowQueryStatusOutcome> DescribeSlowQueryStatusOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeSlowQueryStatusRequest&, const DescribeSlowQueryStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSlowQueryStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeUserAnalyzerResult> DescribeUserAnalyzerOutcome;
typedef std::future<DescribeUserAnalyzerOutcome> DescribeUserAnalyzerOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeUserAnalyzerRequest&, const DescribeUserAnalyzerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserAnalyzerAsyncHandler;
typedef Outcome<Error, Model::DisableSlowQueryResult> DisableSlowQueryOutcome;
typedef std::future<DisableSlowQueryOutcome> DisableSlowQueryOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DisableSlowQueryRequest&, const DisableSlowQueryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableSlowQueryAsyncHandler;
typedef Outcome<Error, Model::EnableSlowQueryResult> EnableSlowQueryOutcome;
typedef std::future<EnableSlowQueryOutcome> EnableSlowQueryOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::EnableSlowQueryRequest&, const EnableSlowQueryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableSlowQueryAsyncHandler;
typedef Outcome<Error, Model::GetModelProgressResult> GetModelProgressOutcome;
typedef std::future<GetModelProgressOutcome> GetModelProgressOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::GetModelProgressRequest&, const GetModelProgressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetModelProgressAsyncHandler;
typedef Outcome<Error, Model::GetModelReportResult> GetModelReportOutcome;
typedef std::future<GetModelReportOutcome> GetModelReportOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::GetModelReportRequest&, const GetModelReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetModelReportAsyncHandler;
typedef Outcome<Error, Model::GetScriptFileNamesResult> GetScriptFileNamesOutcome;
typedef std::future<GetScriptFileNamesOutcome> GetScriptFileNamesOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::GetScriptFileNamesRequest&, const GetScriptFileNamesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetScriptFileNamesAsyncHandler;
typedef Outcome<Error, Model::GetSortScriptResult> GetSortScriptOutcome;
typedef std::future<GetSortScriptOutcome> GetSortScriptOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::GetSortScriptRequest&, const GetSortScriptOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSortScriptAsyncHandler;
typedef Outcome<Error, Model::GetSortScriptFileResult> GetSortScriptFileOutcome;
typedef std::future<GetSortScriptFileOutcome> GetSortScriptFileOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::GetSortScriptFileRequest&, const GetSortScriptFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSortScriptFileAsyncHandler;
typedef Outcome<Error, Model::GetValidationErrorResult> GetValidationErrorOutcome;
typedef std::future<GetValidationErrorOutcome> GetValidationErrorOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::GetValidationErrorRequest&, const GetValidationErrorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetValidationErrorAsyncHandler;
typedef Outcome<Error, Model::GetValidationReportResult> GetValidationReportOutcome;
typedef std::future<GetValidationReportOutcome> GetValidationReportOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::GetValidationReportRequest&, const GetValidationReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetValidationReportAsyncHandler;
typedef Outcome<Error, Model::ListABTestExperimentsResult> ListABTestExperimentsOutcome;
typedef std::future<ListABTestExperimentsOutcome> ListABTestExperimentsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListABTestExperimentsRequest&, const ListABTestExperimentsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListABTestExperimentsAsyncHandler;
typedef Outcome<Error, Model::ListABTestFixedFlowDividersResult> ListABTestFixedFlowDividersOutcome;
typedef std::future<ListABTestFixedFlowDividersOutcome> ListABTestFixedFlowDividersOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListABTestFixedFlowDividersRequest&, const ListABTestFixedFlowDividersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListABTestFixedFlowDividersAsyncHandler;
typedef Outcome<Error, Model::ListABTestGroupsResult> ListABTestGroupsOutcome;
typedef std::future<ListABTestGroupsOutcome> ListABTestGroupsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListABTestGroupsRequest&, const ListABTestGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListABTestGroupsAsyncHandler;
typedef Outcome<Error, Model::ListABTestMetricsResult> ListABTestMetricsOutcome;
typedef std::future<ListABTestMetricsOutcome> ListABTestMetricsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListABTestMetricsRequest&, const ListABTestMetricsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListABTestMetricsAsyncHandler;
typedef Outcome<Error, Model::ListABTestScenesResult> ListABTestScenesOutcome;
typedef std::future<ListABTestScenesOutcome> ListABTestScenesOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListABTestScenesRequest&, const ListABTestScenesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListABTestScenesAsyncHandler;
typedef Outcome<Error, Model::ListAppGroupErrorsResult> ListAppGroupErrorsOutcome;
typedef std::future<ListAppGroupErrorsOutcome> ListAppGroupErrorsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListAppGroupErrorsRequest&, const ListAppGroupErrorsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAppGroupErrorsAsyncHandler;
typedef Outcome<Error, Model::ListAppGroupMetricsResult> ListAppGroupMetricsOutcome;
typedef std::future<ListAppGroupMetricsOutcome> ListAppGroupMetricsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListAppGroupMetricsRequest&, const ListAppGroupMetricsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAppGroupMetricsAsyncHandler;
typedef Outcome<Error, Model::ListAppGroupsResult> ListAppGroupsOutcome;
typedef std::future<ListAppGroupsOutcome> ListAppGroupsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListAppGroupsRequest&, const ListAppGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAppGroupsAsyncHandler;
typedef Outcome<Error, Model::ListAppsResult> ListAppsOutcome;
typedef std::future<ListAppsOutcome> ListAppsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListAppsRequest&, const ListAppsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAppsAsyncHandler;
typedef Outcome<Error, Model::ListDataCollectionsResult> ListDataCollectionsOutcome;
typedef std::future<ListDataCollectionsOutcome> ListDataCollectionsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListDataCollectionsRequest&, const ListDataCollectionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDataCollectionsAsyncHandler;
typedef Outcome<Error, Model::ListDeployedAlgorithmModelsResult> ListDeployedAlgorithmModelsOutcome;
typedef std::future<ListDeployedAlgorithmModelsOutcome> ListDeployedAlgorithmModelsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListDeployedAlgorithmModelsRequest&, const ListDeployedAlgorithmModelsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDeployedAlgorithmModelsAsyncHandler;
typedef Outcome<Error, Model::ListFirstRanksResult> ListFirstRanksOutcome;
typedef std::future<ListFirstRanksOutcome> ListFirstRanksOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListFirstRanksRequest&, const ListFirstRanksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListFirstRanksAsyncHandler;
typedef Outcome<Error, Model::ListInterventionDictionariesResult> ListInterventionDictionariesOutcome;
typedef std::future<ListInterventionDictionariesOutcome> ListInterventionDictionariesOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListInterventionDictionariesRequest&, const ListInterventionDictionariesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListInterventionDictionariesAsyncHandler;
typedef Outcome<Error, Model::ListInterventionDictionaryEntriesResult> ListInterventionDictionaryEntriesOutcome;
typedef std::future<ListInterventionDictionaryEntriesOutcome> ListInterventionDictionaryEntriesOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListInterventionDictionaryEntriesRequest&, const ListInterventionDictionaryEntriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListInterventionDictionaryEntriesAsyncHandler;
typedef Outcome<Error, Model::ListInterventionDictionaryNerResultsResult> ListInterventionDictionaryNerResultsOutcome;
typedef std::future<ListInterventionDictionaryNerResultsOutcome> ListInterventionDictionaryNerResultsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListInterventionDictionaryNerResultsRequest&, const ListInterventionDictionaryNerResultsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListInterventionDictionaryNerResultsAsyncHandler;
typedef Outcome<Error, Model::ListInterventionDictionaryRelatedEntitiesResult> ListInterventionDictionaryRelatedEntitiesOutcome;
typedef std::future<ListInterventionDictionaryRelatedEntitiesOutcome> ListInterventionDictionaryRelatedEntitiesOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListInterventionDictionaryRelatedEntitiesRequest&, const ListInterventionDictionaryRelatedEntitiesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListInterventionDictionaryRelatedEntitiesAsyncHandler;
typedef Outcome<Error, Model::ListModelsResult> ListModelsOutcome;
typedef std::future<ListModelsOutcome> ListModelsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListModelsRequest&, const ListModelsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListModelsAsyncHandler;
typedef Outcome<Error, Model::ListQueryProcessorNersResult> ListQueryProcessorNersOutcome;
typedef std::future<ListQueryProcessorNersOutcome> ListQueryProcessorNersOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListQueryProcessorNersRequest&, const ListQueryProcessorNersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListQueryProcessorNersAsyncHandler;
typedef Outcome<Error, Model::ListQueryProcessorsResult> ListQueryProcessorsOutcome;
typedef std::future<ListQueryProcessorsOutcome> ListQueryProcessorsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListQueryProcessorsRequest&, const ListQueryProcessorsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListQueryProcessorsAsyncHandler;
typedef Outcome<Error, Model::ListScheduledTasksResult> ListScheduledTasksOutcome;
typedef std::future<ListScheduledTasksOutcome> ListScheduledTasksOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListScheduledTasksRequest&, const ListScheduledTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListScheduledTasksAsyncHandler;
typedef Outcome<Error, Model::ListSecondRanksResult> ListSecondRanksOutcome;
typedef std::future<ListSecondRanksOutcome> ListSecondRanksOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListSecondRanksRequest&, const ListSecondRanksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSecondRanksAsyncHandler;
typedef Outcome<Error, Model::ListSlowQueryCategoriesResult> ListSlowQueryCategoriesOutcome;
typedef std::future<ListSlowQueryCategoriesOutcome> ListSlowQueryCategoriesOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListSlowQueryCategoriesRequest&, const ListSlowQueryCategoriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSlowQueryCategoriesAsyncHandler;
typedef Outcome<Error, Model::ListSlowQueryQueriesResult> ListSlowQueryQueriesOutcome;
typedef std::future<ListSlowQueryQueriesOutcome> ListSlowQueryQueriesOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListSlowQueryQueriesRequest&, const ListSlowQueryQueriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSlowQueryQueriesAsyncHandler;
typedef Outcome<Error, Model::ListSortExpressionsResult> ListSortExpressionsOutcome;
typedef std::future<ListSortExpressionsOutcome> ListSortExpressionsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListSortExpressionsRequest&, const ListSortExpressionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSortExpressionsAsyncHandler;
typedef Outcome<Error, Model::ListSortScriptsResult> ListSortScriptsOutcome;
typedef std::future<ListSortScriptsOutcome> ListSortScriptsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListSortScriptsRequest&, const ListSortScriptsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSortScriptsAsyncHandler;
typedef Outcome<Error, Model::ListStatisticLogsResult> ListStatisticLogsOutcome;
typedef std::future<ListStatisticLogsOutcome> ListStatisticLogsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListStatisticLogsRequest&, const ListStatisticLogsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListStatisticLogsAsyncHandler;
typedef Outcome<Error, Model::ListStatisticReportResult> ListStatisticReportOutcome;
typedef std::future<ListStatisticReportOutcome> ListStatisticReportOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListStatisticReportRequest&, const ListStatisticReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListStatisticReportAsyncHandler;
typedef Outcome<Error, Model::ListUserAnalyzerEntriesResult> ListUserAnalyzerEntriesOutcome;
typedef std::future<ListUserAnalyzerEntriesOutcome> ListUserAnalyzerEntriesOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListUserAnalyzerEntriesRequest&, const ListUserAnalyzerEntriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUserAnalyzerEntriesAsyncHandler;
typedef Outcome<Error, Model::ListUserAnalyzersResult> ListUserAnalyzersOutcome;
typedef std::future<ListUserAnalyzersOutcome> ListUserAnalyzersOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListUserAnalyzersRequest&, const ListUserAnalyzersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUserAnalyzersAsyncHandler;
typedef Outcome<Error, Model::ModifyAppGroupResult> ModifyAppGroupOutcome;
typedef std::future<ModifyAppGroupOutcome> ModifyAppGroupOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ModifyAppGroupRequest&, const ModifyAppGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAppGroupAsyncHandler;
typedef Outcome<Error, Model::ModifyAppGroupQuotaResult> ModifyAppGroupQuotaOutcome;
typedef std::future<ModifyAppGroupQuotaOutcome> ModifyAppGroupQuotaOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ModifyAppGroupQuotaRequest&, const ModifyAppGroupQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAppGroupQuotaAsyncHandler;
typedef Outcome<Error, Model::ModifyFirstRankResult> ModifyFirstRankOutcome;
typedef std::future<ModifyFirstRankOutcome> ModifyFirstRankOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ModifyFirstRankRequest&, const ModifyFirstRankOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyFirstRankAsyncHandler;
typedef Outcome<Error, Model::ModifyModelResult> ModifyModelOutcome;
typedef std::future<ModifyModelOutcome> ModifyModelOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ModifyModelRequest&, const ModifyModelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyModelAsyncHandler;
typedef Outcome<Error, Model::ModifyQueryProcessorResult> ModifyQueryProcessorOutcome;
typedef std::future<ModifyQueryProcessorOutcome> ModifyQueryProcessorOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ModifyQueryProcessorRequest&, const ModifyQueryProcessorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyQueryProcessorAsyncHandler;
typedef Outcome<Error, Model::ModifyScheduledTaskResult> ModifyScheduledTaskOutcome;
typedef std::future<ModifyScheduledTaskOutcome> ModifyScheduledTaskOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ModifyScheduledTaskRequest&, const ModifyScheduledTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyScheduledTaskAsyncHandler;
typedef Outcome<Error, Model::ModifySecondRankResult> ModifySecondRankOutcome;
typedef std::future<ModifySecondRankOutcome> ModifySecondRankOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ModifySecondRankRequest&, const ModifySecondRankOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySecondRankAsyncHandler;
typedef Outcome<Error, Model::PreviewModelResult> PreviewModelOutcome;
typedef std::future<PreviewModelOutcome> PreviewModelOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::PreviewModelRequest&, const PreviewModelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PreviewModelAsyncHandler;
typedef Outcome<Error, Model::PushInterventionDictionaryEntriesResult> PushInterventionDictionaryEntriesOutcome;
typedef std::future<PushInterventionDictionaryEntriesOutcome> PushInterventionDictionaryEntriesOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::PushInterventionDictionaryEntriesRequest&, const PushInterventionDictionaryEntriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PushInterventionDictionaryEntriesAsyncHandler;
typedef Outcome<Error, Model::PushUserAnalyzerEntriesResult> PushUserAnalyzerEntriesOutcome;
typedef std::future<PushUserAnalyzerEntriesOutcome> PushUserAnalyzerEntriesOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::PushUserAnalyzerEntriesRequest&, const PushUserAnalyzerEntriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PushUserAnalyzerEntriesAsyncHandler;
typedef Outcome<Error, Model::RankPreviewQueryResult> RankPreviewQueryOutcome;
typedef std::future<RankPreviewQueryOutcome> RankPreviewQueryOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::RankPreviewQueryRequest&, const RankPreviewQueryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RankPreviewQueryAsyncHandler;
typedef Outcome<Error, Model::ReleaseSortScriptResult> ReleaseSortScriptOutcome;
typedef std::future<ReleaseSortScriptOutcome> ReleaseSortScriptOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ReleaseSortScriptRequest&, const ReleaseSortScriptOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReleaseSortScriptAsyncHandler;
typedef Outcome<Error, Model::RemoveAppResult> RemoveAppOutcome;
typedef std::future<RemoveAppOutcome> RemoveAppOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::RemoveAppRequest&, const RemoveAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveAppAsyncHandler;
typedef Outcome<Error, Model::RemoveAppGroupResult> RemoveAppGroupOutcome;
typedef std::future<RemoveAppGroupOutcome> RemoveAppGroupOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::RemoveAppGroupRequest&, const RemoveAppGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveAppGroupAsyncHandler;
typedef Outcome<Error, Model::RemoveDataCollectionResult> RemoveDataCollectionOutcome;
typedef std::future<RemoveDataCollectionOutcome> RemoveDataCollectionOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::RemoveDataCollectionRequest&, const RemoveDataCollectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveDataCollectionAsyncHandler;
typedef Outcome<Error, Model::RemoveFirstRankResult> RemoveFirstRankOutcome;
typedef std::future<RemoveFirstRankOutcome> RemoveFirstRankOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::RemoveFirstRankRequest&, const RemoveFirstRankOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveFirstRankAsyncHandler;
typedef Outcome<Error, Model::RemoveInterventionDictionaryResult> RemoveInterventionDictionaryOutcome;
typedef std::future<RemoveInterventionDictionaryOutcome> RemoveInterventionDictionaryOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::RemoveInterventionDictionaryRequest&, const RemoveInterventionDictionaryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveInterventionDictionaryAsyncHandler;
typedef Outcome<Error, Model::RemoveQueryProcessorResult> RemoveQueryProcessorOutcome;
typedef std::future<RemoveQueryProcessorOutcome> RemoveQueryProcessorOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::RemoveQueryProcessorRequest&, const RemoveQueryProcessorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveQueryProcessorAsyncHandler;
typedef Outcome<Error, Model::RemoveScheduledTaskResult> RemoveScheduledTaskOutcome;
typedef std::future<RemoveScheduledTaskOutcome> RemoveScheduledTaskOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::RemoveScheduledTaskRequest&, const RemoveScheduledTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveScheduledTaskAsyncHandler;
typedef Outcome<Error, Model::RemoveSecondRankResult> RemoveSecondRankOutcome;
typedef std::future<RemoveSecondRankOutcome> RemoveSecondRankOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::RemoveSecondRankRequest&, const RemoveSecondRankOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveSecondRankAsyncHandler;
typedef Outcome<Error, Model::RemoveUserAnalyzerResult> RemoveUserAnalyzerOutcome;
typedef std::future<RemoveUserAnalyzerOutcome> RemoveUserAnalyzerOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::RemoveUserAnalyzerRequest&, const RemoveUserAnalyzerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveUserAnalyzerAsyncHandler;
typedef Outcome<Error, Model::RenewAppGroupResult> RenewAppGroupOutcome;
typedef std::future<RenewAppGroupOutcome> RenewAppGroupOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::RenewAppGroupRequest&, const RenewAppGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewAppGroupAsyncHandler;
typedef Outcome<Error, Model::ReplaceAppGroupCommodityCodeResult> ReplaceAppGroupCommodityCodeOutcome;
typedef std::future<ReplaceAppGroupCommodityCodeOutcome> ReplaceAppGroupCommodityCodeOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ReplaceAppGroupCommodityCodeRequest&, const ReplaceAppGroupCommodityCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReplaceAppGroupCommodityCodeAsyncHandler;
typedef Outcome<Error, Model::SaveSortScriptFileResult> SaveSortScriptFileOutcome;
typedef std::future<SaveSortScriptFileOutcome> SaveSortScriptFileOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::SaveSortScriptFileRequest&, const SaveSortScriptFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SaveSortScriptFileAsyncHandler;
typedef Outcome<Error, Model::StartSlowQueryAnalyzerResult> StartSlowQueryAnalyzerOutcome;
typedef std::future<StartSlowQueryAnalyzerOutcome> StartSlowQueryAnalyzerOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::StartSlowQueryAnalyzerRequest&, const StartSlowQueryAnalyzerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartSlowQueryAnalyzerAsyncHandler;
typedef Outcome<Error, Model::TrainModelResult> TrainModelOutcome;
typedef std::future<TrainModelOutcome> TrainModelOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::TrainModelRequest&, const TrainModelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TrainModelAsyncHandler;
typedef Outcome<Error, Model::UpdateABTestExperimentResult> UpdateABTestExperimentOutcome;
typedef std::future<UpdateABTestExperimentOutcome> UpdateABTestExperimentOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::UpdateABTestExperimentRequest&, const UpdateABTestExperimentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateABTestExperimentAsyncHandler;
typedef Outcome<Error, Model::UpdateABTestFixedFlowDividersResult> UpdateABTestFixedFlowDividersOutcome;
typedef std::future<UpdateABTestFixedFlowDividersOutcome> UpdateABTestFixedFlowDividersOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::UpdateABTestFixedFlowDividersRequest&, const UpdateABTestFixedFlowDividersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateABTestFixedFlowDividersAsyncHandler;
typedef Outcome<Error, Model::UpdateABTestGroupResult> UpdateABTestGroupOutcome;
typedef std::future<UpdateABTestGroupOutcome> UpdateABTestGroupOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::UpdateABTestGroupRequest&, const UpdateABTestGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateABTestGroupAsyncHandler;
typedef Outcome<Error, Model::UpdateABTestSceneResult> UpdateABTestSceneOutcome;
typedef std::future<UpdateABTestSceneOutcome> UpdateABTestSceneOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::UpdateABTestSceneRequest&, const UpdateABTestSceneOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateABTestSceneAsyncHandler;
typedef Outcome<Error, Model::UpdateFetchFieldsResult> UpdateFetchFieldsOutcome;
typedef std::future<UpdateFetchFieldsOutcome> UpdateFetchFieldsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::UpdateFetchFieldsRequest&, const UpdateFetchFieldsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateFetchFieldsAsyncHandler;
typedef Outcome<Error, Model::UpdateSummariesResult> UpdateSummariesOutcome;
typedef std::future<UpdateSummariesOutcome> UpdateSummariesOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::UpdateSummariesRequest&, const UpdateSummariesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateSummariesAsyncHandler;
OpenSearchClient(const Credentials &credentials, const ClientConfiguration &configuration);
OpenSearchClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
OpenSearchClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~OpenSearchClient();
CompileSortScriptOutcome compileSortScript(const Model::CompileSortScriptRequest &request)const;
void compileSortScriptAsync(const Model::CompileSortScriptRequest& request, const CompileSortScriptAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CompileSortScriptOutcomeCallable compileSortScriptCallable(const Model::CompileSortScriptRequest& request) const;
CreateABTestExperimentOutcome createABTestExperiment(const Model::CreateABTestExperimentRequest &request)const;
void createABTestExperimentAsync(const Model::CreateABTestExperimentRequest& request, const CreateABTestExperimentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateABTestExperimentOutcomeCallable createABTestExperimentCallable(const Model::CreateABTestExperimentRequest& request) const;
CreateABTestGroupOutcome createABTestGroup(const Model::CreateABTestGroupRequest &request)const;
void createABTestGroupAsync(const Model::CreateABTestGroupRequest& request, const CreateABTestGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateABTestGroupOutcomeCallable createABTestGroupCallable(const Model::CreateABTestGroupRequest& request) const;
CreateABTestSceneOutcome createABTestScene(const Model::CreateABTestSceneRequest &request)const;
void createABTestSceneAsync(const Model::CreateABTestSceneRequest& request, const CreateABTestSceneAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateABTestSceneOutcomeCallable createABTestSceneCallable(const Model::CreateABTestSceneRequest& request) const;
CreateAppOutcome createApp(const Model::CreateAppRequest &request)const;
void createAppAsync(const Model::CreateAppRequest& request, const CreateAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateAppOutcomeCallable createAppCallable(const Model::CreateAppRequest& request) const;
CreateAppGroupOutcome createAppGroup(const Model::CreateAppGroupRequest &request)const;
void createAppGroupAsync(const Model::CreateAppGroupRequest& request, const CreateAppGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateAppGroupOutcomeCallable createAppGroupCallable(const Model::CreateAppGroupRequest& request) const;
CreateDataCollectionOutcome createDataCollection(const Model::CreateDataCollectionRequest &request)const;
void createDataCollectionAsync(const Model::CreateDataCollectionRequest& request, const CreateDataCollectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDataCollectionOutcomeCallable createDataCollectionCallable(const Model::CreateDataCollectionRequest& request) const;
CreateFirstRankOutcome createFirstRank(const Model::CreateFirstRankRequest &request)const;
void createFirstRankAsync(const Model::CreateFirstRankRequest& request, const CreateFirstRankAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateFirstRankOutcomeCallable createFirstRankCallable(const Model::CreateFirstRankRequest& request) const;
CreateInterventionDictionaryOutcome createInterventionDictionary(const Model::CreateInterventionDictionaryRequest &request)const;
void createInterventionDictionaryAsync(const Model::CreateInterventionDictionaryRequest& request, const CreateInterventionDictionaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateInterventionDictionaryOutcomeCallable createInterventionDictionaryCallable(const Model::CreateInterventionDictionaryRequest& request) const;
CreateModelOutcome createModel(const Model::CreateModelRequest &request)const;
void createModelAsync(const Model::CreateModelRequest& request, const CreateModelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateModelOutcomeCallable createModelCallable(const Model::CreateModelRequest& request) const;
CreateQueryProcessorOutcome createQueryProcessor(const Model::CreateQueryProcessorRequest &request)const;
void createQueryProcessorAsync(const Model::CreateQueryProcessorRequest& request, const CreateQueryProcessorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateQueryProcessorOutcomeCallable createQueryProcessorCallable(const Model::CreateQueryProcessorRequest& request) const;
CreateScheduledTaskOutcome createScheduledTask(const Model::CreateScheduledTaskRequest &request)const;
void createScheduledTaskAsync(const Model::CreateScheduledTaskRequest& request, const CreateScheduledTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateScheduledTaskOutcomeCallable createScheduledTaskCallable(const Model::CreateScheduledTaskRequest& request) const;
CreateSecondRankOutcome createSecondRank(const Model::CreateSecondRankRequest &request)const;
void createSecondRankAsync(const Model::CreateSecondRankRequest& request, const CreateSecondRankAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSecondRankOutcomeCallable createSecondRankCallable(const Model::CreateSecondRankRequest& request) const;
CreateSortScriptOutcome createSortScript(const Model::CreateSortScriptRequest &request)const;
void createSortScriptAsync(const Model::CreateSortScriptRequest& request, const CreateSortScriptAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSortScriptOutcomeCallable createSortScriptCallable(const Model::CreateSortScriptRequest& request) const;
CreateUserAnalyzerOutcome createUserAnalyzer(const Model::CreateUserAnalyzerRequest &request)const;
void createUserAnalyzerAsync(const Model::CreateUserAnalyzerRequest& request, const CreateUserAnalyzerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateUserAnalyzerOutcomeCallable createUserAnalyzerCallable(const Model::CreateUserAnalyzerRequest& request) const;
DeleteABTestExperimentOutcome deleteABTestExperiment(const Model::DeleteABTestExperimentRequest &request)const;
void deleteABTestExperimentAsync(const Model::DeleteABTestExperimentRequest& request, const DeleteABTestExperimentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteABTestExperimentOutcomeCallable deleteABTestExperimentCallable(const Model::DeleteABTestExperimentRequest& request) const;
DeleteABTestGroupOutcome deleteABTestGroup(const Model::DeleteABTestGroupRequest &request)const;
void deleteABTestGroupAsync(const Model::DeleteABTestGroupRequest& request, const DeleteABTestGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteABTestGroupOutcomeCallable deleteABTestGroupCallable(const Model::DeleteABTestGroupRequest& request) const;
DeleteABTestSceneOutcome deleteABTestScene(const Model::DeleteABTestSceneRequest &request)const;
void deleteABTestSceneAsync(const Model::DeleteABTestSceneRequest& request, const DeleteABTestSceneAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteABTestSceneOutcomeCallable deleteABTestSceneCallable(const Model::DeleteABTestSceneRequest& request) const;
DeleteModelOutcome deleteModel(const Model::DeleteModelRequest &request)const;
void deleteModelAsync(const Model::DeleteModelRequest& request, const DeleteModelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteModelOutcomeCallable deleteModelCallable(const Model::DeleteModelRequest& request) const;
DeleteSortScriptOutcome deleteSortScript(const Model::DeleteSortScriptRequest &request)const;
void deleteSortScriptAsync(const Model::DeleteSortScriptRequest& request, const DeleteSortScriptAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSortScriptOutcomeCallable deleteSortScriptCallable(const Model::DeleteSortScriptRequest& request) const;
DeleteSortScriptFileOutcome deleteSortScriptFile(const Model::DeleteSortScriptFileRequest &request)const;
void deleteSortScriptFileAsync(const Model::DeleteSortScriptFileRequest& request, const DeleteSortScriptFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSortScriptFileOutcomeCallable deleteSortScriptFileCallable(const Model::DeleteSortScriptFileRequest& request) const;
DescribeABTestExperimentOutcome describeABTestExperiment(const Model::DescribeABTestExperimentRequest &request)const;
void describeABTestExperimentAsync(const Model::DescribeABTestExperimentRequest& request, const DescribeABTestExperimentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeABTestExperimentOutcomeCallable describeABTestExperimentCallable(const Model::DescribeABTestExperimentRequest& request) const;
DescribeABTestGroupOutcome describeABTestGroup(const Model::DescribeABTestGroupRequest &request)const;
void describeABTestGroupAsync(const Model::DescribeABTestGroupRequest& request, const DescribeABTestGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeABTestGroupOutcomeCallable describeABTestGroupCallable(const Model::DescribeABTestGroupRequest& request) const;
DescribeABTestSceneOutcome describeABTestScene(const Model::DescribeABTestSceneRequest &request)const;
void describeABTestSceneAsync(const Model::DescribeABTestSceneRequest& request, const DescribeABTestSceneAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeABTestSceneOutcomeCallable describeABTestSceneCallable(const Model::DescribeABTestSceneRequest& request) const;
DescribeAppOutcome describeApp(const Model::DescribeAppRequest &request)const;
void describeAppAsync(const Model::DescribeAppRequest& request, const DescribeAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAppOutcomeCallable describeAppCallable(const Model::DescribeAppRequest& request) const;
DescribeAppGroupOutcome describeAppGroup(const Model::DescribeAppGroupRequest &request)const;
void describeAppGroupAsync(const Model::DescribeAppGroupRequest& request, const DescribeAppGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAppGroupOutcomeCallable describeAppGroupCallable(const Model::DescribeAppGroupRequest& request) const;
DescribeAppGroupDataReportOutcome describeAppGroupDataReport(const Model::DescribeAppGroupDataReportRequest &request)const;
void describeAppGroupDataReportAsync(const Model::DescribeAppGroupDataReportRequest& request, const DescribeAppGroupDataReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAppGroupDataReportOutcomeCallable describeAppGroupDataReportCallable(const Model::DescribeAppGroupDataReportRequest& request) const;
DescribeAppStatisticsOutcome describeAppStatistics(const Model::DescribeAppStatisticsRequest &request)const;
void describeAppStatisticsAsync(const Model::DescribeAppStatisticsRequest& request, const DescribeAppStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAppStatisticsOutcomeCallable describeAppStatisticsCallable(const Model::DescribeAppStatisticsRequest& request) const;
DescribeAppsOutcome describeApps(const Model::DescribeAppsRequest &request)const;
void describeAppsAsync(const Model::DescribeAppsRequest& request, const DescribeAppsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAppsOutcomeCallable describeAppsCallable(const Model::DescribeAppsRequest& request) const;
DescribeDataCollctionOutcome describeDataCollction(const Model::DescribeDataCollctionRequest &request)const;
void describeDataCollctionAsync(const Model::DescribeDataCollctionRequest& request, const DescribeDataCollctionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDataCollctionOutcomeCallable describeDataCollctionCallable(const Model::DescribeDataCollctionRequest& request) const;
DescribeFirstRankOutcome describeFirstRank(const Model::DescribeFirstRankRequest &request)const;
void describeFirstRankAsync(const Model::DescribeFirstRankRequest& request, const DescribeFirstRankAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeFirstRankOutcomeCallable describeFirstRankCallable(const Model::DescribeFirstRankRequest& request) const;
DescribeInterventionDictionaryOutcome describeInterventionDictionary(const Model::DescribeInterventionDictionaryRequest &request)const;
void describeInterventionDictionaryAsync(const Model::DescribeInterventionDictionaryRequest& request, const DescribeInterventionDictionaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeInterventionDictionaryOutcomeCallable describeInterventionDictionaryCallable(const Model::DescribeInterventionDictionaryRequest& request) const;
DescribeModelOutcome describeModel(const Model::DescribeModelRequest &request)const;
void describeModelAsync(const Model::DescribeModelRequest& request, const DescribeModelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeModelOutcomeCallable describeModelCallable(const Model::DescribeModelRequest& request) const;
DescribeQueryProcessorOutcome describeQueryProcessor(const Model::DescribeQueryProcessorRequest &request)const;
void describeQueryProcessorAsync(const Model::DescribeQueryProcessorRequest& request, const DescribeQueryProcessorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeQueryProcessorOutcomeCallable describeQueryProcessorCallable(const Model::DescribeQueryProcessorRequest& request) const;
DescribeRegionOutcome describeRegion(const Model::DescribeRegionRequest &request)const;
void describeRegionAsync(const Model::DescribeRegionRequest& request, const DescribeRegionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRegionOutcomeCallable describeRegionCallable(const Model::DescribeRegionRequest& request) const;
DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const;
void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRegionsOutcomeCallable describeRegionsCallable(const Model::DescribeRegionsRequest& request) const;
DescribeScheduledTaskOutcome describeScheduledTask(const Model::DescribeScheduledTaskRequest &request)const;
void describeScheduledTaskAsync(const Model::DescribeScheduledTaskRequest& request, const DescribeScheduledTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeScheduledTaskOutcomeCallable describeScheduledTaskCallable(const Model::DescribeScheduledTaskRequest& request) const;
DescribeSecondRankOutcome describeSecondRank(const Model::DescribeSecondRankRequest &request)const;
void describeSecondRankAsync(const Model::DescribeSecondRankRequest& request, const DescribeSecondRankAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSecondRankOutcomeCallable describeSecondRankCallable(const Model::DescribeSecondRankRequest& request) const;
DescribeSlowQueryStatusOutcome describeSlowQueryStatus(const Model::DescribeSlowQueryStatusRequest &request)const;
void describeSlowQueryStatusAsync(const Model::DescribeSlowQueryStatusRequest& request, const DescribeSlowQueryStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSlowQueryStatusOutcomeCallable describeSlowQueryStatusCallable(const Model::DescribeSlowQueryStatusRequest& request) const;
DescribeUserAnalyzerOutcome describeUserAnalyzer(const Model::DescribeUserAnalyzerRequest &request)const;
void describeUserAnalyzerAsync(const Model::DescribeUserAnalyzerRequest& request, const DescribeUserAnalyzerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeUserAnalyzerOutcomeCallable describeUserAnalyzerCallable(const Model::DescribeUserAnalyzerRequest& request) const;
DisableSlowQueryOutcome disableSlowQuery(const Model::DisableSlowQueryRequest &request)const;
void disableSlowQueryAsync(const Model::DisableSlowQueryRequest& request, const DisableSlowQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DisableSlowQueryOutcomeCallable disableSlowQueryCallable(const Model::DisableSlowQueryRequest& request) const;
EnableSlowQueryOutcome enableSlowQuery(const Model::EnableSlowQueryRequest &request)const;
void enableSlowQueryAsync(const Model::EnableSlowQueryRequest& request, const EnableSlowQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EnableSlowQueryOutcomeCallable enableSlowQueryCallable(const Model::EnableSlowQueryRequest& request) const;
GetModelProgressOutcome getModelProgress(const Model::GetModelProgressRequest &request)const;
void getModelProgressAsync(const Model::GetModelProgressRequest& request, const GetModelProgressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetModelProgressOutcomeCallable getModelProgressCallable(const Model::GetModelProgressRequest& request) const;
GetModelReportOutcome getModelReport(const Model::GetModelReportRequest &request)const;
void getModelReportAsync(const Model::GetModelReportRequest& request, const GetModelReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetModelReportOutcomeCallable getModelReportCallable(const Model::GetModelReportRequest& request) const;
GetScriptFileNamesOutcome getScriptFileNames(const Model::GetScriptFileNamesRequest &request)const;
void getScriptFileNamesAsync(const Model::GetScriptFileNamesRequest& request, const GetScriptFileNamesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetScriptFileNamesOutcomeCallable getScriptFileNamesCallable(const Model::GetScriptFileNamesRequest& request) const;
GetSortScriptOutcome getSortScript(const Model::GetSortScriptRequest &request)const;
void getSortScriptAsync(const Model::GetSortScriptRequest& request, const GetSortScriptAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSortScriptOutcomeCallable getSortScriptCallable(const Model::GetSortScriptRequest& request) const;
GetSortScriptFileOutcome getSortScriptFile(const Model::GetSortScriptFileRequest &request)const;
void getSortScriptFileAsync(const Model::GetSortScriptFileRequest& request, const GetSortScriptFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSortScriptFileOutcomeCallable getSortScriptFileCallable(const Model::GetSortScriptFileRequest& request) const;
GetValidationErrorOutcome getValidationError(const Model::GetValidationErrorRequest &request)const;
void getValidationErrorAsync(const Model::GetValidationErrorRequest& request, const GetValidationErrorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetValidationErrorOutcomeCallable getValidationErrorCallable(const Model::GetValidationErrorRequest& request) const;
GetValidationReportOutcome getValidationReport(const Model::GetValidationReportRequest &request)const;
void getValidationReportAsync(const Model::GetValidationReportRequest& request, const GetValidationReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetValidationReportOutcomeCallable getValidationReportCallable(const Model::GetValidationReportRequest& request) const;
ListABTestExperimentsOutcome listABTestExperiments(const Model::ListABTestExperimentsRequest &request)const;
void listABTestExperimentsAsync(const Model::ListABTestExperimentsRequest& request, const ListABTestExperimentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListABTestExperimentsOutcomeCallable listABTestExperimentsCallable(const Model::ListABTestExperimentsRequest& request) const;
ListABTestFixedFlowDividersOutcome listABTestFixedFlowDividers(const Model::ListABTestFixedFlowDividersRequest &request)const;
void listABTestFixedFlowDividersAsync(const Model::ListABTestFixedFlowDividersRequest& request, const ListABTestFixedFlowDividersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListABTestFixedFlowDividersOutcomeCallable listABTestFixedFlowDividersCallable(const Model::ListABTestFixedFlowDividersRequest& request) const;
ListABTestGroupsOutcome listABTestGroups(const Model::ListABTestGroupsRequest &request)const;
void listABTestGroupsAsync(const Model::ListABTestGroupsRequest& request, const ListABTestGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListABTestGroupsOutcomeCallable listABTestGroupsCallable(const Model::ListABTestGroupsRequest& request) const;
ListABTestMetricsOutcome listABTestMetrics(const Model::ListABTestMetricsRequest &request)const;
void listABTestMetricsAsync(const Model::ListABTestMetricsRequest& request, const ListABTestMetricsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListABTestMetricsOutcomeCallable listABTestMetricsCallable(const Model::ListABTestMetricsRequest& request) const;
ListABTestScenesOutcome listABTestScenes(const Model::ListABTestScenesRequest &request)const;
void listABTestScenesAsync(const Model::ListABTestScenesRequest& request, const ListABTestScenesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListABTestScenesOutcomeCallable listABTestScenesCallable(const Model::ListABTestScenesRequest& request) const;
ListAppGroupErrorsOutcome listAppGroupErrors(const Model::ListAppGroupErrorsRequest &request)const;
void listAppGroupErrorsAsync(const Model::ListAppGroupErrorsRequest& request, const ListAppGroupErrorsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAppGroupErrorsOutcomeCallable listAppGroupErrorsCallable(const Model::ListAppGroupErrorsRequest& request) const;
ListAppGroupMetricsOutcome listAppGroupMetrics(const Model::ListAppGroupMetricsRequest &request)const;
void listAppGroupMetricsAsync(const Model::ListAppGroupMetricsRequest& request, const ListAppGroupMetricsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAppGroupMetricsOutcomeCallable listAppGroupMetricsCallable(const Model::ListAppGroupMetricsRequest& request) const;
ListAppGroupsOutcome listAppGroups(const Model::ListAppGroupsRequest &request)const;
void listAppGroupsAsync(const Model::ListAppGroupsRequest& request, const ListAppGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAppGroupsOutcomeCallable listAppGroupsCallable(const Model::ListAppGroupsRequest& request) const;
ListAppsOutcome listApps(const Model::ListAppsRequest &request)const;
void listAppsAsync(const Model::ListAppsRequest& request, const ListAppsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAppsOutcomeCallable listAppsCallable(const Model::ListAppsRequest& request) const;
ListDataCollectionsOutcome listDataCollections(const Model::ListDataCollectionsRequest &request)const;
void listDataCollectionsAsync(const Model::ListDataCollectionsRequest& request, const ListDataCollectionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDataCollectionsOutcomeCallable listDataCollectionsCallable(const Model::ListDataCollectionsRequest& request) const;
ListDeployedAlgorithmModelsOutcome listDeployedAlgorithmModels(const Model::ListDeployedAlgorithmModelsRequest &request)const;
void listDeployedAlgorithmModelsAsync(const Model::ListDeployedAlgorithmModelsRequest& request, const ListDeployedAlgorithmModelsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDeployedAlgorithmModelsOutcomeCallable listDeployedAlgorithmModelsCallable(const Model::ListDeployedAlgorithmModelsRequest& request) const;
ListFirstRanksOutcome listFirstRanks(const Model::ListFirstRanksRequest &request)const;
void listFirstRanksAsync(const Model::ListFirstRanksRequest& request, const ListFirstRanksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListFirstRanksOutcomeCallable listFirstRanksCallable(const Model::ListFirstRanksRequest& request) const;
ListInterventionDictionariesOutcome listInterventionDictionaries(const Model::ListInterventionDictionariesRequest &request)const;
void listInterventionDictionariesAsync(const Model::ListInterventionDictionariesRequest& request, const ListInterventionDictionariesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListInterventionDictionariesOutcomeCallable listInterventionDictionariesCallable(const Model::ListInterventionDictionariesRequest& request) const;
ListInterventionDictionaryEntriesOutcome listInterventionDictionaryEntries(const Model::ListInterventionDictionaryEntriesRequest &request)const;
void listInterventionDictionaryEntriesAsync(const Model::ListInterventionDictionaryEntriesRequest& request, const ListInterventionDictionaryEntriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListInterventionDictionaryEntriesOutcomeCallable listInterventionDictionaryEntriesCallable(const Model::ListInterventionDictionaryEntriesRequest& request) const;
ListInterventionDictionaryNerResultsOutcome listInterventionDictionaryNerResults(const Model::ListInterventionDictionaryNerResultsRequest &request)const;
void listInterventionDictionaryNerResultsAsync(const Model::ListInterventionDictionaryNerResultsRequest& request, const ListInterventionDictionaryNerResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListInterventionDictionaryNerResultsOutcomeCallable listInterventionDictionaryNerResultsCallable(const Model::ListInterventionDictionaryNerResultsRequest& request) const;
ListInterventionDictionaryRelatedEntitiesOutcome listInterventionDictionaryRelatedEntities(const Model::ListInterventionDictionaryRelatedEntitiesRequest &request)const;
void listInterventionDictionaryRelatedEntitiesAsync(const Model::ListInterventionDictionaryRelatedEntitiesRequest& request, const ListInterventionDictionaryRelatedEntitiesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListInterventionDictionaryRelatedEntitiesOutcomeCallable listInterventionDictionaryRelatedEntitiesCallable(const Model::ListInterventionDictionaryRelatedEntitiesRequest& request) const;
ListModelsOutcome listModels(const Model::ListModelsRequest &request)const;
void listModelsAsync(const Model::ListModelsRequest& request, const ListModelsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListModelsOutcomeCallable listModelsCallable(const Model::ListModelsRequest& request) const;
ListQueryProcessorNersOutcome listQueryProcessorNers(const Model::ListQueryProcessorNersRequest &request)const;
void listQueryProcessorNersAsync(const Model::ListQueryProcessorNersRequest& request, const ListQueryProcessorNersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListQueryProcessorNersOutcomeCallable listQueryProcessorNersCallable(const Model::ListQueryProcessorNersRequest& request) const;
ListQueryProcessorsOutcome listQueryProcessors(const Model::ListQueryProcessorsRequest &request)const;
void listQueryProcessorsAsync(const Model::ListQueryProcessorsRequest& request, const ListQueryProcessorsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListQueryProcessorsOutcomeCallable listQueryProcessorsCallable(const Model::ListQueryProcessorsRequest& request) const;
ListScheduledTasksOutcome listScheduledTasks(const Model::ListScheduledTasksRequest &request)const;
void listScheduledTasksAsync(const Model::ListScheduledTasksRequest& request, const ListScheduledTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListScheduledTasksOutcomeCallable listScheduledTasksCallable(const Model::ListScheduledTasksRequest& request) const;
ListSecondRanksOutcome listSecondRanks(const Model::ListSecondRanksRequest &request)const;
void listSecondRanksAsync(const Model::ListSecondRanksRequest& request, const ListSecondRanksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSecondRanksOutcomeCallable listSecondRanksCallable(const Model::ListSecondRanksRequest& request) const;
ListSlowQueryCategoriesOutcome listSlowQueryCategories(const Model::ListSlowQueryCategoriesRequest &request)const;
void listSlowQueryCategoriesAsync(const Model::ListSlowQueryCategoriesRequest& request, const ListSlowQueryCategoriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSlowQueryCategoriesOutcomeCallable listSlowQueryCategoriesCallable(const Model::ListSlowQueryCategoriesRequest& request) const;
ListSlowQueryQueriesOutcome listSlowQueryQueries(const Model::ListSlowQueryQueriesRequest &request)const;
void listSlowQueryQueriesAsync(const Model::ListSlowQueryQueriesRequest& request, const ListSlowQueryQueriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSlowQueryQueriesOutcomeCallable listSlowQueryQueriesCallable(const Model::ListSlowQueryQueriesRequest& request) const;
ListSortExpressionsOutcome listSortExpressions(const Model::ListSortExpressionsRequest &request)const;
void listSortExpressionsAsync(const Model::ListSortExpressionsRequest& request, const ListSortExpressionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSortExpressionsOutcomeCallable listSortExpressionsCallable(const Model::ListSortExpressionsRequest& request) const;
ListSortScriptsOutcome listSortScripts(const Model::ListSortScriptsRequest &request)const;
void listSortScriptsAsync(const Model::ListSortScriptsRequest& request, const ListSortScriptsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSortScriptsOutcomeCallable listSortScriptsCallable(const Model::ListSortScriptsRequest& request) const;
ListStatisticLogsOutcome listStatisticLogs(const Model::ListStatisticLogsRequest &request)const;
void listStatisticLogsAsync(const Model::ListStatisticLogsRequest& request, const ListStatisticLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListStatisticLogsOutcomeCallable listStatisticLogsCallable(const Model::ListStatisticLogsRequest& request) const;
ListStatisticReportOutcome listStatisticReport(const Model::ListStatisticReportRequest &request)const;
void listStatisticReportAsync(const Model::ListStatisticReportRequest& request, const ListStatisticReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListStatisticReportOutcomeCallable listStatisticReportCallable(const Model::ListStatisticReportRequest& request) const;
ListUserAnalyzerEntriesOutcome listUserAnalyzerEntries(const Model::ListUserAnalyzerEntriesRequest &request)const;
void listUserAnalyzerEntriesAsync(const Model::ListUserAnalyzerEntriesRequest& request, const ListUserAnalyzerEntriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListUserAnalyzerEntriesOutcomeCallable listUserAnalyzerEntriesCallable(const Model::ListUserAnalyzerEntriesRequest& request) const;
ListUserAnalyzersOutcome listUserAnalyzers(const Model::ListUserAnalyzersRequest &request)const;
void listUserAnalyzersAsync(const Model::ListUserAnalyzersRequest& request, const ListUserAnalyzersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListUserAnalyzersOutcomeCallable listUserAnalyzersCallable(const Model::ListUserAnalyzersRequest& request) const;
ModifyAppGroupOutcome modifyAppGroup(const Model::ModifyAppGroupRequest &request)const;
void modifyAppGroupAsync(const Model::ModifyAppGroupRequest& request, const ModifyAppGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyAppGroupOutcomeCallable modifyAppGroupCallable(const Model::ModifyAppGroupRequest& request) const;
ModifyAppGroupQuotaOutcome modifyAppGroupQuota(const Model::ModifyAppGroupQuotaRequest &request)const;
void modifyAppGroupQuotaAsync(const Model::ModifyAppGroupQuotaRequest& request, const ModifyAppGroupQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyAppGroupQuotaOutcomeCallable modifyAppGroupQuotaCallable(const Model::ModifyAppGroupQuotaRequest& request) const;
ModifyFirstRankOutcome modifyFirstRank(const Model::ModifyFirstRankRequest &request)const;
void modifyFirstRankAsync(const Model::ModifyFirstRankRequest& request, const ModifyFirstRankAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyFirstRankOutcomeCallable modifyFirstRankCallable(const Model::ModifyFirstRankRequest& request) const;
ModifyModelOutcome modifyModel(const Model::ModifyModelRequest &request)const;
void modifyModelAsync(const Model::ModifyModelRequest& request, const ModifyModelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyModelOutcomeCallable modifyModelCallable(const Model::ModifyModelRequest& request) const;
ModifyQueryProcessorOutcome modifyQueryProcessor(const Model::ModifyQueryProcessorRequest &request)const;
void modifyQueryProcessorAsync(const Model::ModifyQueryProcessorRequest& request, const ModifyQueryProcessorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyQueryProcessorOutcomeCallable modifyQueryProcessorCallable(const Model::ModifyQueryProcessorRequest& request) const;
ModifyScheduledTaskOutcome modifyScheduledTask(const Model::ModifyScheduledTaskRequest &request)const;
void modifyScheduledTaskAsync(const Model::ModifyScheduledTaskRequest& request, const ModifyScheduledTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyScheduledTaskOutcomeCallable modifyScheduledTaskCallable(const Model::ModifyScheduledTaskRequest& request) const;
ModifySecondRankOutcome modifySecondRank(const Model::ModifySecondRankRequest &request)const;
void modifySecondRankAsync(const Model::ModifySecondRankRequest& request, const ModifySecondRankAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifySecondRankOutcomeCallable modifySecondRankCallable(const Model::ModifySecondRankRequest& request) const;
PreviewModelOutcome previewModel(const Model::PreviewModelRequest &request)const;
void previewModelAsync(const Model::PreviewModelRequest& request, const PreviewModelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PreviewModelOutcomeCallable previewModelCallable(const Model::PreviewModelRequest& request) const;
PushInterventionDictionaryEntriesOutcome pushInterventionDictionaryEntries(const Model::PushInterventionDictionaryEntriesRequest &request)const;
void pushInterventionDictionaryEntriesAsync(const Model::PushInterventionDictionaryEntriesRequest& request, const PushInterventionDictionaryEntriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PushInterventionDictionaryEntriesOutcomeCallable pushInterventionDictionaryEntriesCallable(const Model::PushInterventionDictionaryEntriesRequest& request) const;
PushUserAnalyzerEntriesOutcome pushUserAnalyzerEntries(const Model::PushUserAnalyzerEntriesRequest &request)const;
void pushUserAnalyzerEntriesAsync(const Model::PushUserAnalyzerEntriesRequest& request, const PushUserAnalyzerEntriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PushUserAnalyzerEntriesOutcomeCallable pushUserAnalyzerEntriesCallable(const Model::PushUserAnalyzerEntriesRequest& request) const;
RankPreviewQueryOutcome rankPreviewQuery(const Model::RankPreviewQueryRequest &request)const;
void rankPreviewQueryAsync(const Model::RankPreviewQueryRequest& request, const RankPreviewQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RankPreviewQueryOutcomeCallable rankPreviewQueryCallable(const Model::RankPreviewQueryRequest& request) const;
ReleaseSortScriptOutcome releaseSortScript(const Model::ReleaseSortScriptRequest &request)const;
void releaseSortScriptAsync(const Model::ReleaseSortScriptRequest& request, const ReleaseSortScriptAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReleaseSortScriptOutcomeCallable releaseSortScriptCallable(const Model::ReleaseSortScriptRequest& request) const;
RemoveAppOutcome removeApp(const Model::RemoveAppRequest &request)const;
void removeAppAsync(const Model::RemoveAppRequest& request, const RemoveAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveAppOutcomeCallable removeAppCallable(const Model::RemoveAppRequest& request) const;
RemoveAppGroupOutcome removeAppGroup(const Model::RemoveAppGroupRequest &request)const;
void removeAppGroupAsync(const Model::RemoveAppGroupRequest& request, const RemoveAppGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveAppGroupOutcomeCallable removeAppGroupCallable(const Model::RemoveAppGroupRequest& request) const;
RemoveDataCollectionOutcome removeDataCollection(const Model::RemoveDataCollectionRequest &request)const;
void removeDataCollectionAsync(const Model::RemoveDataCollectionRequest& request, const RemoveDataCollectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveDataCollectionOutcomeCallable removeDataCollectionCallable(const Model::RemoveDataCollectionRequest& request) const;
RemoveFirstRankOutcome removeFirstRank(const Model::RemoveFirstRankRequest &request)const;
void removeFirstRankAsync(const Model::RemoveFirstRankRequest& request, const RemoveFirstRankAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveFirstRankOutcomeCallable removeFirstRankCallable(const Model::RemoveFirstRankRequest& request) const;
RemoveInterventionDictionaryOutcome removeInterventionDictionary(const Model::RemoveInterventionDictionaryRequest &request)const;
void removeInterventionDictionaryAsync(const Model::RemoveInterventionDictionaryRequest& request, const RemoveInterventionDictionaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveInterventionDictionaryOutcomeCallable removeInterventionDictionaryCallable(const Model::RemoveInterventionDictionaryRequest& request) const;
RemoveQueryProcessorOutcome removeQueryProcessor(const Model::RemoveQueryProcessorRequest &request)const;
void removeQueryProcessorAsync(const Model::RemoveQueryProcessorRequest& request, const RemoveQueryProcessorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveQueryProcessorOutcomeCallable removeQueryProcessorCallable(const Model::RemoveQueryProcessorRequest& request) const;
RemoveScheduledTaskOutcome removeScheduledTask(const Model::RemoveScheduledTaskRequest &request)const;
void removeScheduledTaskAsync(const Model::RemoveScheduledTaskRequest& request, const RemoveScheduledTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveScheduledTaskOutcomeCallable removeScheduledTaskCallable(const Model::RemoveScheduledTaskRequest& request) const;
RemoveSecondRankOutcome removeSecondRank(const Model::RemoveSecondRankRequest &request)const;
void removeSecondRankAsync(const Model::RemoveSecondRankRequest& request, const RemoveSecondRankAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveSecondRankOutcomeCallable removeSecondRankCallable(const Model::RemoveSecondRankRequest& request) const;
RemoveUserAnalyzerOutcome removeUserAnalyzer(const Model::RemoveUserAnalyzerRequest &request)const;
void removeUserAnalyzerAsync(const Model::RemoveUserAnalyzerRequest& request, const RemoveUserAnalyzerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveUserAnalyzerOutcomeCallable removeUserAnalyzerCallable(const Model::RemoveUserAnalyzerRequest& request) const;
RenewAppGroupOutcome renewAppGroup(const Model::RenewAppGroupRequest &request)const;
void renewAppGroupAsync(const Model::RenewAppGroupRequest& request, const RenewAppGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RenewAppGroupOutcomeCallable renewAppGroupCallable(const Model::RenewAppGroupRequest& request) const;
ReplaceAppGroupCommodityCodeOutcome replaceAppGroupCommodityCode(const Model::ReplaceAppGroupCommodityCodeRequest &request)const;
void replaceAppGroupCommodityCodeAsync(const Model::ReplaceAppGroupCommodityCodeRequest& request, const ReplaceAppGroupCommodityCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReplaceAppGroupCommodityCodeOutcomeCallable replaceAppGroupCommodityCodeCallable(const Model::ReplaceAppGroupCommodityCodeRequest& request) const;
SaveSortScriptFileOutcome saveSortScriptFile(const Model::SaveSortScriptFileRequest &request)const;
void saveSortScriptFileAsync(const Model::SaveSortScriptFileRequest& request, const SaveSortScriptFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SaveSortScriptFileOutcomeCallable saveSortScriptFileCallable(const Model::SaveSortScriptFileRequest& request) const;
StartSlowQueryAnalyzerOutcome startSlowQueryAnalyzer(const Model::StartSlowQueryAnalyzerRequest &request)const;
void startSlowQueryAnalyzerAsync(const Model::StartSlowQueryAnalyzerRequest& request, const StartSlowQueryAnalyzerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartSlowQueryAnalyzerOutcomeCallable startSlowQueryAnalyzerCallable(const Model::StartSlowQueryAnalyzerRequest& request) const;
TrainModelOutcome trainModel(const Model::TrainModelRequest &request)const;
void trainModelAsync(const Model::TrainModelRequest& request, const TrainModelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TrainModelOutcomeCallable trainModelCallable(const Model::TrainModelRequest& request) const;
UpdateABTestExperimentOutcome updateABTestExperiment(const Model::UpdateABTestExperimentRequest &request)const;
void updateABTestExperimentAsync(const Model::UpdateABTestExperimentRequest& request, const UpdateABTestExperimentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateABTestExperimentOutcomeCallable updateABTestExperimentCallable(const Model::UpdateABTestExperimentRequest& request) const;
UpdateABTestFixedFlowDividersOutcome updateABTestFixedFlowDividers(const Model::UpdateABTestFixedFlowDividersRequest &request)const;
void updateABTestFixedFlowDividersAsync(const Model::UpdateABTestFixedFlowDividersRequest& request, const UpdateABTestFixedFlowDividersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateABTestFixedFlowDividersOutcomeCallable updateABTestFixedFlowDividersCallable(const Model::UpdateABTestFixedFlowDividersRequest& request) const;
UpdateABTestGroupOutcome updateABTestGroup(const Model::UpdateABTestGroupRequest &request)const;
void updateABTestGroupAsync(const Model::UpdateABTestGroupRequest& request, const UpdateABTestGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateABTestGroupOutcomeCallable updateABTestGroupCallable(const Model::UpdateABTestGroupRequest& request) const;
UpdateABTestSceneOutcome updateABTestScene(const Model::UpdateABTestSceneRequest &request)const;
void updateABTestSceneAsync(const Model::UpdateABTestSceneRequest& request, const UpdateABTestSceneAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateABTestSceneOutcomeCallable updateABTestSceneCallable(const Model::UpdateABTestSceneRequest& request) const;
UpdateFetchFieldsOutcome updateFetchFields(const Model::UpdateFetchFieldsRequest &request)const;
void updateFetchFieldsAsync(const Model::UpdateFetchFieldsRequest& request, const UpdateFetchFieldsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateFetchFieldsOutcomeCallable updateFetchFieldsCallable(const Model::UpdateFetchFieldsRequest& request) const;
UpdateSummariesOutcome updateSummaries(const Model::UpdateSummariesRequest &request)const;
void updateSummariesAsync(const Model::UpdateSummariesRequest& request, const UpdateSummariesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateSummariesOutcomeCallable updateSummariesCallable(const Model::UpdateSummariesRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_OPENSEARCHCLIENT_H_

View File

@@ -0,0 +1,32 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_OPENSEARCHEXPORT_H_
#define ALIBABACLOUD_OPENSEARCH_OPENSEARCHEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_OPENSEARCH_LIBRARY)
# define ALIBABACLOUD_OPENSEARCH_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_OPENSEARCH_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_OPENSEARCH_EXPORT
#endif
#endif // !ALIBABACLOUD_OPENSEARCH_OPENSEARCHEXPORT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_COMPILESORTSCRIPTREQUEST_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_COMPILESORTSCRIPTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT CompileSortScriptRequest : public RoaServiceRequest
{
public:
CompileSortScriptRequest();
~CompileSortScriptRequest();
std::string getAppVersionId()const;
void setAppVersionId(const std::string& appVersionId);
std::string getScriptName()const;
void setScriptName(const std::string& scriptName);
std::string getAppGroupIdentity()const;
void setAppGroupIdentity(const std::string& appGroupIdentity);
private:
std::string appVersionId_;
std::string scriptName_;
std::string appGroupIdentity_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_COMPILESORTSCRIPTREQUEST_H_

View File

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

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_CREATEABTESTEXPERIMENTREQUEST_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_CREATEABTESTEXPERIMENTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT CreateABTestExperimentRequest : public RoaServiceRequest
{
public:
CreateABTestExperimentRequest();
~CreateABTestExperimentRequest();
int getGroupId()const;
void setGroupId(int groupId);
int getSceneId()const;
void setSceneId(int sceneId);
std::string getAppGroupIdentity()const;
void setAppGroupIdentity(const std::string& appGroupIdentity);
private:
int groupId_;
int sceneId_;
std::string appGroupIdentity_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_CREATEABTESTEXPERIMENTREQUEST_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_CREATEABTESTEXPERIMENTRESULT_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_CREATEABTESTEXPERIMENTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT CreateABTestExperimentResult : public ServiceResult
{
public:
struct Result
{
int updated;
int traffic;
std::string params;
std::string id;
bool online;
std::string name;
int created;
};
CreateABTestExperimentResult();
explicit CreateABTestExperimentResult(const std::string &payload);
~CreateABTestExperimentResult();
std::string getRequestId()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_CREATEABTESTEXPERIMENTRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_CREATEABTESTGROUPREQUEST_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_CREATEABTESTGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT CreateABTestGroupRequest : public RoaServiceRequest
{
public:
CreateABTestGroupRequest();
~CreateABTestGroupRequest();
int getSceneId()const;
void setSceneId(int sceneId);
std::string getAppGroupIdentity()const;
void setAppGroupIdentity(const std::string& appGroupIdentity);
private:
int sceneId_;
std::string appGroupIdentity_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_CREATEABTESTGROUPREQUEST_H_

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,86 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_CREATEAPPGROUPRESULT_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_CREATEAPPGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT CreateAppGroupResult : public ServiceResult
{
public:
struct Result
{
struct Quota
{
int docSize;
int computeResource;
std::string spec;
};
int secondRankAlgoDeploymentId;
std::string status;
int firstRankAlgoDeploymentId;
int produced;
std::string description;
int updated;
std::string instanceId;
std::string processingOrderId;
std::string expireOn;
std::string currentVersion;
int switchedTime;
std::string projectId;
std::string lockMode;
std::string name;
int chargingWay;
int created;
std::string type;
Quota quota;
std::string chargeType;
std::string commodityCode;
int hasPendingQuotaReviewTask;
std::string id;
int pendingSecondRankAlgoDeploymentId;
int lockedByExpiration;
};
CreateAppGroupResult();
explicit CreateAppGroupResult(const std::string &payload);
~CreateAppGroupResult();
std::string getRequestId()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_CREATEAPPGROUPRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_CREATEAPPREQUEST_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_CREATEAPPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT CreateAppRequest : public RoaServiceRequest
{
public:
CreateAppRequest();
~CreateAppRequest();
bool getDryRun()const;
void setDryRun(bool dryRun);
std::string getAppGroupIdentity()const;
void setAppGroupIdentity(const std::string& appGroupIdentity);
private:
bool dryRun_;
std::string appGroupIdentity_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_CREATEAPPREQUEST_H_

View File

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

View File

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

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_CREATEDATACOLLECTIONRESULT_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_CREATEDATACOLLECTIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT CreateDataCollectionResult : public ServiceResult
{
public:
struct Result
{
int status;
std::string type;
int updated;
std::string sundialId;
std::string dataCollectionType;
std::string id;
std::string industryName;
std::string name;
int created;
};
CreateDataCollectionResult();
explicit CreateDataCollectionResult(const std::string &payload);
~CreateDataCollectionResult();
std::string getRequestId()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_CREATEDATACOLLECTIONRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_CREATEFIRSTRANKREQUEST_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_CREATEFIRSTRANKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT CreateFirstRankRequest : public RoaServiceRequest
{
public:
CreateFirstRankRequest();
~CreateFirstRankRequest();
bool getDryRun()const;
void setDryRun(bool dryRun);
int getAppId()const;
void setAppId(int appId);
std::string getAppGroupIdentity()const;
void setAppGroupIdentity(const std::string& appGroupIdentity);
private:
bool dryRun_;
int appId_;
std::string appGroupIdentity_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_CREATEFIRSTRANKREQUEST_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_CREATEFIRSTRANKRESULT_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_CREATEFIRSTRANKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT CreateFirstRankResult : public ServiceResult
{
public:
struct Result
{
struct MetaItem
{
std::string attribute;
std::string arg;
float weight;
};
bool active;
std::vector<MetaItem> meta;
std::string name;
};
CreateFirstRankResult();
explicit CreateFirstRankResult(const std::string &payload);
~CreateFirstRankResult();
std::string getRequestId()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_CREATEFIRSTRANKRESULT_H_

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_CREATEQUERYPROCESSORREQUEST_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_CREATEQUERYPROCESSORREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT CreateQueryProcessorRequest : public RoaServiceRequest
{
public:
CreateQueryProcessorRequest();
~CreateQueryProcessorRequest();
bool getDryRun()const;
void setDryRun(bool dryRun);
int getAppId()const;
void setAppId(int appId);
std::string getAppGroupIdentity()const;
void setAppGroupIdentity(const std::string& appGroupIdentity);
private:
bool dryRun_;
int appId_;
std::string appGroupIdentity_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_CREATEQUERYPROCESSORREQUEST_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_CREATEQUERYPROCESSORRESULT_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_CREATEQUERYPROCESSORRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT CreateQueryProcessorResult : public ServiceResult
{
public:
struct Result
{
bool active;
int updated;
std::string domain;
std::vector<std::string> indexes;
std::vector<std::string> processors;
std::string name;
int created;
};
CreateQueryProcessorResult();
explicit CreateQueryProcessorResult(const std::string &payload);
~CreateQueryProcessorResult();
std::string getRequestId()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_CREATEQUERYPROCESSORRESULT_H_

View File

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

View File

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

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_CREATESECONDRANKREQUEST_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_CREATESECONDRANKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT CreateSecondRankRequest : public RoaServiceRequest
{
public:
CreateSecondRankRequest();
~CreateSecondRankRequest();
bool getDryRun()const;
void setDryRun(bool dryRun);
int getAppId()const;
void setAppId(int appId);
std::string getAppGroupIdentity()const;
void setAppGroupIdentity(const std::string& appGroupIdentity);
private:
bool dryRun_;
int appId_;
std::string appGroupIdentity_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_CREATESECONDRANKREQUEST_H_

View File

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

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