Add API ListQuotaReviewTasks.
This commit is contained in:
@@ -166,6 +166,8 @@
|
||||
#include "model/ListQueryProcessorNersResult.h"
|
||||
#include "model/ListQueryProcessorsRequest.h"
|
||||
#include "model/ListQueryProcessorsResult.h"
|
||||
#include "model/ListQuotaReviewTasksRequest.h"
|
||||
#include "model/ListQuotaReviewTasksResult.h"
|
||||
#include "model/ListRamRolesRequest.h"
|
||||
#include "model/ListRamRolesResult.h"
|
||||
#include "model/ListScheduledTasksRequest.h"
|
||||
@@ -250,6 +252,8 @@
|
||||
#include "model/UpdateABTestSceneResult.h"
|
||||
#include "model/UpdateFetchFieldsRequest.h"
|
||||
#include "model/UpdateFetchFieldsResult.h"
|
||||
#include "model/UpdateSortScriptRequest.h"
|
||||
#include "model/UpdateSortScriptResult.h"
|
||||
#include "model/UpdateSummariesRequest.h"
|
||||
#include "model/UpdateSummariesResult.h"
|
||||
|
||||
@@ -477,6 +481,9 @@ namespace AlibabaCloud
|
||||
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::ListQuotaReviewTasksResult> ListQuotaReviewTasksOutcome;
|
||||
typedef std::future<ListQuotaReviewTasksOutcome> ListQuotaReviewTasksOutcomeCallable;
|
||||
typedef std::function<void(const OpenSearchClient*, const Model::ListQuotaReviewTasksRequest&, const ListQuotaReviewTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListQuotaReviewTasksAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListRamRolesResult> ListRamRolesOutcome;
|
||||
typedef std::future<ListRamRolesOutcome> ListRamRolesOutcomeCallable;
|
||||
typedef std::function<void(const OpenSearchClient*, const Model::ListRamRolesRequest&, const ListRamRolesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRamRolesAsyncHandler;
|
||||
@@ -603,6 +610,9 @@ namespace AlibabaCloud
|
||||
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::UpdateSortScriptResult> UpdateSortScriptOutcome;
|
||||
typedef std::future<UpdateSortScriptOutcome> UpdateSortScriptOutcomeCallable;
|
||||
typedef std::function<void(const OpenSearchClient*, const Model::UpdateSortScriptRequest&, const UpdateSortScriptOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateSortScriptAsyncHandler;
|
||||
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;
|
||||
@@ -827,6 +837,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
ListQuotaReviewTasksOutcome listQuotaReviewTasks(const Model::ListQuotaReviewTasksRequest &request)const;
|
||||
void listQuotaReviewTasksAsync(const Model::ListQuotaReviewTasksRequest& request, const ListQuotaReviewTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListQuotaReviewTasksOutcomeCallable listQuotaReviewTasksCallable(const Model::ListQuotaReviewTasksRequest& request) const;
|
||||
ListRamRolesOutcome listRamRoles(const Model::ListRamRolesRequest &request)const;
|
||||
void listRamRolesAsync(const Model::ListRamRolesRequest& request, const ListRamRolesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRamRolesOutcomeCallable listRamRolesCallable(const Model::ListRamRolesRequest& request) const;
|
||||
@@ -953,6 +966,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
UpdateSortScriptOutcome updateSortScript(const Model::UpdateSortScriptRequest &request)const;
|
||||
void updateSortScriptAsync(const Model::UpdateSortScriptRequest& request, const UpdateSortScriptAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateSortScriptOutcomeCallable updateSortScriptCallable(const Model::UpdateSortScriptRequest& 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;
|
||||
|
||||
@@ -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_LISTQUOTAREVIEWTASKSREQUEST_H_
|
||||
#define ALIBABACLOUD_OPENSEARCH_MODEL_LISTQUOTAREVIEWTASKSREQUEST_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 ListQuotaReviewTasksRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListQuotaReviewTasksRequest();
|
||||
~ListQuotaReviewTasksRequest();
|
||||
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getAppGroupIdentity()const;
|
||||
void setAppGroupIdentity(const std::string& appGroupIdentity);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
int pageSize_;
|
||||
std::string appGroupIdentity_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_LISTQUOTAREVIEWTASKSREQUEST_H_
|
||||
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_LISTQUOTAREVIEWTASKSRESULT_H_
|
||||
#define ALIBABACLOUD_OPENSEARCH_MODEL_LISTQUOTAREVIEWTASKSRESULT_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 ListQuotaReviewTasksResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ResultItem
|
||||
{
|
||||
std::string appGroupType;
|
||||
std::string oldSpec;
|
||||
std::string newSpec;
|
||||
bool approved;
|
||||
std::string gmtModified;
|
||||
int oldComputeResource;
|
||||
std::string gmtCreate;
|
||||
int newComputeResource;
|
||||
int appGroupId;
|
||||
int oldDocSize;
|
||||
bool available;
|
||||
int id;
|
||||
std::string appGroupName;
|
||||
int newSocSize;
|
||||
std::string memo;
|
||||
bool pending;
|
||||
};
|
||||
|
||||
|
||||
ListQuotaReviewTasksResult();
|
||||
explicit ListQuotaReviewTasksResult(const std::string &payload);
|
||||
~ListQuotaReviewTasksResult();
|
||||
std::vector<ResultItem> getresult()const;
|
||||
int getTotalCount()const;
|
||||
std::string getRequestId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ResultItem> result_;
|
||||
int totalCount_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_LISTQUOTAREVIEWTASKSRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_UPDATESORTSCRIPTREQUEST_H_
|
||||
#define ALIBABACLOUD_OPENSEARCH_MODEL_UPDATESORTSCRIPTREQUEST_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 UpdateSortScriptRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateSortScriptRequest();
|
||||
~UpdateSortScriptRequest();
|
||||
|
||||
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_UPDATESORTSCRIPTREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_UPDATESORTSCRIPTRESULT_H_
|
||||
#define ALIBABACLOUD_OPENSEARCH_MODEL_UPDATESORTSCRIPTRESULT_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 UpdateSortScriptResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateSortScriptResult();
|
||||
explicit UpdateSortScriptResult(const std::string &payload);
|
||||
~UpdateSortScriptResult();
|
||||
std::string getRequestId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_UPDATESORTSCRIPTRESULT_H_
|
||||
Reference in New Issue
Block a user