Add ConvertPayType.

This commit is contained in:
sdk-team
2019-11-21 15:32:21 +08:00
parent 76073f9272
commit c1cb2b567a
187 changed files with 7822 additions and 195 deletions

View File

@@ -23,26 +23,50 @@ set(elasticsearch_public_header
set(elasticsearch_public_header_model
include/alibabacloud/elasticsearch/model/ActivateZonesRequest.h
include/alibabacloud/elasticsearch/model/ActivateZonesResult.h
include/alibabacloud/elasticsearch/model/AddConnectableClusterRequest.h
include/alibabacloud/elasticsearch/model/AddConnectableClusterResult.h
include/alibabacloud/elasticsearch/model/AddSnapshotRepoRequest.h
include/alibabacloud/elasticsearch/model/AddSnapshotRepoResult.h
include/alibabacloud/elasticsearch/model/CancelTaskRequest.h
include/alibabacloud/elasticsearch/model/CancelTaskResult.h
include/alibabacloud/elasticsearch/model/CloseHttpsRequest.h
include/alibabacloud/elasticsearch/model/CloseHttpsResult.h
include/alibabacloud/elasticsearch/model/ConvertLogstashPayTypeRequest.h
include/alibabacloud/elasticsearch/model/ConvertLogstashPayTypeResult.h
include/alibabacloud/elasticsearch/model/ConvertPayTypeRequest.h
include/alibabacloud/elasticsearch/model/ConvertPayTypeResult.h
include/alibabacloud/elasticsearch/model/CreateInstanceRequest.h
include/alibabacloud/elasticsearch/model/CreateInstanceResult.h
include/alibabacloud/elasticsearch/model/CreateLogstashRequest.h
include/alibabacloud/elasticsearch/model/CreateLogstashResult.h
include/alibabacloud/elasticsearch/model/CreateProjectRequest.h
include/alibabacloud/elasticsearch/model/CreateProjectResult.h
include/alibabacloud/elasticsearch/model/DeactivateZonesRequest.h
include/alibabacloud/elasticsearch/model/DeactivateZonesResult.h
include/alibabacloud/elasticsearch/model/DeleteConnectedClusterRequest.h
include/alibabacloud/elasticsearch/model/DeleteConnectedClusterResult.h
include/alibabacloud/elasticsearch/model/DeleteInstanceRequest.h
include/alibabacloud/elasticsearch/model/DeleteInstanceResult.h
include/alibabacloud/elasticsearch/model/DeleteLogstashRequest.h
include/alibabacloud/elasticsearch/model/DeleteLogstashResult.h
include/alibabacloud/elasticsearch/model/DeleteProjectRequest.h
include/alibabacloud/elasticsearch/model/DeleteProjectResult.h
include/alibabacloud/elasticsearch/model/DeleteSnapshotRepoRequest.h
include/alibabacloud/elasticsearch/model/DeleteSnapshotRepoResult.h
include/alibabacloud/elasticsearch/model/DescribeConnectableClustersRequest.h
include/alibabacloud/elasticsearch/model/DescribeConnectableClustersResult.h
include/alibabacloud/elasticsearch/model/DescribeElasticsearchHealthRequest.h
include/alibabacloud/elasticsearch/model/DescribeElasticsearchHealthResult.h
include/alibabacloud/elasticsearch/model/DescribeInstanceRequest.h
include/alibabacloud/elasticsearch/model/DescribeInstanceResult.h
include/alibabacloud/elasticsearch/model/DescribeKibanaSettingsRequest.h
include/alibabacloud/elasticsearch/model/DescribeKibanaSettingsResult.h
include/alibabacloud/elasticsearch/model/DescribeLogstashRequest.h
include/alibabacloud/elasticsearch/model/DescribeLogstashResult.h
include/alibabacloud/elasticsearch/model/DescribePipelineManagementConfigRequest.h
include/alibabacloud/elasticsearch/model/DescribePipelineManagementConfigResult.h
include/alibabacloud/elasticsearch/model/DescribeRegionsRequest.h
include/alibabacloud/elasticsearch/model/DescribeRegionsResult.h
include/alibabacloud/elasticsearch/model/GetRegionConfigurationRequest.h
include/alibabacloud/elasticsearch/model/GetRegionConfigurationResult.h
include/alibabacloud/elasticsearch/model/GetSuggestShrinkableNodesRequest.h
@@ -51,26 +75,48 @@ set(elasticsearch_public_header_model
include/alibabacloud/elasticsearch/model/GetTransferableNodesResult.h
include/alibabacloud/elasticsearch/model/InstallKibanaSystemPluginRequest.h
include/alibabacloud/elasticsearch/model/InstallKibanaSystemPluginResult.h
include/alibabacloud/elasticsearch/model/InstallLogstashSystemPluginRequest.h
include/alibabacloud/elasticsearch/model/InstallLogstashSystemPluginResult.h
include/alibabacloud/elasticsearch/model/InstallSystemPluginRequest.h
include/alibabacloud/elasticsearch/model/InstallSystemPluginResult.h
include/alibabacloud/elasticsearch/model/InstallUserPluginsRequest.h
include/alibabacloud/elasticsearch/model/InstallUserPluginsResult.h
include/alibabacloud/elasticsearch/model/InterruptElasticsearchTaskRequest.h
include/alibabacloud/elasticsearch/model/InterruptElasticsearchTaskResult.h
include/alibabacloud/elasticsearch/model/InterruptLogstashTaskRequest.h
include/alibabacloud/elasticsearch/model/InterruptLogstashTaskResult.h
include/alibabacloud/elasticsearch/model/ListAllNodeRequest.h
include/alibabacloud/elasticsearch/model/ListAllNodeResult.h
include/alibabacloud/elasticsearch/model/ListAlternativeSnapshotReposRequest.h
include/alibabacloud/elasticsearch/model/ListAlternativeSnapshotReposResult.h
include/alibabacloud/elasticsearch/model/ListInstanceRequest.h
include/alibabacloud/elasticsearch/model/ListInstanceResult.h
include/alibabacloud/elasticsearch/model/ListKibanaPluginsRequest.h
include/alibabacloud/elasticsearch/model/ListKibanaPluginsResult.h
include/alibabacloud/elasticsearch/model/ListLogstashRequest.h
include/alibabacloud/elasticsearch/model/ListLogstashResult.h
include/alibabacloud/elasticsearch/model/ListLogstashLogRequest.h
include/alibabacloud/elasticsearch/model/ListLogstashLogResult.h
include/alibabacloud/elasticsearch/model/ListLogstashPluginsRequest.h
include/alibabacloud/elasticsearch/model/ListLogstashPluginsResult.h
include/alibabacloud/elasticsearch/model/ListPluginsRequest.h
include/alibabacloud/elasticsearch/model/ListPluginsResult.h
include/alibabacloud/elasticsearch/model/ListSearchLogRequest.h
include/alibabacloud/elasticsearch/model/ListSearchLogResult.h
include/alibabacloud/elasticsearch/model/ListSnapshotReposByInstanceIdRequest.h
include/alibabacloud/elasticsearch/model/ListSnapshotReposByInstanceIdResult.h
include/alibabacloud/elasticsearch/model/MoveResourceGroupRequest.h
include/alibabacloud/elasticsearch/model/MoveResourceGroupResult.h
include/alibabacloud/elasticsearch/model/OpenHttpsRequest.h
include/alibabacloud/elasticsearch/model/OpenHttpsResult.h
include/alibabacloud/elasticsearch/model/RestartInstanceRequest.h
include/alibabacloud/elasticsearch/model/RestartInstanceResult.h
include/alibabacloud/elasticsearch/model/RestartLogstashRequest.h
include/alibabacloud/elasticsearch/model/RestartLogstashResult.h
include/alibabacloud/elasticsearch/model/ResumeElasticsearchTaskRequest.h
include/alibabacloud/elasticsearch/model/ResumeElasticsearchTaskResult.h
include/alibabacloud/elasticsearch/model/ResumeLogstashTaskRequest.h
include/alibabacloud/elasticsearch/model/ResumeLogstashTaskResult.h
include/alibabacloud/elasticsearch/model/RollbackInstanceRequest.h
include/alibabacloud/elasticsearch/model/RollbackInstanceResult.h
include/alibabacloud/elasticsearch/model/ShrinkNodeRequest.h
@@ -81,6 +127,8 @@ set(elasticsearch_public_header_model
include/alibabacloud/elasticsearch/model/TriggerNetworkResult.h
include/alibabacloud/elasticsearch/model/UninstallKibanaPluginRequest.h
include/alibabacloud/elasticsearch/model/UninstallKibanaPluginResult.h
include/alibabacloud/elasticsearch/model/UninstallLogstashPluginRequest.h
include/alibabacloud/elasticsearch/model/UninstallLogstashPluginResult.h
include/alibabacloud/elasticsearch/model/UninstallPluginRequest.h
include/alibabacloud/elasticsearch/model/UninstallPluginResult.h
include/alibabacloud/elasticsearch/model/UpdateAdminPasswordRequest.h
@@ -105,6 +153,14 @@ set(elasticsearch_public_header_model
include/alibabacloud/elasticsearch/model/UpdateKibanaSettingsResult.h
include/alibabacloud/elasticsearch/model/UpdateKibanaWhiteIpsRequest.h
include/alibabacloud/elasticsearch/model/UpdateKibanaWhiteIpsResult.h
include/alibabacloud/elasticsearch/model/UpdateLogstashRequest.h
include/alibabacloud/elasticsearch/model/UpdateLogstashResult.h
include/alibabacloud/elasticsearch/model/UpdateLogstashDescriptionRequest.h
include/alibabacloud/elasticsearch/model/UpdateLogstashDescriptionResult.h
include/alibabacloud/elasticsearch/model/UpdateLogstashSettingsRequest.h
include/alibabacloud/elasticsearch/model/UpdateLogstashSettingsResult.h
include/alibabacloud/elasticsearch/model/UpdatePipelineManagementConfigRequest.h
include/alibabacloud/elasticsearch/model/UpdatePipelineManagementConfigResult.h
include/alibabacloud/elasticsearch/model/UpdatePrivateNetworkWhiteIpsRequest.h
include/alibabacloud/elasticsearch/model/UpdatePrivateNetworkWhiteIpsResult.h
include/alibabacloud/elasticsearch/model/UpdatePublicNetworkRequest.h
@@ -126,26 +182,50 @@ set(elasticsearch_src
src/ElasticsearchClient.cc
src/model/ActivateZonesRequest.cc
src/model/ActivateZonesResult.cc
src/model/AddConnectableClusterRequest.cc
src/model/AddConnectableClusterResult.cc
src/model/AddSnapshotRepoRequest.cc
src/model/AddSnapshotRepoResult.cc
src/model/CancelTaskRequest.cc
src/model/CancelTaskResult.cc
src/model/CloseHttpsRequest.cc
src/model/CloseHttpsResult.cc
src/model/ConvertLogstashPayTypeRequest.cc
src/model/ConvertLogstashPayTypeResult.cc
src/model/ConvertPayTypeRequest.cc
src/model/ConvertPayTypeResult.cc
src/model/CreateInstanceRequest.cc
src/model/CreateInstanceResult.cc
src/model/CreateLogstashRequest.cc
src/model/CreateLogstashResult.cc
src/model/CreateProjectRequest.cc
src/model/CreateProjectResult.cc
src/model/DeactivateZonesRequest.cc
src/model/DeactivateZonesResult.cc
src/model/DeleteConnectedClusterRequest.cc
src/model/DeleteConnectedClusterResult.cc
src/model/DeleteInstanceRequest.cc
src/model/DeleteInstanceResult.cc
src/model/DeleteLogstashRequest.cc
src/model/DeleteLogstashResult.cc
src/model/DeleteProjectRequest.cc
src/model/DeleteProjectResult.cc
src/model/DeleteSnapshotRepoRequest.cc
src/model/DeleteSnapshotRepoResult.cc
src/model/DescribeConnectableClustersRequest.cc
src/model/DescribeConnectableClustersResult.cc
src/model/DescribeElasticsearchHealthRequest.cc
src/model/DescribeElasticsearchHealthResult.cc
src/model/DescribeInstanceRequest.cc
src/model/DescribeInstanceResult.cc
src/model/DescribeKibanaSettingsRequest.cc
src/model/DescribeKibanaSettingsResult.cc
src/model/DescribeLogstashRequest.cc
src/model/DescribeLogstashResult.cc
src/model/DescribePipelineManagementConfigRequest.cc
src/model/DescribePipelineManagementConfigResult.cc
src/model/DescribeRegionsRequest.cc
src/model/DescribeRegionsResult.cc
src/model/GetRegionConfigurationRequest.cc
src/model/GetRegionConfigurationResult.cc
src/model/GetSuggestShrinkableNodesRequest.cc
@@ -154,26 +234,48 @@ set(elasticsearch_src
src/model/GetTransferableNodesResult.cc
src/model/InstallKibanaSystemPluginRequest.cc
src/model/InstallKibanaSystemPluginResult.cc
src/model/InstallLogstashSystemPluginRequest.cc
src/model/InstallLogstashSystemPluginResult.cc
src/model/InstallSystemPluginRequest.cc
src/model/InstallSystemPluginResult.cc
src/model/InstallUserPluginsRequest.cc
src/model/InstallUserPluginsResult.cc
src/model/InterruptElasticsearchTaskRequest.cc
src/model/InterruptElasticsearchTaskResult.cc
src/model/InterruptLogstashTaskRequest.cc
src/model/InterruptLogstashTaskResult.cc
src/model/ListAllNodeRequest.cc
src/model/ListAllNodeResult.cc
src/model/ListAlternativeSnapshotReposRequest.cc
src/model/ListAlternativeSnapshotReposResult.cc
src/model/ListInstanceRequest.cc
src/model/ListInstanceResult.cc
src/model/ListKibanaPluginsRequest.cc
src/model/ListKibanaPluginsResult.cc
src/model/ListLogstashRequest.cc
src/model/ListLogstashResult.cc
src/model/ListLogstashLogRequest.cc
src/model/ListLogstashLogResult.cc
src/model/ListLogstashPluginsRequest.cc
src/model/ListLogstashPluginsResult.cc
src/model/ListPluginsRequest.cc
src/model/ListPluginsResult.cc
src/model/ListSearchLogRequest.cc
src/model/ListSearchLogResult.cc
src/model/ListSnapshotReposByInstanceIdRequest.cc
src/model/ListSnapshotReposByInstanceIdResult.cc
src/model/MoveResourceGroupRequest.cc
src/model/MoveResourceGroupResult.cc
src/model/OpenHttpsRequest.cc
src/model/OpenHttpsResult.cc
src/model/RestartInstanceRequest.cc
src/model/RestartInstanceResult.cc
src/model/RestartLogstashRequest.cc
src/model/RestartLogstashResult.cc
src/model/ResumeElasticsearchTaskRequest.cc
src/model/ResumeElasticsearchTaskResult.cc
src/model/ResumeLogstashTaskRequest.cc
src/model/ResumeLogstashTaskResult.cc
src/model/RollbackInstanceRequest.cc
src/model/RollbackInstanceResult.cc
src/model/ShrinkNodeRequest.cc
@@ -184,6 +286,8 @@ set(elasticsearch_src
src/model/TriggerNetworkResult.cc
src/model/UninstallKibanaPluginRequest.cc
src/model/UninstallKibanaPluginResult.cc
src/model/UninstallLogstashPluginRequest.cc
src/model/UninstallLogstashPluginResult.cc
src/model/UninstallPluginRequest.cc
src/model/UninstallPluginResult.cc
src/model/UpdateAdminPasswordRequest.cc
@@ -208,6 +312,14 @@ set(elasticsearch_src
src/model/UpdateKibanaSettingsResult.cc
src/model/UpdateKibanaWhiteIpsRequest.cc
src/model/UpdateKibanaWhiteIpsResult.cc
src/model/UpdateLogstashRequest.cc
src/model/UpdateLogstashResult.cc
src/model/UpdateLogstashDescriptionRequest.cc
src/model/UpdateLogstashDescriptionResult.cc
src/model/UpdateLogstashSettingsRequest.cc
src/model/UpdateLogstashSettingsResult.cc
src/model/UpdatePipelineManagementConfigRequest.cc
src/model/UpdatePipelineManagementConfigResult.cc
src/model/UpdatePrivateNetworkWhiteIpsRequest.cc
src/model/UpdatePrivateNetworkWhiteIpsResult.cc
src/model/UpdatePublicNetworkRequest.cc

View File

@@ -24,26 +24,50 @@
#include "ElasticsearchExport.h"
#include "model/ActivateZonesRequest.h"
#include "model/ActivateZonesResult.h"
#include "model/AddConnectableClusterRequest.h"
#include "model/AddConnectableClusterResult.h"
#include "model/AddSnapshotRepoRequest.h"
#include "model/AddSnapshotRepoResult.h"
#include "model/CancelTaskRequest.h"
#include "model/CancelTaskResult.h"
#include "model/CloseHttpsRequest.h"
#include "model/CloseHttpsResult.h"
#include "model/ConvertLogstashPayTypeRequest.h"
#include "model/ConvertLogstashPayTypeResult.h"
#include "model/ConvertPayTypeRequest.h"
#include "model/ConvertPayTypeResult.h"
#include "model/CreateInstanceRequest.h"
#include "model/CreateInstanceResult.h"
#include "model/CreateLogstashRequest.h"
#include "model/CreateLogstashResult.h"
#include "model/CreateProjectRequest.h"
#include "model/CreateProjectResult.h"
#include "model/DeactivateZonesRequest.h"
#include "model/DeactivateZonesResult.h"
#include "model/DeleteConnectedClusterRequest.h"
#include "model/DeleteConnectedClusterResult.h"
#include "model/DeleteInstanceRequest.h"
#include "model/DeleteInstanceResult.h"
#include "model/DeleteLogstashRequest.h"
#include "model/DeleteLogstashResult.h"
#include "model/DeleteProjectRequest.h"
#include "model/DeleteProjectResult.h"
#include "model/DeleteSnapshotRepoRequest.h"
#include "model/DeleteSnapshotRepoResult.h"
#include "model/DescribeConnectableClustersRequest.h"
#include "model/DescribeConnectableClustersResult.h"
#include "model/DescribeElasticsearchHealthRequest.h"
#include "model/DescribeElasticsearchHealthResult.h"
#include "model/DescribeInstanceRequest.h"
#include "model/DescribeInstanceResult.h"
#include "model/DescribeKibanaSettingsRequest.h"
#include "model/DescribeKibanaSettingsResult.h"
#include "model/DescribeLogstashRequest.h"
#include "model/DescribeLogstashResult.h"
#include "model/DescribePipelineManagementConfigRequest.h"
#include "model/DescribePipelineManagementConfigResult.h"
#include "model/DescribeRegionsRequest.h"
#include "model/DescribeRegionsResult.h"
#include "model/GetRegionConfigurationRequest.h"
#include "model/GetRegionConfigurationResult.h"
#include "model/GetSuggestShrinkableNodesRequest.h"
@@ -52,26 +76,48 @@
#include "model/GetTransferableNodesResult.h"
#include "model/InstallKibanaSystemPluginRequest.h"
#include "model/InstallKibanaSystemPluginResult.h"
#include "model/InstallLogstashSystemPluginRequest.h"
#include "model/InstallLogstashSystemPluginResult.h"
#include "model/InstallSystemPluginRequest.h"
#include "model/InstallSystemPluginResult.h"
#include "model/InstallUserPluginsRequest.h"
#include "model/InstallUserPluginsResult.h"
#include "model/InterruptElasticsearchTaskRequest.h"
#include "model/InterruptElasticsearchTaskResult.h"
#include "model/InterruptLogstashTaskRequest.h"
#include "model/InterruptLogstashTaskResult.h"
#include "model/ListAllNodeRequest.h"
#include "model/ListAllNodeResult.h"
#include "model/ListAlternativeSnapshotReposRequest.h"
#include "model/ListAlternativeSnapshotReposResult.h"
#include "model/ListInstanceRequest.h"
#include "model/ListInstanceResult.h"
#include "model/ListKibanaPluginsRequest.h"
#include "model/ListKibanaPluginsResult.h"
#include "model/ListLogstashRequest.h"
#include "model/ListLogstashResult.h"
#include "model/ListLogstashLogRequest.h"
#include "model/ListLogstashLogResult.h"
#include "model/ListLogstashPluginsRequest.h"
#include "model/ListLogstashPluginsResult.h"
#include "model/ListPluginsRequest.h"
#include "model/ListPluginsResult.h"
#include "model/ListSearchLogRequest.h"
#include "model/ListSearchLogResult.h"
#include "model/ListSnapshotReposByInstanceIdRequest.h"
#include "model/ListSnapshotReposByInstanceIdResult.h"
#include "model/MoveResourceGroupRequest.h"
#include "model/MoveResourceGroupResult.h"
#include "model/OpenHttpsRequest.h"
#include "model/OpenHttpsResult.h"
#include "model/RestartInstanceRequest.h"
#include "model/RestartInstanceResult.h"
#include "model/RestartLogstashRequest.h"
#include "model/RestartLogstashResult.h"
#include "model/ResumeElasticsearchTaskRequest.h"
#include "model/ResumeElasticsearchTaskResult.h"
#include "model/ResumeLogstashTaskRequest.h"
#include "model/ResumeLogstashTaskResult.h"
#include "model/RollbackInstanceRequest.h"
#include "model/RollbackInstanceResult.h"
#include "model/ShrinkNodeRequest.h"
@@ -82,6 +128,8 @@
#include "model/TriggerNetworkResult.h"
#include "model/UninstallKibanaPluginRequest.h"
#include "model/UninstallKibanaPluginResult.h"
#include "model/UninstallLogstashPluginRequest.h"
#include "model/UninstallLogstashPluginResult.h"
#include "model/UninstallPluginRequest.h"
#include "model/UninstallPluginResult.h"
#include "model/UpdateAdminPasswordRequest.h"
@@ -106,6 +154,14 @@
#include "model/UpdateKibanaSettingsResult.h"
#include "model/UpdateKibanaWhiteIpsRequest.h"
#include "model/UpdateKibanaWhiteIpsResult.h"
#include "model/UpdateLogstashRequest.h"
#include "model/UpdateLogstashResult.h"
#include "model/UpdateLogstashDescriptionRequest.h"
#include "model/UpdateLogstashDescriptionResult.h"
#include "model/UpdateLogstashSettingsRequest.h"
#include "model/UpdateLogstashSettingsResult.h"
#include "model/UpdatePipelineManagementConfigRequest.h"
#include "model/UpdatePipelineManagementConfigResult.h"
#include "model/UpdatePrivateNetworkWhiteIpsRequest.h"
#include "model/UpdatePrivateNetworkWhiteIpsResult.h"
#include "model/UpdatePublicNetworkRequest.h"
@@ -134,27 +190,54 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ActivateZonesResult> ActivateZonesOutcome;
typedef std::future<ActivateZonesOutcome> ActivateZonesOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::ActivateZonesRequest&, const ActivateZonesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ActivateZonesAsyncHandler;
typedef Outcome<Error, Model::AddConnectableClusterResult> AddConnectableClusterOutcome;
typedef std::future<AddConnectableClusterOutcome> AddConnectableClusterOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::AddConnectableClusterRequest&, const AddConnectableClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddConnectableClusterAsyncHandler;
typedef Outcome<Error, Model::AddSnapshotRepoResult> AddSnapshotRepoOutcome;
typedef std::future<AddSnapshotRepoOutcome> AddSnapshotRepoOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::AddSnapshotRepoRequest&, const AddSnapshotRepoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddSnapshotRepoAsyncHandler;
typedef Outcome<Error, Model::CancelTaskResult> CancelTaskOutcome;
typedef std::future<CancelTaskOutcome> CancelTaskOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::CancelTaskRequest&, const CancelTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelTaskAsyncHandler;
typedef Outcome<Error, Model::CloseHttpsResult> CloseHttpsOutcome;
typedef std::future<CloseHttpsOutcome> CloseHttpsOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::CloseHttpsRequest&, const CloseHttpsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CloseHttpsAsyncHandler;
typedef Outcome<Error, Model::ConvertLogstashPayTypeResult> ConvertLogstashPayTypeOutcome;
typedef std::future<ConvertLogstashPayTypeOutcome> ConvertLogstashPayTypeOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::ConvertLogstashPayTypeRequest&, const ConvertLogstashPayTypeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConvertLogstashPayTypeAsyncHandler;
typedef Outcome<Error, Model::ConvertPayTypeResult> ConvertPayTypeOutcome;
typedef std::future<ConvertPayTypeOutcome> ConvertPayTypeOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::ConvertPayTypeRequest&, const ConvertPayTypeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConvertPayTypeAsyncHandler;
typedef Outcome<Error, Model::CreateInstanceResult> CreateInstanceOutcome;
typedef std::future<CreateInstanceOutcome> CreateInstanceOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::CreateInstanceRequest&, const CreateInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateInstanceAsyncHandler;
typedef Outcome<Error, Model::CreateLogstashResult> CreateLogstashOutcome;
typedef std::future<CreateLogstashOutcome> CreateLogstashOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::CreateLogstashRequest&, const CreateLogstashOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateLogstashAsyncHandler;
typedef Outcome<Error, Model::CreateProjectResult> CreateProjectOutcome;
typedef std::future<CreateProjectOutcome> CreateProjectOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::CreateProjectRequest&, const CreateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateProjectAsyncHandler;
typedef Outcome<Error, Model::DeactivateZonesResult> DeactivateZonesOutcome;
typedef std::future<DeactivateZonesOutcome> DeactivateZonesOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::DeactivateZonesRequest&, const DeactivateZonesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeactivateZonesAsyncHandler;
typedef Outcome<Error, Model::DeleteConnectedClusterResult> DeleteConnectedClusterOutcome;
typedef std::future<DeleteConnectedClusterOutcome> DeleteConnectedClusterOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::DeleteConnectedClusterRequest&, const DeleteConnectedClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteConnectedClusterAsyncHandler;
typedef Outcome<Error, Model::DeleteInstanceResult> DeleteInstanceOutcome;
typedef std::future<DeleteInstanceOutcome> DeleteInstanceOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::DeleteInstanceRequest&, const DeleteInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteInstanceAsyncHandler;
typedef Outcome<Error, Model::DeleteLogstashResult> DeleteLogstashOutcome;
typedef std::future<DeleteLogstashOutcome> DeleteLogstashOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::DeleteLogstashRequest&, const DeleteLogstashOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLogstashAsyncHandler;
typedef Outcome<Error, Model::DeleteProjectResult> DeleteProjectOutcome;
typedef std::future<DeleteProjectOutcome> DeleteProjectOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::DeleteProjectRequest&, const DeleteProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteProjectAsyncHandler;
typedef Outcome<Error, Model::DeleteSnapshotRepoResult> DeleteSnapshotRepoOutcome;
typedef std::future<DeleteSnapshotRepoOutcome> DeleteSnapshotRepoOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::DeleteSnapshotRepoRequest&, const DeleteSnapshotRepoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSnapshotRepoAsyncHandler;
typedef Outcome<Error, Model::DescribeConnectableClustersResult> DescribeConnectableClustersOutcome;
typedef std::future<DescribeConnectableClustersOutcome> DescribeConnectableClustersOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::DescribeConnectableClustersRequest&, const DescribeConnectableClustersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeConnectableClustersAsyncHandler;
typedef Outcome<Error, Model::DescribeElasticsearchHealthResult> DescribeElasticsearchHealthOutcome;
typedef std::future<DescribeElasticsearchHealthOutcome> DescribeElasticsearchHealthOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::DescribeElasticsearchHealthRequest&, const DescribeElasticsearchHealthOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeElasticsearchHealthAsyncHandler;
@@ -164,6 +247,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeKibanaSettingsResult> DescribeKibanaSettingsOutcome;
typedef std::future<DescribeKibanaSettingsOutcome> DescribeKibanaSettingsOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::DescribeKibanaSettingsRequest&, const DescribeKibanaSettingsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeKibanaSettingsAsyncHandler;
typedef Outcome<Error, Model::DescribeLogstashResult> DescribeLogstashOutcome;
typedef std::future<DescribeLogstashOutcome> DescribeLogstashOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::DescribeLogstashRequest&, const DescribeLogstashOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLogstashAsyncHandler;
typedef Outcome<Error, Model::DescribePipelineManagementConfigResult> DescribePipelineManagementConfigOutcome;
typedef std::future<DescribePipelineManagementConfigOutcome> DescribePipelineManagementConfigOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::DescribePipelineManagementConfigRequest&, const DescribePipelineManagementConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePipelineManagementConfigAsyncHandler;
typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome;
typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler;
typedef Outcome<Error, Model::GetRegionConfigurationResult> GetRegionConfigurationOutcome;
typedef std::future<GetRegionConfigurationOutcome> GetRegionConfigurationOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::GetRegionConfigurationRequest&, const GetRegionConfigurationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRegionConfigurationAsyncHandler;
@@ -176,27 +268,51 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::InstallKibanaSystemPluginResult> InstallKibanaSystemPluginOutcome;
typedef std::future<InstallKibanaSystemPluginOutcome> InstallKibanaSystemPluginOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::InstallKibanaSystemPluginRequest&, const InstallKibanaSystemPluginOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InstallKibanaSystemPluginAsyncHandler;
typedef Outcome<Error, Model::InstallLogstashSystemPluginResult> InstallLogstashSystemPluginOutcome;
typedef std::future<InstallLogstashSystemPluginOutcome> InstallLogstashSystemPluginOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::InstallLogstashSystemPluginRequest&, const InstallLogstashSystemPluginOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InstallLogstashSystemPluginAsyncHandler;
typedef Outcome<Error, Model::InstallSystemPluginResult> InstallSystemPluginOutcome;
typedef std::future<InstallSystemPluginOutcome> InstallSystemPluginOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::InstallSystemPluginRequest&, const InstallSystemPluginOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InstallSystemPluginAsyncHandler;
typedef Outcome<Error, Model::InstallUserPluginsResult> InstallUserPluginsOutcome;
typedef std::future<InstallUserPluginsOutcome> InstallUserPluginsOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::InstallUserPluginsRequest&, const InstallUserPluginsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InstallUserPluginsAsyncHandler;
typedef Outcome<Error, Model::InterruptElasticsearchTaskResult> InterruptElasticsearchTaskOutcome;
typedef std::future<InterruptElasticsearchTaskOutcome> InterruptElasticsearchTaskOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::InterruptElasticsearchTaskRequest&, const InterruptElasticsearchTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InterruptElasticsearchTaskAsyncHandler;
typedef Outcome<Error, Model::InterruptLogstashTaskResult> InterruptLogstashTaskOutcome;
typedef std::future<InterruptLogstashTaskOutcome> InterruptLogstashTaskOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::InterruptLogstashTaskRequest&, const InterruptLogstashTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InterruptLogstashTaskAsyncHandler;
typedef Outcome<Error, Model::ListAllNodeResult> ListAllNodeOutcome;
typedef std::future<ListAllNodeOutcome> ListAllNodeOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::ListAllNodeRequest&, const ListAllNodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAllNodeAsyncHandler;
typedef Outcome<Error, Model::ListAlternativeSnapshotReposResult> ListAlternativeSnapshotReposOutcome;
typedef std::future<ListAlternativeSnapshotReposOutcome> ListAlternativeSnapshotReposOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::ListAlternativeSnapshotReposRequest&, const ListAlternativeSnapshotReposOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAlternativeSnapshotReposAsyncHandler;
typedef Outcome<Error, Model::ListInstanceResult> ListInstanceOutcome;
typedef std::future<ListInstanceOutcome> ListInstanceOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::ListInstanceRequest&, const ListInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListInstanceAsyncHandler;
typedef Outcome<Error, Model::ListKibanaPluginsResult> ListKibanaPluginsOutcome;
typedef std::future<ListKibanaPluginsOutcome> ListKibanaPluginsOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::ListKibanaPluginsRequest&, const ListKibanaPluginsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListKibanaPluginsAsyncHandler;
typedef Outcome<Error, Model::ListLogstashResult> ListLogstashOutcome;
typedef std::future<ListLogstashOutcome> ListLogstashOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::ListLogstashRequest&, const ListLogstashOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListLogstashAsyncHandler;
typedef Outcome<Error, Model::ListLogstashLogResult> ListLogstashLogOutcome;
typedef std::future<ListLogstashLogOutcome> ListLogstashLogOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::ListLogstashLogRequest&, const ListLogstashLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListLogstashLogAsyncHandler;
typedef Outcome<Error, Model::ListLogstashPluginsResult> ListLogstashPluginsOutcome;
typedef std::future<ListLogstashPluginsOutcome> ListLogstashPluginsOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::ListLogstashPluginsRequest&, const ListLogstashPluginsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListLogstashPluginsAsyncHandler;
typedef Outcome<Error, Model::ListPluginsResult> ListPluginsOutcome;
typedef std::future<ListPluginsOutcome> ListPluginsOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::ListPluginsRequest&, const ListPluginsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPluginsAsyncHandler;
typedef Outcome<Error, Model::ListSearchLogResult> ListSearchLogOutcome;
typedef std::future<ListSearchLogOutcome> ListSearchLogOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::ListSearchLogRequest&, const ListSearchLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSearchLogAsyncHandler;
typedef Outcome<Error, Model::ListSnapshotReposByInstanceIdResult> ListSnapshotReposByInstanceIdOutcome;
typedef std::future<ListSnapshotReposByInstanceIdOutcome> ListSnapshotReposByInstanceIdOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::ListSnapshotReposByInstanceIdRequest&, const ListSnapshotReposByInstanceIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSnapshotReposByInstanceIdAsyncHandler;
typedef Outcome<Error, Model::MoveResourceGroupResult> MoveResourceGroupOutcome;
typedef std::future<MoveResourceGroupOutcome> MoveResourceGroupOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::MoveResourceGroupRequest&, const MoveResourceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoveResourceGroupAsyncHandler;
@@ -206,6 +322,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::RestartInstanceResult> RestartInstanceOutcome;
typedef std::future<RestartInstanceOutcome> RestartInstanceOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::RestartInstanceRequest&, const RestartInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestartInstanceAsyncHandler;
typedef Outcome<Error, Model::RestartLogstashResult> RestartLogstashOutcome;
typedef std::future<RestartLogstashOutcome> RestartLogstashOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::RestartLogstashRequest&, const RestartLogstashOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestartLogstashAsyncHandler;
typedef Outcome<Error, Model::ResumeElasticsearchTaskResult> ResumeElasticsearchTaskOutcome;
typedef std::future<ResumeElasticsearchTaskOutcome> ResumeElasticsearchTaskOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::ResumeElasticsearchTaskRequest&, const ResumeElasticsearchTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResumeElasticsearchTaskAsyncHandler;
typedef Outcome<Error, Model::ResumeLogstashTaskResult> ResumeLogstashTaskOutcome;
typedef std::future<ResumeLogstashTaskOutcome> ResumeLogstashTaskOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::ResumeLogstashTaskRequest&, const ResumeLogstashTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResumeLogstashTaskAsyncHandler;
typedef Outcome<Error, Model::RollbackInstanceResult> RollbackInstanceOutcome;
typedef std::future<RollbackInstanceOutcome> RollbackInstanceOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::RollbackInstanceRequest&, const RollbackInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RollbackInstanceAsyncHandler;
@@ -221,6 +346,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UninstallKibanaPluginResult> UninstallKibanaPluginOutcome;
typedef std::future<UninstallKibanaPluginOutcome> UninstallKibanaPluginOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UninstallKibanaPluginRequest&, const UninstallKibanaPluginOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UninstallKibanaPluginAsyncHandler;
typedef Outcome<Error, Model::UninstallLogstashPluginResult> UninstallLogstashPluginOutcome;
typedef std::future<UninstallLogstashPluginOutcome> UninstallLogstashPluginOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UninstallLogstashPluginRequest&, const UninstallLogstashPluginOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UninstallLogstashPluginAsyncHandler;
typedef Outcome<Error, Model::UninstallPluginResult> UninstallPluginOutcome;
typedef std::future<UninstallPluginOutcome> UninstallPluginOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UninstallPluginRequest&, const UninstallPluginOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UninstallPluginAsyncHandler;
@@ -257,6 +385,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UpdateKibanaWhiteIpsResult> UpdateKibanaWhiteIpsOutcome;
typedef std::future<UpdateKibanaWhiteIpsOutcome> UpdateKibanaWhiteIpsOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpdateKibanaWhiteIpsRequest&, const UpdateKibanaWhiteIpsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateKibanaWhiteIpsAsyncHandler;
typedef Outcome<Error, Model::UpdateLogstashResult> UpdateLogstashOutcome;
typedef std::future<UpdateLogstashOutcome> UpdateLogstashOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpdateLogstashRequest&, const UpdateLogstashOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateLogstashAsyncHandler;
typedef Outcome<Error, Model::UpdateLogstashDescriptionResult> UpdateLogstashDescriptionOutcome;
typedef std::future<UpdateLogstashDescriptionOutcome> UpdateLogstashDescriptionOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpdateLogstashDescriptionRequest&, const UpdateLogstashDescriptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateLogstashDescriptionAsyncHandler;
typedef Outcome<Error, Model::UpdateLogstashSettingsResult> UpdateLogstashSettingsOutcome;
typedef std::future<UpdateLogstashSettingsOutcome> UpdateLogstashSettingsOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpdateLogstashSettingsRequest&, const UpdateLogstashSettingsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateLogstashSettingsAsyncHandler;
typedef Outcome<Error, Model::UpdatePipelineManagementConfigResult> UpdatePipelineManagementConfigOutcome;
typedef std::future<UpdatePipelineManagementConfigOutcome> UpdatePipelineManagementConfigOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpdatePipelineManagementConfigRequest&, const UpdatePipelineManagementConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdatePipelineManagementConfigAsyncHandler;
typedef Outcome<Error, Model::UpdatePrivateNetworkWhiteIpsResult> UpdatePrivateNetworkWhiteIpsOutcome;
typedef std::future<UpdatePrivateNetworkWhiteIpsOutcome> UpdatePrivateNetworkWhiteIpsOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpdatePrivateNetworkWhiteIpsRequest&, const UpdatePrivateNetworkWhiteIpsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdatePrivateNetworkWhiteIpsAsyncHandler;
@@ -289,27 +429,54 @@ namespace AlibabaCloud
ActivateZonesOutcome activateZones(const Model::ActivateZonesRequest &request)const;
void activateZonesAsync(const Model::ActivateZonesRequest& request, const ActivateZonesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ActivateZonesOutcomeCallable activateZonesCallable(const Model::ActivateZonesRequest& request) const;
AddConnectableClusterOutcome addConnectableCluster(const Model::AddConnectableClusterRequest &request)const;
void addConnectableClusterAsync(const Model::AddConnectableClusterRequest& request, const AddConnectableClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddConnectableClusterOutcomeCallable addConnectableClusterCallable(const Model::AddConnectableClusterRequest& request) const;
AddSnapshotRepoOutcome addSnapshotRepo(const Model::AddSnapshotRepoRequest &request)const;
void addSnapshotRepoAsync(const Model::AddSnapshotRepoRequest& request, const AddSnapshotRepoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddSnapshotRepoOutcomeCallable addSnapshotRepoCallable(const Model::AddSnapshotRepoRequest& request) const;
CancelTaskOutcome cancelTask(const Model::CancelTaskRequest &request)const;
void cancelTaskAsync(const Model::CancelTaskRequest& request, const CancelTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CancelTaskOutcomeCallable cancelTaskCallable(const Model::CancelTaskRequest& request) const;
CloseHttpsOutcome closeHttps(const Model::CloseHttpsRequest &request)const;
void closeHttpsAsync(const Model::CloseHttpsRequest& request, const CloseHttpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CloseHttpsOutcomeCallable closeHttpsCallable(const Model::CloseHttpsRequest& request) const;
ConvertLogstashPayTypeOutcome convertLogstashPayType(const Model::ConvertLogstashPayTypeRequest &request)const;
void convertLogstashPayTypeAsync(const Model::ConvertLogstashPayTypeRequest& request, const ConvertLogstashPayTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ConvertLogstashPayTypeOutcomeCallable convertLogstashPayTypeCallable(const Model::ConvertLogstashPayTypeRequest& request) const;
ConvertPayTypeOutcome convertPayType(const Model::ConvertPayTypeRequest &request)const;
void convertPayTypeAsync(const Model::ConvertPayTypeRequest& request, const ConvertPayTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ConvertPayTypeOutcomeCallable convertPayTypeCallable(const Model::ConvertPayTypeRequest& request) const;
CreateInstanceOutcome createInstance(const Model::CreateInstanceRequest &request)const;
void createInstanceAsync(const Model::CreateInstanceRequest& request, const CreateInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateInstanceOutcomeCallable createInstanceCallable(const Model::CreateInstanceRequest& request) const;
CreateLogstashOutcome createLogstash(const Model::CreateLogstashRequest &request)const;
void createLogstashAsync(const Model::CreateLogstashRequest& request, const CreateLogstashAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateLogstashOutcomeCallable createLogstashCallable(const Model::CreateLogstashRequest& request) const;
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;
DeactivateZonesOutcome deactivateZones(const Model::DeactivateZonesRequest &request)const;
void deactivateZonesAsync(const Model::DeactivateZonesRequest& request, const DeactivateZonesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeactivateZonesOutcomeCallable deactivateZonesCallable(const Model::DeactivateZonesRequest& request) const;
DeleteConnectedClusterOutcome deleteConnectedCluster(const Model::DeleteConnectedClusterRequest &request)const;
void deleteConnectedClusterAsync(const Model::DeleteConnectedClusterRequest& request, const DeleteConnectedClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteConnectedClusterOutcomeCallable deleteConnectedClusterCallable(const Model::DeleteConnectedClusterRequest& request) const;
DeleteInstanceOutcome deleteInstance(const Model::DeleteInstanceRequest &request)const;
void deleteInstanceAsync(const Model::DeleteInstanceRequest& request, const DeleteInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteInstanceOutcomeCallable deleteInstanceCallable(const Model::DeleteInstanceRequest& request) const;
DeleteLogstashOutcome deleteLogstash(const Model::DeleteLogstashRequest &request)const;
void deleteLogstashAsync(const Model::DeleteLogstashRequest& request, const DeleteLogstashAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteLogstashOutcomeCallable deleteLogstashCallable(const Model::DeleteLogstashRequest& request) const;
DeleteProjectOutcome deleteProject(const Model::DeleteProjectRequest &request)const;
void deleteProjectAsync(const Model::DeleteProjectRequest& request, const DeleteProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteProjectOutcomeCallable deleteProjectCallable(const Model::DeleteProjectRequest& request) const;
DeleteSnapshotRepoOutcome deleteSnapshotRepo(const Model::DeleteSnapshotRepoRequest &request)const;
void deleteSnapshotRepoAsync(const Model::DeleteSnapshotRepoRequest& request, const DeleteSnapshotRepoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSnapshotRepoOutcomeCallable deleteSnapshotRepoCallable(const Model::DeleteSnapshotRepoRequest& request) const;
DescribeConnectableClustersOutcome describeConnectableClusters(const Model::DescribeConnectableClustersRequest &request)const;
void describeConnectableClustersAsync(const Model::DescribeConnectableClustersRequest& request, const DescribeConnectableClustersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeConnectableClustersOutcomeCallable describeConnectableClustersCallable(const Model::DescribeConnectableClustersRequest& request) const;
DescribeElasticsearchHealthOutcome describeElasticsearchHealth(const Model::DescribeElasticsearchHealthRequest &request)const;
void describeElasticsearchHealthAsync(const Model::DescribeElasticsearchHealthRequest& request, const DescribeElasticsearchHealthAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeElasticsearchHealthOutcomeCallable describeElasticsearchHealthCallable(const Model::DescribeElasticsearchHealthRequest& request) const;
@@ -319,6 +486,15 @@ namespace AlibabaCloud
DescribeKibanaSettingsOutcome describeKibanaSettings(const Model::DescribeKibanaSettingsRequest &request)const;
void describeKibanaSettingsAsync(const Model::DescribeKibanaSettingsRequest& request, const DescribeKibanaSettingsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeKibanaSettingsOutcomeCallable describeKibanaSettingsCallable(const Model::DescribeKibanaSettingsRequest& request) const;
DescribeLogstashOutcome describeLogstash(const Model::DescribeLogstashRequest &request)const;
void describeLogstashAsync(const Model::DescribeLogstashRequest& request, const DescribeLogstashAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeLogstashOutcomeCallable describeLogstashCallable(const Model::DescribeLogstashRequest& request) const;
DescribePipelineManagementConfigOutcome describePipelineManagementConfig(const Model::DescribePipelineManagementConfigRequest &request)const;
void describePipelineManagementConfigAsync(const Model::DescribePipelineManagementConfigRequest& request, const DescribePipelineManagementConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribePipelineManagementConfigOutcomeCallable describePipelineManagementConfigCallable(const Model::DescribePipelineManagementConfigRequest& 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;
GetRegionConfigurationOutcome getRegionConfiguration(const Model::GetRegionConfigurationRequest &request)const;
void getRegionConfigurationAsync(const Model::GetRegionConfigurationRequest& request, const GetRegionConfigurationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetRegionConfigurationOutcomeCallable getRegionConfigurationCallable(const Model::GetRegionConfigurationRequest& request) const;
@@ -331,27 +507,51 @@ namespace AlibabaCloud
InstallKibanaSystemPluginOutcome installKibanaSystemPlugin(const Model::InstallKibanaSystemPluginRequest &request)const;
void installKibanaSystemPluginAsync(const Model::InstallKibanaSystemPluginRequest& request, const InstallKibanaSystemPluginAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
InstallKibanaSystemPluginOutcomeCallable installKibanaSystemPluginCallable(const Model::InstallKibanaSystemPluginRequest& request) const;
InstallLogstashSystemPluginOutcome installLogstashSystemPlugin(const Model::InstallLogstashSystemPluginRequest &request)const;
void installLogstashSystemPluginAsync(const Model::InstallLogstashSystemPluginRequest& request, const InstallLogstashSystemPluginAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
InstallLogstashSystemPluginOutcomeCallable installLogstashSystemPluginCallable(const Model::InstallLogstashSystemPluginRequest& request) const;
InstallSystemPluginOutcome installSystemPlugin(const Model::InstallSystemPluginRequest &request)const;
void installSystemPluginAsync(const Model::InstallSystemPluginRequest& request, const InstallSystemPluginAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
InstallSystemPluginOutcomeCallable installSystemPluginCallable(const Model::InstallSystemPluginRequest& request) const;
InstallUserPluginsOutcome installUserPlugins(const Model::InstallUserPluginsRequest &request)const;
void installUserPluginsAsync(const Model::InstallUserPluginsRequest& request, const InstallUserPluginsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
InstallUserPluginsOutcomeCallable installUserPluginsCallable(const Model::InstallUserPluginsRequest& request) const;
InterruptElasticsearchTaskOutcome interruptElasticsearchTask(const Model::InterruptElasticsearchTaskRequest &request)const;
void interruptElasticsearchTaskAsync(const Model::InterruptElasticsearchTaskRequest& request, const InterruptElasticsearchTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
InterruptElasticsearchTaskOutcomeCallable interruptElasticsearchTaskCallable(const Model::InterruptElasticsearchTaskRequest& request) const;
InterruptLogstashTaskOutcome interruptLogstashTask(const Model::InterruptLogstashTaskRequest &request)const;
void interruptLogstashTaskAsync(const Model::InterruptLogstashTaskRequest& request, const InterruptLogstashTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
InterruptLogstashTaskOutcomeCallable interruptLogstashTaskCallable(const Model::InterruptLogstashTaskRequest& request) const;
ListAllNodeOutcome listAllNode(const Model::ListAllNodeRequest &request)const;
void listAllNodeAsync(const Model::ListAllNodeRequest& request, const ListAllNodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAllNodeOutcomeCallable listAllNodeCallable(const Model::ListAllNodeRequest& request) const;
ListAlternativeSnapshotReposOutcome listAlternativeSnapshotRepos(const Model::ListAlternativeSnapshotReposRequest &request)const;
void listAlternativeSnapshotReposAsync(const Model::ListAlternativeSnapshotReposRequest& request, const ListAlternativeSnapshotReposAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAlternativeSnapshotReposOutcomeCallable listAlternativeSnapshotReposCallable(const Model::ListAlternativeSnapshotReposRequest& request) const;
ListInstanceOutcome listInstance(const Model::ListInstanceRequest &request)const;
void listInstanceAsync(const Model::ListInstanceRequest& request, const ListInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListInstanceOutcomeCallable listInstanceCallable(const Model::ListInstanceRequest& request) const;
ListKibanaPluginsOutcome listKibanaPlugins(const Model::ListKibanaPluginsRequest &request)const;
void listKibanaPluginsAsync(const Model::ListKibanaPluginsRequest& request, const ListKibanaPluginsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListKibanaPluginsOutcomeCallable listKibanaPluginsCallable(const Model::ListKibanaPluginsRequest& request) const;
ListLogstashOutcome listLogstash(const Model::ListLogstashRequest &request)const;
void listLogstashAsync(const Model::ListLogstashRequest& request, const ListLogstashAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListLogstashOutcomeCallable listLogstashCallable(const Model::ListLogstashRequest& request) const;
ListLogstashLogOutcome listLogstashLog(const Model::ListLogstashLogRequest &request)const;
void listLogstashLogAsync(const Model::ListLogstashLogRequest& request, const ListLogstashLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListLogstashLogOutcomeCallable listLogstashLogCallable(const Model::ListLogstashLogRequest& request) const;
ListLogstashPluginsOutcome listLogstashPlugins(const Model::ListLogstashPluginsRequest &request)const;
void listLogstashPluginsAsync(const Model::ListLogstashPluginsRequest& request, const ListLogstashPluginsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListLogstashPluginsOutcomeCallable listLogstashPluginsCallable(const Model::ListLogstashPluginsRequest& request) const;
ListPluginsOutcome listPlugins(const Model::ListPluginsRequest &request)const;
void listPluginsAsync(const Model::ListPluginsRequest& request, const ListPluginsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPluginsOutcomeCallable listPluginsCallable(const Model::ListPluginsRequest& request) const;
ListSearchLogOutcome listSearchLog(const Model::ListSearchLogRequest &request)const;
void listSearchLogAsync(const Model::ListSearchLogRequest& request, const ListSearchLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSearchLogOutcomeCallable listSearchLogCallable(const Model::ListSearchLogRequest& request) const;
ListSnapshotReposByInstanceIdOutcome listSnapshotReposByInstanceId(const Model::ListSnapshotReposByInstanceIdRequest &request)const;
void listSnapshotReposByInstanceIdAsync(const Model::ListSnapshotReposByInstanceIdRequest& request, const ListSnapshotReposByInstanceIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSnapshotReposByInstanceIdOutcomeCallable listSnapshotReposByInstanceIdCallable(const Model::ListSnapshotReposByInstanceIdRequest& request) const;
MoveResourceGroupOutcome moveResourceGroup(const Model::MoveResourceGroupRequest &request)const;
void moveResourceGroupAsync(const Model::MoveResourceGroupRequest& request, const MoveResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
MoveResourceGroupOutcomeCallable moveResourceGroupCallable(const Model::MoveResourceGroupRequest& request) const;
@@ -361,6 +561,15 @@ namespace AlibabaCloud
RestartInstanceOutcome restartInstance(const Model::RestartInstanceRequest &request)const;
void restartInstanceAsync(const Model::RestartInstanceRequest& request, const RestartInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RestartInstanceOutcomeCallable restartInstanceCallable(const Model::RestartInstanceRequest& request) const;
RestartLogstashOutcome restartLogstash(const Model::RestartLogstashRequest &request)const;
void restartLogstashAsync(const Model::RestartLogstashRequest& request, const RestartLogstashAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RestartLogstashOutcomeCallable restartLogstashCallable(const Model::RestartLogstashRequest& request) const;
ResumeElasticsearchTaskOutcome resumeElasticsearchTask(const Model::ResumeElasticsearchTaskRequest &request)const;
void resumeElasticsearchTaskAsync(const Model::ResumeElasticsearchTaskRequest& request, const ResumeElasticsearchTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResumeElasticsearchTaskOutcomeCallable resumeElasticsearchTaskCallable(const Model::ResumeElasticsearchTaskRequest& request) const;
ResumeLogstashTaskOutcome resumeLogstashTask(const Model::ResumeLogstashTaskRequest &request)const;
void resumeLogstashTaskAsync(const Model::ResumeLogstashTaskRequest& request, const ResumeLogstashTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResumeLogstashTaskOutcomeCallable resumeLogstashTaskCallable(const Model::ResumeLogstashTaskRequest& request) const;
RollbackInstanceOutcome rollbackInstance(const Model::RollbackInstanceRequest &request)const;
void rollbackInstanceAsync(const Model::RollbackInstanceRequest& request, const RollbackInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RollbackInstanceOutcomeCallable rollbackInstanceCallable(const Model::RollbackInstanceRequest& request) const;
@@ -376,6 +585,9 @@ namespace AlibabaCloud
UninstallKibanaPluginOutcome uninstallKibanaPlugin(const Model::UninstallKibanaPluginRequest &request)const;
void uninstallKibanaPluginAsync(const Model::UninstallKibanaPluginRequest& request, const UninstallKibanaPluginAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UninstallKibanaPluginOutcomeCallable uninstallKibanaPluginCallable(const Model::UninstallKibanaPluginRequest& request) const;
UninstallLogstashPluginOutcome uninstallLogstashPlugin(const Model::UninstallLogstashPluginRequest &request)const;
void uninstallLogstashPluginAsync(const Model::UninstallLogstashPluginRequest& request, const UninstallLogstashPluginAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UninstallLogstashPluginOutcomeCallable uninstallLogstashPluginCallable(const Model::UninstallLogstashPluginRequest& request) const;
UninstallPluginOutcome uninstallPlugin(const Model::UninstallPluginRequest &request)const;
void uninstallPluginAsync(const Model::UninstallPluginRequest& request, const UninstallPluginAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UninstallPluginOutcomeCallable uninstallPluginCallable(const Model::UninstallPluginRequest& request) const;
@@ -412,6 +624,18 @@ namespace AlibabaCloud
UpdateKibanaWhiteIpsOutcome updateKibanaWhiteIps(const Model::UpdateKibanaWhiteIpsRequest &request)const;
void updateKibanaWhiteIpsAsync(const Model::UpdateKibanaWhiteIpsRequest& request, const UpdateKibanaWhiteIpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateKibanaWhiteIpsOutcomeCallable updateKibanaWhiteIpsCallable(const Model::UpdateKibanaWhiteIpsRequest& request) const;
UpdateLogstashOutcome updateLogstash(const Model::UpdateLogstashRequest &request)const;
void updateLogstashAsync(const Model::UpdateLogstashRequest& request, const UpdateLogstashAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateLogstashOutcomeCallable updateLogstashCallable(const Model::UpdateLogstashRequest& request) const;
UpdateLogstashDescriptionOutcome updateLogstashDescription(const Model::UpdateLogstashDescriptionRequest &request)const;
void updateLogstashDescriptionAsync(const Model::UpdateLogstashDescriptionRequest& request, const UpdateLogstashDescriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateLogstashDescriptionOutcomeCallable updateLogstashDescriptionCallable(const Model::UpdateLogstashDescriptionRequest& request) const;
UpdateLogstashSettingsOutcome updateLogstashSettings(const Model::UpdateLogstashSettingsRequest &request)const;
void updateLogstashSettingsAsync(const Model::UpdateLogstashSettingsRequest& request, const UpdateLogstashSettingsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateLogstashSettingsOutcomeCallable updateLogstashSettingsCallable(const Model::UpdateLogstashSettingsRequest& request) const;
UpdatePipelineManagementConfigOutcome updatePipelineManagementConfig(const Model::UpdatePipelineManagementConfigRequest &request)const;
void updatePipelineManagementConfigAsync(const Model::UpdatePipelineManagementConfigRequest& request, const UpdatePipelineManagementConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdatePipelineManagementConfigOutcomeCallable updatePipelineManagementConfigCallable(const Model::UpdatePipelineManagementConfigRequest& request) const;
UpdatePrivateNetworkWhiteIpsOutcome updatePrivateNetworkWhiteIps(const Model::UpdatePrivateNetworkWhiteIpsRequest &request)const;
void updatePrivateNetworkWhiteIpsAsync(const Model::UpdatePrivateNetworkWhiteIpsRequest& request, const UpdatePrivateNetworkWhiteIpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdatePrivateNetworkWhiteIpsOutcomeCallable updatePrivateNetworkWhiteIpsCallable(const Model::UpdatePrivateNetworkWhiteIpsRequest& request) const;

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_ELASTICSEARCH_MODEL_ADDCONNECTABLECLUSTERREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_ADDCONNECTABLECLUSTERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT AddConnectableClusterRequest : public RoaServiceRequest
{
public:
AddConnectableClusterRequest();
~AddConnectableClusterRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
private:
std::string instanceId_;
std::string clientToken_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_ADDCONNECTABLECLUSTERREQUEST_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_ELASTICSEARCH_MODEL_ADDCONNECTABLECLUSTERRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_ADDCONNECTABLECLUSTERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT AddConnectableClusterResult : public ServiceResult
{
public:
AddConnectableClusterResult();
explicit AddConnectableClusterResult(const std::string &payload);
~AddConnectableClusterResult();
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
bool result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_ADDCONNECTABLECLUSTERRESULT_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_ELASTICSEARCH_MODEL_ADDSNAPSHOTREPOREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_ADDSNAPSHOTREPOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT AddSnapshotRepoRequest : public RoaServiceRequest
{
public:
AddSnapshotRepoRequest();
~AddSnapshotRepoRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_ADDSNAPSHOTREPOREQUEST_H_

View File

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

View File

@@ -37,15 +37,11 @@ namespace AlibabaCloud
CancelTaskResult();
explicit CancelTaskResult(const std::string &payload);
~CancelTaskResult();
std::string getMessage()const;
std::string getCode()const;
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
bool result_;
};

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_ELASTICSEARCH_MODEL_CONVERTLOGSTASHPAYTYPEREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_CONVERTLOGSTASHPAYTYPEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT ConvertLogstashPayTypeRequest : public RoaServiceRequest
{
public:
ConvertLogstashPayTypeRequest();
~ConvertLogstashPayTypeRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
private:
std::string instanceId_;
std::string clientToken_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_CONVERTLOGSTASHPAYTYPEREQUEST_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_ELASTICSEARCH_MODEL_CONVERTLOGSTASHPAYTYPERESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_CONVERTLOGSTASHPAYTYPERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT ConvertLogstashPayTypeResult : public ServiceResult
{
public:
ConvertLogstashPayTypeResult();
explicit ConvertLogstashPayTypeResult(const std::string &payload);
~ConvertLogstashPayTypeResult();
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
bool result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_CONVERTLOGSTASHPAYTYPERESULT_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_ELASTICSEARCH_MODEL_CONVERTPAYTYPEREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_CONVERTPAYTYPEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT ConvertPayTypeRequest : public RoaServiceRequest
{
public:
ConvertPayTypeRequest();
~ConvertPayTypeRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
private:
std::string instanceId_;
std::string clientToken_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_CONVERTPAYTYPEREQUEST_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_ELASTICSEARCH_MODEL_CONVERTPAYTYPERESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_CONVERTPAYTYPERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT ConvertPayTypeResult : public ServiceResult
{
public:
ConvertPayTypeResult();
explicit ConvertPayTypeResult(const std::string &payload);
~ConvertPayTypeResult();
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
bool result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_CONVERTPAYTYPERESULT_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_ELASTICSEARCH_MODEL_CREATELOGSTASHREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_CREATELOGSTASHREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT CreateLogstashRequest : public RoaServiceRequest
{
public:
CreateLogstashRequest();
~CreateLogstashRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
private:
std::string clientToken_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_CREATELOGSTASHREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ELASTICSEARCH_MODEL_CREATELOGSTASHRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_CREATELOGSTASHRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT CreateLogstashResult : public ServiceResult
{
public:
struct Result
{
std::string instanceId;
};
CreateLogstashResult();
explicit CreateLogstashResult(const std::string &payload);
~CreateLogstashResult();
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_CREATELOGSTASHRESULT_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_ELASTICSEARCH_MODEL_DELETECONNECTEDCLUSTERREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DELETECONNECTEDCLUSTERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT DeleteConnectedClusterRequest : public RoaServiceRequest
{
public:
DeleteConnectedClusterRequest();
~DeleteConnectedClusterRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getConnectedInstanceId()const;
void setConnectedInstanceId(const std::string& connectedInstanceId);
private:
std::string instanceId_;
std::string clientToken_;
std::string connectedInstanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_DELETECONNECTEDCLUSTERREQUEST_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_ELASTICSEARCH_MODEL_DELETECONNECTEDCLUSTERRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DELETECONNECTEDCLUSTERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT DeleteConnectedClusterResult : public ServiceResult
{
public:
DeleteConnectedClusterResult();
explicit DeleteConnectedClusterResult(const std::string &payload);
~DeleteConnectedClusterResult();
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
bool result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_DELETECONNECTEDCLUSTERRESULT_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_ELASTICSEARCH_MODEL_DELETELOGSTASHREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DELETELOGSTASHREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT DeleteLogstashRequest : public RoaServiceRequest
{
public:
DeleteLogstashRequest();
~DeleteLogstashRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
private:
std::string instanceId_;
std::string clientToken_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_DELETELOGSTASHREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ELASTICSEARCH_MODEL_DELETELOGSTASHRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DELETELOGSTASHRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT DeleteLogstashResult : public ServiceResult
{
public:
DeleteLogstashResult();
explicit DeleteLogstashResult(const std::string &payload);
~DeleteLogstashResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_DELETELOGSTASHRESULT_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_ELASTICSEARCH_MODEL_DELETESNAPSHOTREPOREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DELETESNAPSHOTREPOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT DeleteSnapshotRepoRequest : public RoaServiceRequest
{
public:
DeleteSnapshotRepoRequest();
~DeleteSnapshotRepoRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getRepoPath()const;
void setRepoPath(const std::string& repoPath);
private:
std::string instanceId_;
std::string repoPath_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_DELETESNAPSHOTREPOREQUEST_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_ELASTICSEARCH_MODEL_DELETESNAPSHOTREPORESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DELETESNAPSHOTREPORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT DeleteSnapshotRepoResult : public ServiceResult
{
public:
DeleteSnapshotRepoResult();
explicit DeleteSnapshotRepoResult(const std::string &payload);
~DeleteSnapshotRepoResult();
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
bool result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_DELETESNAPSHOTREPORESULT_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_ELASTICSEARCH_MODEL_DESCRIBECONNECTABLECLUSTERSREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBECONNECTABLECLUSTERSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT DescribeConnectableClustersRequest : public RoaServiceRequest
{
public:
DescribeConnectableClustersRequest();
~DescribeConnectableClustersRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
bool getAlreadySetItems()const;
void setAlreadySetItems(bool alreadySetItems);
private:
std::string instanceId_;
bool alreadySetItems_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBECONNECTABLECLUSTERSREQUEST_H_

View File

@@ -0,0 +1,56 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ELASTICSEARCH_MODEL_DESCRIBECONNECTABLECLUSTERSRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBECONNECTABLECLUSTERSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT DescribeConnectableClustersResult : public ServiceResult
{
public:
struct ConnectableClustersInfo
{
std::string instances;
std::string networkType;
};
DescribeConnectableClustersResult();
explicit DescribeConnectableClustersResult(const std::string &payload);
~DescribeConnectableClustersResult();
std::vector<ConnectableClustersInfo> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ConnectableClustersInfo> result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBECONNECTABLECLUSTERSRESULT_H_

View File

@@ -37,6 +37,7 @@ namespace AlibabaCloud
struct NodeSpec
{
std::string diskType;
bool diskEncryption;
std::string spec;
int disk;
};
@@ -71,10 +72,15 @@ namespace AlibabaCloud
struct WarmNodeConfiguration
{
std::string diskType;
bool diskEncryption;
int amount;
std::string spec;
int disk;
};
struct AdvancedSetting
{
std::string gcName;
};
struct DictListItem
{
std::string type;
@@ -94,6 +100,13 @@ namespace AlibabaCloud
std::string status;
std::string zoneId;
};
struct Dict
{
std::string type;
std::string sourceType;
std::string name;
long fileSize;
};
MasterConfiguration masterConfiguration;
std::string description;
bool dedicateMaster;
@@ -109,10 +122,12 @@ namespace AlibabaCloud
bool haveKibana;
std::string status;
std::vector<std::string> publicIpWhitelist;
std::vector<Dict> aliwsDicts;
std::string instanceId;
int kibanaPort;
bool enableKibanaPublicNetwork;
NetworkConfig networkConfig;
AdvancedSetting advancedSetting;
int nodeAmount;
std::string esVersion;
std::string updatedAt;

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_ELASTICSEARCH_MODEL_DESCRIBELOGSTASHREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBELOGSTASHREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT DescribeLogstashRequest : public RoaServiceRequest
{
public:
DescribeLogstashRequest();
~DescribeLogstashRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBELOGSTASHREQUEST_H_

View File

@@ -0,0 +1,85 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ELASTICSEARCH_MODEL_DESCRIBELOGSTASHRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBELOGSTASHRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT DescribeLogstashResult : public ServiceResult
{
public:
struct Result
{
struct NodeSpec
{
std::string diskType;
std::string spec;
int disk;
};
struct NetworkConfig
{
std::string type;
std::string vpcId;
std::string vswitchId;
std::string vsArea;
};
struct Endpoint
{
std::string port;
std::string host;
};
std::string status;
std::string description;
std::string instanceId;
std::string config;
std::string createdAt;
NetworkConfig networkConfig;
int nodeAmount;
std::string updatedAt;
std::string version;
NodeSpec nodeSpec;
std::string paymentType;
std::string vpcInstanceId;
std::vector<Endpoint> endpointList;
};
DescribeLogstashResult();
explicit DescribeLogstashResult(const std::string &payload);
~DescribeLogstashResult();
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBELOGSTASHRESULT_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_ELASTICSEARCH_MODEL_DESCRIBEPIPELINEMANAGEMENTCONFIGREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBEPIPELINEMANAGEMENTCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT DescribePipelineManagementConfigRequest : public RoaServiceRequest
{
public:
DescribePipelineManagementConfigRequest();
~DescribePipelineManagementConfigRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
private:
std::string instanceId_;
std::string clientToken_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBEPIPELINEMANAGEMENTCONFIGREQUEST_H_

View File

@@ -0,0 +1,58 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ELASTICSEARCH_MODEL_DESCRIBEPIPELINEMANAGEMENTCONFIGRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBEPIPELINEMANAGEMENTCONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT DescribePipelineManagementConfigResult : public ServiceResult
{
public:
struct Result
{
std::string endpoints;
std::string pipelineManagementType;
std::string userName;
std::vector<std::string> pipelineIds;
};
DescribePipelineManagementConfigResult();
explicit DescribePipelineManagementConfigResult(const std::string &payload);
~DescribePipelineManagementConfigResult();
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBEPIPELINEMANAGEMENTCONFIGRESULT_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_ELASTICSEARCH_MODEL_DESCRIBEREGIONSREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBEREGIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT DescribeRegionsRequest : public RoaServiceRequest
{
public:
DescribeRegionsRequest();
~DescribeRegionsRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBEREGIONSREQUEST_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_ELASTICSEARCH_MODEL_DESCRIBEREGIONSRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBEREGIONSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT DescribeRegionsResult : public ServiceResult
{
public:
struct RegionInfo
{
std::string status;
std::string regionId;
std::string consoleEndpoint;
std::string regionEndpoint;
std::string localName;
};
DescribeRegionsResult();
explicit DescribeRegionsResult(const std::string &payload);
~DescribeRegionsResult();
std::vector<RegionInfo> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::vector<RegionInfo> result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBEREGIONSRESULT_H_

View File

@@ -109,11 +109,22 @@ namespace AlibabaCloud
int scaleLimit;
int maxSize;
};
struct CategoryEntity
{
struct VersionEntity
{
std::string value;
std::string key;
};
std::vector<CategoryEntity::VersionEntity> supportVersionList;
std::string instanceCategory;
};
std::vector<DataDiskListItem> dataDiskList;
std::vector<NodeSpecListItem> nodeSpecList;
ClientNodeAmountRange clientNodeAmountRange;
std::vector<Disk> masterDiskList;
Node node;
std::vector<CategoryEntity> supportVersions;
WarmNodeProperties warmNodeProperties;
std::vector<Disk> clientNodeDiskList;
std::vector<EsVersionsLatestListItem> esVersionsLatestList;

View File

@@ -42,15 +42,11 @@ namespace AlibabaCloud
GetSuggestShrinkableNodesResult();
explicit GetSuggestShrinkableNodesResult(const std::string &payload);
~GetSuggestShrinkableNodesResult();
std::string getMessage()const;
std::string getCode()const;
std::vector<ResultItem> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
std::vector<ResultItem> result_;
};

View File

@@ -42,15 +42,11 @@ namespace AlibabaCloud
GetTransferableNodesResult();
explicit GetTransferableNodesResult(const std::string &payload);
~GetTransferableNodesResult();
std::string getMessage()const;
std::string getCode()const;
std::vector<ResultItem> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
std::vector<ResultItem> result_;
};

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_ELASTICSEARCH_MODEL_INSTALLLOGSTASHSYSTEMPLUGINREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_INSTALLLOGSTASHSYSTEMPLUGINREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT InstallLogstashSystemPluginRequest : public RoaServiceRequest
{
public:
InstallLogstashSystemPluginRequest();
~InstallLogstashSystemPluginRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
private:
std::string instanceId_;
std::string clientToken_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_INSTALLLOGSTASHSYSTEMPLUGINREQUEST_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_ELASTICSEARCH_MODEL_INSTALLLOGSTASHSYSTEMPLUGINRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_INSTALLLOGSTASHSYSTEMPLUGINRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT InstallLogstashSystemPluginResult : public ServiceResult
{
public:
InstallLogstashSystemPluginResult();
explicit InstallLogstashSystemPluginResult(const std::string &payload);
~InstallLogstashSystemPluginResult();
std::vector<std::string> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_INSTALLLOGSTASHSYSTEMPLUGINRESULT_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_ELASTICSEARCH_MODEL_INTERRUPTELASTICSEARCHTASKREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_INTERRUPTELASTICSEARCHTASKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT InterruptElasticsearchTaskRequest : public RoaServiceRequest
{
public:
InterruptElasticsearchTaskRequest();
~InterruptElasticsearchTaskRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
private:
std::string instanceId_;
std::string clientToken_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_INTERRUPTELASTICSEARCHTASKREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ELASTICSEARCH_MODEL_INTERRUPTELASTICSEARCHTASKRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_INTERRUPTELASTICSEARCHTASKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT InterruptElasticsearchTaskResult : public ServiceResult
{
public:
InterruptElasticsearchTaskResult();
explicit InterruptElasticsearchTaskResult(const std::string &payload);
~InterruptElasticsearchTaskResult();
std::string getMessage()const;
std::string getCode()const;
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
bool result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_INTERRUPTELASTICSEARCHTASKRESULT_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_ELASTICSEARCH_MODEL_INTERRUPTLOGSTASHTASKREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_INTERRUPTLOGSTASHTASKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT InterruptLogstashTaskRequest : public RoaServiceRequest
{
public:
InterruptLogstashTaskRequest();
~InterruptLogstashTaskRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
private:
std::string instanceId_;
std::string clientToken_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_INTERRUPTLOGSTASHTASKREQUEST_H_

View File

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

View File

@@ -48,15 +48,11 @@ namespace AlibabaCloud
ListAllNodeResult();
explicit ListAllNodeResult(const std::string &payload);
~ListAllNodeResult();
std::string getMessage()const;
std::string getCode()const;
std::vector<ResultItem> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
std::vector<ResultItem> result_;
};

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_ELASTICSEARCH_MODEL_LISTALTERNATIVESNAPSHOTREPOSREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTALTERNATIVESNAPSHOTREPOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT ListAlternativeSnapshotReposRequest : public RoaServiceRequest
{
public:
ListAlternativeSnapshotReposRequest();
~ListAlternativeSnapshotReposRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
bool getAlreadySetItems()const;
void setAlreadySetItems(bool alreadySetItems);
private:
std::string instanceId_;
bool alreadySetItems_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTALTERNATIVESNAPSHOTREPOSREQUEST_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_ELASTICSEARCH_MODEL_LISTALTERNATIVESNAPSHOTREPOSRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTALTERNATIVESNAPSHOTREPOSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT ListAlternativeSnapshotReposResult : public ServiceResult
{
public:
struct Repo
{
std::string repoPath;
std::string snapWarehouse;
std::string instanceId;
};
ListAlternativeSnapshotReposResult();
explicit ListAlternativeSnapshotReposResult(const std::string &payload);
~ListAlternativeSnapshotReposResult();
std::vector<Repo> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Repo> result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTALTERNATIVESNAPSHOTREPOSRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTLOGSTASHLOGREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTLOGSTASHLOGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT ListLogstashLogRequest : public RoaServiceRequest
{
public:
ListLogstashLogRequest();
~ListLogstashLogRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
int getSize()const;
void setSize(int size);
std::string getQuery()const;
void setQuery(const std::string& query);
long getEndTime()const;
void setEndTime(long endTime);
long getBeginTime()const;
void setBeginTime(long beginTime);
int getPage()const;
void setPage(int page);
std::string getType()const;
void setType(const std::string& type);
private:
std::string instanceId_;
int size_;
std::string query_;
long endTime_;
long beginTime_;
int page_;
std::string type_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTLOGSTASHLOGREQUEST_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_ELASTICSEARCH_MODEL_LISTLOGSTASHLOGRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTLOGSTASHLOGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT ListLogstashLogResult : public ServiceResult
{
public:
struct ResultItem
{
std::string instanceId;
std::string content;
std::string host;
std::string level;
long timestamp;
};
ListLogstashLogResult();
explicit ListLogstashLogResult(const std::string &payload);
~ListLogstashLogResult();
std::vector<ResultItem> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ResultItem> result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTLOGSTASHLOGRESULT_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_ELASTICSEARCH_MODEL_LISTLOGSTASHPLUGINSREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTLOGSTASHPLUGINSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT ListLogstashPluginsRequest : public RoaServiceRequest
{
public:
ListLogstashPluginsRequest();
~ListLogstashPluginsRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
int getSize()const;
void setSize(int size);
std::string getName()const;
void setName(const std::string& name);
std::string getPage()const;
void setPage(const std::string& page);
std::string getSource()const;
void setSource(const std::string& source);
private:
std::string instanceId_;
int size_;
std::string name_;
std::string page_;
std::string source_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTLOGSTASHPLUGINSREQUEST_H_

View File

@@ -0,0 +1,58 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ELASTICSEARCH_MODEL_LISTLOGSTASHPLUGINSRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTLOGSTASHPLUGINSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT ListLogstashPluginsResult : public ServiceResult
{
public:
struct ResultItem
{
std::string description;
std::string state;
std::string source;
std::string name;
};
ListLogstashPluginsResult();
explicit ListLogstashPluginsResult(const std::string &payload);
~ListLogstashPluginsResult();
std::vector<ResultItem> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ResultItem> result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTLOGSTASHPLUGINSRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTLOGSTASHREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTLOGSTASHREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT ListLogstashRequest : public RoaServiceRequest
{
public:
ListLogstashRequest();
~ListLogstashRequest();
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
int getSize()const;
void setSize(int size);
std::string getDescription()const;
void setDescription(const std::string& description);
int getPage()const;
void setPage(int page);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getVersion()const;
void setVersion(const std::string& version);
private:
std::string resourceGroupId_;
std::string instanceId_;
int size_;
std::string description_;
int page_;
std::string ownerId_;
std::string version_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTLOGSTASHREQUEST_H_

View File

@@ -0,0 +1,77 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTLOGSTASHRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTLOGSTASHRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT ListLogstashResult : public ServiceResult
{
public:
struct Instance
{
struct NodeSpec
{
std::string diskType;
std::string spec;
int disk;
};
struct NetworkConfig
{
std::string type;
std::string vpcId;
std::string vswitchId;
std::string vsArea;
};
std::string status;
std::string description;
std::string instanceId;
std::string version;
NodeSpec nodeSpec;
std::string createdAt;
NetworkConfig networkConfig;
std::string paymentType;
int nodeAmount;
std::string updatedAt;
};
ListLogstashResult();
explicit ListLogstashResult(const std::string &payload);
~ListLogstashResult();
std::vector<Instance> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Instance> result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTLOGSTASHRESULT_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_ELASTICSEARCH_MODEL_LISTSNAPSHOTREPOSBYINSTANCEIDREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTSNAPSHOTREPOSBYINSTANCEIDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT ListSnapshotReposByInstanceIdRequest : public RoaServiceRequest
{
public:
ListSnapshotReposByInstanceIdRequest();
~ListSnapshotReposByInstanceIdRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTSNAPSHOTREPOSBYINSTANCEIDREQUEST_H_

View File

@@ -0,0 +1,58 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ELASTICSEARCH_MODEL_LISTSNAPSHOTREPOSBYINSTANCEIDRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTSNAPSHOTREPOSBYINSTANCEIDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT ListSnapshotReposByInstanceIdResult : public ServiceResult
{
public:
struct Repo
{
std::string status;
std::string repoPath;
std::string snapWarehouse;
std::string instanceId;
};
ListSnapshotReposByInstanceIdResult();
explicit ListSnapshotReposByInstanceIdResult(const std::string &payload);
~ListSnapshotReposByInstanceIdResult();
std::vector<Repo> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Repo> result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTSNAPSHOTREPOSBYINSTANCEIDRESULT_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_ELASTICSEARCH_MODEL_RESTARTLOGSTASHREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_RESTARTLOGSTASHREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT RestartLogstashRequest : public RoaServiceRequest
{
public:
RestartLogstashRequest();
~RestartLogstashRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
bool getForce()const;
void setForce(bool force);
private:
std::string instanceId_;
std::string clientToken_;
bool force_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_RESTARTLOGSTASHREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ELASTICSEARCH_MODEL_RESTARTLOGSTASHRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_RESTARTLOGSTASHRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT RestartLogstashResult : public ServiceResult
{
public:
RestartLogstashResult();
explicit RestartLogstashResult(const std::string &payload);
~RestartLogstashResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_RESTARTLOGSTASHRESULT_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_ELASTICSEARCH_MODEL_RESUMEELASTICSEARCHTASKREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_RESUMEELASTICSEARCHTASKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT ResumeElasticsearchTaskRequest : public RoaServiceRequest
{
public:
ResumeElasticsearchTaskRequest();
~ResumeElasticsearchTaskRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
private:
std::string instanceId_;
std::string clientToken_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_RESUMEELASTICSEARCHTASKREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ELASTICSEARCH_MODEL_RESUMEELASTICSEARCHTASKRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_RESUMEELASTICSEARCHTASKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT ResumeElasticsearchTaskResult : public ServiceResult
{
public:
ResumeElasticsearchTaskResult();
explicit ResumeElasticsearchTaskResult(const std::string &payload);
~ResumeElasticsearchTaskResult();
std::string getMessage()const;
std::string getCode()const;
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
bool result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_RESUMEELASTICSEARCHTASKRESULT_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_ELASTICSEARCH_MODEL_RESUMELOGSTASHTASKREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_RESUMELOGSTASHTASKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT ResumeLogstashTaskRequest : public RoaServiceRequest
{
public:
ResumeLogstashTaskRequest();
~ResumeLogstashTaskRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
private:
std::string instanceId_;
std::string clientToken_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_RESUMELOGSTASHTASKREQUEST_H_

View File

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

View File

@@ -37,15 +37,11 @@ namespace AlibabaCloud
ShrinkNodeResult();
explicit ShrinkNodeResult(const std::string &payload);
~ShrinkNodeResult();
std::string getMessage()const;
std::string getCode()const;
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
bool result_;
};

View File

@@ -37,15 +37,11 @@ namespace AlibabaCloud
TransferNodeResult();
explicit TransferNodeResult(const std::string &payload);
~TransferNodeResult();
std::string getMessage()const;
std::string getCode()const;
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
bool result_;
};

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_ELASTICSEARCH_MODEL_UNINSTALLLOGSTASHPLUGINREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UNINSTALLLOGSTASHPLUGINREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT UninstallLogstashPluginRequest : public RoaServiceRequest
{
public:
UninstallLogstashPluginRequest();
~UninstallLogstashPluginRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
private:
std::string instanceId_;
std::string clientToken_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UNINSTALLLOGSTASHPLUGINREQUEST_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_ELASTICSEARCH_MODEL_UNINSTALLLOGSTASHPLUGINRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UNINSTALLLOGSTASHPLUGINRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT UninstallLogstashPluginResult : public ServiceResult
{
public:
UninstallLogstashPluginResult();
explicit UninstallLogstashPluginResult(const std::string &payload);
~UninstallLogstashPluginResult();
std::vector<std::string> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UNINSTALLLOGSTASHPLUGINRESULT_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_ELASTICSEARCH_MODEL_UPDATELOGSTASHDESCRIPTIONREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATELOGSTASHDESCRIPTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT UpdateLogstashDescriptionRequest : public RoaServiceRequest
{
public:
UpdateLogstashDescriptionRequest();
~UpdateLogstashDescriptionRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
private:
std::string instanceId_;
std::string clientToken_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATELOGSTASHDESCRIPTIONREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATELOGSTASHDESCRIPTIONRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATELOGSTASHDESCRIPTIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT UpdateLogstashDescriptionResult : public ServiceResult
{
public:
struct Result
{
std::string description;
};
UpdateLogstashDescriptionResult();
explicit UpdateLogstashDescriptionResult(const std::string &payload);
~UpdateLogstashDescriptionResult();
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATELOGSTASHDESCRIPTIONRESULT_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_ELASTICSEARCH_MODEL_UPDATELOGSTASHREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATELOGSTASHREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT UpdateLogstashRequest : public RoaServiceRequest
{
public:
UpdateLogstashRequest();
~UpdateLogstashRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
private:
std::string instanceId_;
std::string clientToken_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATELOGSTASHREQUEST_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_ELASTICSEARCH_MODEL_UPDATELOGSTASHRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATELOGSTASHRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT UpdateLogstashResult : public ServiceResult
{
public:
UpdateLogstashResult();
explicit UpdateLogstashResult(const std::string &payload);
~UpdateLogstashResult();
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
bool result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATELOGSTASHRESULT_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_ELASTICSEARCH_MODEL_UPDATELOGSTASHSETTINGSREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATELOGSTASHSETTINGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT UpdateLogstashSettingsRequest : public RoaServiceRequest
{
public:
UpdateLogstashSettingsRequest();
~UpdateLogstashSettingsRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
private:
std::string instanceId_;
std::string clientToken_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATELOGSTASHSETTINGSREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATELOGSTASHSETTINGSRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATELOGSTASHSETTINGSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT UpdateLogstashSettingsResult : public ServiceResult
{
public:
UpdateLogstashSettingsResult();
explicit UpdateLogstashSettingsResult(const std::string &payload);
~UpdateLogstashSettingsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATELOGSTASHSETTINGSRESULT_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_ELASTICSEARCH_MODEL_UPDATEPIPELINEMANAGEMENTCONFIGREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEPIPELINEMANAGEMENTCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT UpdatePipelineManagementConfigRequest : public RoaServiceRequest
{
public:
UpdatePipelineManagementConfigRequest();
~UpdatePipelineManagementConfigRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
private:
std::string instanceId_;
std::string clientToken_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEPIPELINEMANAGEMENTCONFIGREQUEST_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_ELASTICSEARCH_MODEL_UPDATEPIPELINEMANAGEMENTCONFIGRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEPIPELINEMANAGEMENTCONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/elasticsearch/ElasticsearchExport.h>
namespace AlibabaCloud
{
namespace Elasticsearch
{
namespace Model
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT UpdatePipelineManagementConfigResult : public ServiceResult
{
public:
UpdatePipelineManagementConfigResult();
explicit UpdatePipelineManagementConfigResult(const std::string &payload);
~UpdatePipelineManagementConfigResult();
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
bool result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEPIPELINEMANAGEMENTCONFIGRESULT_H_

View File

@@ -37,15 +37,11 @@ namespace AlibabaCloud
ValidateShrinkNodesResult();
explicit ValidateShrinkNodesResult(const std::string &payload);
~ValidateShrinkNodesResult();
std::string getMessage()const;
std::string getCode()const;
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
bool result_;
};

View File

@@ -37,15 +37,11 @@ namespace AlibabaCloud
ValidateTransferableNodesResult();
explicit ValidateTransferableNodesResult(const std::string &payload);
~ValidateTransferableNodesResult();
std::string getMessage()const;
std::string getCode()const;
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
bool result_;
};

File diff suppressed because it is too large Load Diff

View File

@@ -20,7 +20,10 @@ using AlibabaCloud::Elasticsearch::Model::ActivateZonesRequest;
ActivateZonesRequest::ActivateZonesRequest() :
RoaServiceRequest("elasticsearch", "2017-06-13")
{}
{
setResourcePath("/openapi/instances/[InstanceId]/actions/recover-zones");
setMethod(HttpRequest::Method::Post);
}
ActivateZonesRequest::~ActivateZonesRequest()
{}

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/elasticsearch/model/AddConnectableClusterRequest.h>
using AlibabaCloud::Elasticsearch::Model::AddConnectableClusterRequest;
AddConnectableClusterRequest::AddConnectableClusterRequest() :
RoaServiceRequest("elasticsearch", "2017-06-13")
{
setResourcePath("/openapi/instances/[InstanceId]/connected-clusters");
setMethod(HttpRequest::Method::Post);
}
AddConnectableClusterRequest::~AddConnectableClusterRequest()
{}
std::string AddConnectableClusterRequest::getInstanceId()const
{
return instanceId_;
}
void AddConnectableClusterRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string AddConnectableClusterRequest::getClientToken()const
{
return clientToken_;
}
void AddConnectableClusterRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
}

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/elasticsearch/model/AddConnectableClusterResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Elasticsearch;
using namespace AlibabaCloud::Elasticsearch::Model;
AddConnectableClusterResult::AddConnectableClusterResult() :
ServiceResult()
{}
AddConnectableClusterResult::AddConnectableClusterResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddConnectableClusterResult::~AddConnectableClusterResult()
{}
void AddConnectableClusterResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Result"].isNull())
result_ = value["Result"].asString() == "true";
}
bool AddConnectableClusterResult::getResult()const
{
return result_;
}

View File

@@ -0,0 +1,41 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/elasticsearch/model/AddSnapshotRepoRequest.h>
using AlibabaCloud::Elasticsearch::Model::AddSnapshotRepoRequest;
AddSnapshotRepoRequest::AddSnapshotRepoRequest() :
RoaServiceRequest("elasticsearch", "2017-06-13")
{
setResourcePath("/openapi/instances/[InstanceId]/snapshot-repos");
setMethod(HttpRequest::Method::Post);
}
AddSnapshotRepoRequest::~AddSnapshotRepoRequest()
{}
std::string AddSnapshotRepoRequest::getInstanceId()const
{
return instanceId_;
}
void AddSnapshotRepoRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}

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.
*/
#include <alibabacloud/elasticsearch/model/AddSnapshotRepoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Elasticsearch;
using namespace AlibabaCloud::Elasticsearch::Model;
AddSnapshotRepoResult::AddSnapshotRepoResult() :
ServiceResult()
{}
AddSnapshotRepoResult::AddSnapshotRepoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddSnapshotRepoResult::~AddSnapshotRepoResult()
{}
void AddSnapshotRepoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Result"].isNull())
result_ = value["Result"].asString() == "true";
}
std::string AddSnapshotRepoResult::getMessage()const
{
return message_;
}
std::string AddSnapshotRepoResult::getCode()const
{
return code_;
}
bool AddSnapshotRepoResult::getResult()const
{
return result_;
}

View File

@@ -20,7 +20,10 @@ using AlibabaCloud::Elasticsearch::Model::CancelTaskRequest;
CancelTaskRequest::CancelTaskRequest() :
RoaServiceRequest("elasticsearch", "2017-06-13")
{}
{
setResourcePath("/openapi/instances/[InstanceId]/actions/cancel-task");
setMethod(HttpRequest::Method::Post);
}
CancelTaskRequest::~CancelTaskRequest()
{}

View File

@@ -39,25 +39,11 @@ void CancelTaskResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Result"].isNull())
result_ = value["Result"].asString() == "true";
}
std::string CancelTaskResult::getMessage()const
{
return message_;
}
std::string CancelTaskResult::getCode()const
{
return code_;
}
bool CancelTaskResult::getResult()const
{
return result_;

View File

@@ -20,7 +20,10 @@ using AlibabaCloud::Elasticsearch::Model::CloseHttpsRequest;
CloseHttpsRequest::CloseHttpsRequest() :
RoaServiceRequest("elasticsearch", "2017-06-13")
{}
{
setResourcePath("/openapi/instances/[InstanceId]/actions/close-https");
setMethod(HttpRequest::Method::Post);
}
CloseHttpsRequest::~CloseHttpsRequest()
{}

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/elasticsearch/model/ConvertLogstashPayTypeRequest.h>
using AlibabaCloud::Elasticsearch::Model::ConvertLogstashPayTypeRequest;
ConvertLogstashPayTypeRequest::ConvertLogstashPayTypeRequest() :
RoaServiceRequest("elasticsearch", "2017-06-13")
{
setResourcePath("/openapi/logstashes/[InstanceId]/convert-pay-type");
setMethod(HttpRequest::Method::Post);
}
ConvertLogstashPayTypeRequest::~ConvertLogstashPayTypeRequest()
{}
std::string ConvertLogstashPayTypeRequest::getInstanceId()const
{
return instanceId_;
}
void ConvertLogstashPayTypeRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string ConvertLogstashPayTypeRequest::getClientToken()const
{
return clientToken_;
}
void ConvertLogstashPayTypeRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
}

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/elasticsearch/model/ConvertLogstashPayTypeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Elasticsearch;
using namespace AlibabaCloud::Elasticsearch::Model;
ConvertLogstashPayTypeResult::ConvertLogstashPayTypeResult() :
ServiceResult()
{}
ConvertLogstashPayTypeResult::ConvertLogstashPayTypeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ConvertLogstashPayTypeResult::~ConvertLogstashPayTypeResult()
{}
void ConvertLogstashPayTypeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Result"].isNull())
result_ = value["Result"].asString() == "true";
}
bool ConvertLogstashPayTypeResult::getResult()const
{
return result_;
}

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/elasticsearch/model/ConvertPayTypeRequest.h>
using AlibabaCloud::Elasticsearch::Model::ConvertPayTypeRequest;
ConvertPayTypeRequest::ConvertPayTypeRequest() :
RoaServiceRequest("elasticsearch", "2017-06-13")
{
setResourcePath("/openapi/instances/[InstanceId]/convert-pay-type");
setMethod(HttpRequest::Method::Post);
}
ConvertPayTypeRequest::~ConvertPayTypeRequest()
{}
std::string ConvertPayTypeRequest::getInstanceId()const
{
return instanceId_;
}
void ConvertPayTypeRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string ConvertPayTypeRequest::getClientToken()const
{
return clientToken_;
}
void ConvertPayTypeRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
}

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/elasticsearch/model/ConvertPayTypeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Elasticsearch;
using namespace AlibabaCloud::Elasticsearch::Model;
ConvertPayTypeResult::ConvertPayTypeResult() :
ServiceResult()
{}
ConvertPayTypeResult::ConvertPayTypeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ConvertPayTypeResult::~ConvertPayTypeResult()
{}
void ConvertPayTypeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Result"].isNull())
result_ = value["Result"].asString() == "true";
}
bool ConvertPayTypeResult::getResult()const
{
return result_;
}

View File

@@ -20,7 +20,10 @@ using AlibabaCloud::Elasticsearch::Model::CreateInstanceRequest;
CreateInstanceRequest::CreateInstanceRequest() :
RoaServiceRequest("elasticsearch", "2017-06-13")
{}
{
setResourcePath("/openapi/instances");
setMethod(HttpRequest::Method::Post);
}
CreateInstanceRequest::~CreateInstanceRequest()
{}

View File

@@ -0,0 +1,41 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/elasticsearch/model/CreateLogstashRequest.h>
using AlibabaCloud::Elasticsearch::Model::CreateLogstashRequest;
CreateLogstashRequest::CreateLogstashRequest() :
RoaServiceRequest("elasticsearch", "2017-06-13")
{
setResourcePath("/openapi/logstashes");
setMethod(HttpRequest::Method::Post);
}
CreateLogstashRequest::~CreateLogstashRequest()
{}
std::string CreateLogstashRequest::getClientToken()const
{
return clientToken_;
}
void CreateLogstashRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
}

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/elasticsearch/model/CreateLogstashResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Elasticsearch;
using namespace AlibabaCloud::Elasticsearch::Model;
CreateLogstashResult::CreateLogstashResult() :
ServiceResult()
{}
CreateLogstashResult::CreateLogstashResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateLogstashResult::~CreateLogstashResult()
{}
void CreateLogstashResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto resultNode = value["Result"];
if(!resultNode["instanceId"].isNull())
result_.instanceId = resultNode["instanceId"].asString();
}
CreateLogstashResult::Result CreateLogstashResult::getResult()const
{
return result_;
}

View File

@@ -20,7 +20,10 @@ using AlibabaCloud::Elasticsearch::Model::CreateProjectRequest;
CreateProjectRequest::CreateProjectRequest() :
RoaServiceRequest("elasticsearch", "2017-06-13")
{}
{
setResourcePath("/openapi/projects");
setMethod(HttpRequest::Method::Post);
}
CreateProjectRequest::~CreateProjectRequest()
{}

View File

@@ -20,7 +20,10 @@ using AlibabaCloud::Elasticsearch::Model::DeactivateZonesRequest;
DeactivateZonesRequest::DeactivateZonesRequest() :
RoaServiceRequest("elasticsearch", "2017-06-13")
{}
{
setResourcePath("/openapi/instances/[InstanceId]/actions/down-zones");
setMethod(HttpRequest::Method::Post);
}
DeactivateZonesRequest::~DeactivateZonesRequest()
{}

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.
*/
#include <alibabacloud/elasticsearch/model/DeleteConnectedClusterRequest.h>
using AlibabaCloud::Elasticsearch::Model::DeleteConnectedClusterRequest;
DeleteConnectedClusterRequest::DeleteConnectedClusterRequest() :
RoaServiceRequest("elasticsearch", "2017-06-13")
{
setResourcePath("/openapi/instances/[InstanceId]/connected-clusters");
setMethod(HttpRequest::Method::Delete);
}
DeleteConnectedClusterRequest::~DeleteConnectedClusterRequest()
{}
std::string DeleteConnectedClusterRequest::getInstanceId()const
{
return instanceId_;
}
void DeleteConnectedClusterRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string DeleteConnectedClusterRequest::getClientToken()const
{
return clientToken_;
}
void DeleteConnectedClusterRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
}
std::string DeleteConnectedClusterRequest::getConnectedInstanceId()const
{
return connectedInstanceId_;
}
void DeleteConnectedClusterRequest::setConnectedInstanceId(const std::string& connectedInstanceId)
{
connectedInstanceId_ = connectedInstanceId;
setCoreParameter("ConnectedInstanceId", connectedInstanceId);
}

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/elasticsearch/model/DeleteConnectedClusterResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Elasticsearch;
using namespace AlibabaCloud::Elasticsearch::Model;
DeleteConnectedClusterResult::DeleteConnectedClusterResult() :
ServiceResult()
{}
DeleteConnectedClusterResult::DeleteConnectedClusterResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteConnectedClusterResult::~DeleteConnectedClusterResult()
{}
void DeleteConnectedClusterResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Result"].isNull())
result_ = value["Result"].asString() == "true";
}
bool DeleteConnectedClusterResult::getResult()const
{
return result_;
}

View File

@@ -20,7 +20,10 @@ using AlibabaCloud::Elasticsearch::Model::DeleteInstanceRequest;
DeleteInstanceRequest::DeleteInstanceRequest() :
RoaServiceRequest("elasticsearch", "2017-06-13")
{}
{
setResourcePath("/openapi/instances/[InstanceId]");
setMethod(HttpRequest::Method::Delete);
}
DeleteInstanceRequest::~DeleteInstanceRequest()
{}

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/elasticsearch/model/DeleteLogstashRequest.h>
using AlibabaCloud::Elasticsearch::Model::DeleteLogstashRequest;
DeleteLogstashRequest::DeleteLogstashRequest() :
RoaServiceRequest("elasticsearch", "2017-06-13")
{
setResourcePath("/openapi/logstashes/[InstanceId]");
setMethod(HttpRequest::Method::Delete);
}
DeleteLogstashRequest::~DeleteLogstashRequest()
{}
std::string DeleteLogstashRequest::getInstanceId()const
{
return instanceId_;
}
void DeleteLogstashRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string DeleteLogstashRequest::getClientToken()const
{
return clientToken_;
}
void DeleteLogstashRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setCoreParameter("ClientToken", clientToken);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/elasticsearch/model/DeleteLogstashResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Elasticsearch;
using namespace AlibabaCloud::Elasticsearch::Model;
DeleteLogstashResult::DeleteLogstashResult() :
ServiceResult()
{}
DeleteLogstashResult::DeleteLogstashResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteLogstashResult::~DeleteLogstashResult()
{}
void DeleteLogstashResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -20,7 +20,10 @@ using AlibabaCloud::Elasticsearch::Model::DeleteProjectRequest;
DeleteProjectRequest::DeleteProjectRequest() :
RoaServiceRequest("elasticsearch", "2017-06-13")
{}
{
setResourcePath("/openapi/projects/[Id]");
setMethod(HttpRequest::Method::Delete);
}
DeleteProjectRequest::~DeleteProjectRequest()
{}

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/elasticsearch/model/DeleteSnapshotRepoRequest.h>
using AlibabaCloud::Elasticsearch::Model::DeleteSnapshotRepoRequest;
DeleteSnapshotRepoRequest::DeleteSnapshotRepoRequest() :
RoaServiceRequest("elasticsearch", "2017-06-13")
{
setResourcePath("/openapi/instances/[InstanceId]/snapshot-repos");
setMethod(HttpRequest::Method::Delete);
}
DeleteSnapshotRepoRequest::~DeleteSnapshotRepoRequest()
{}
std::string DeleteSnapshotRepoRequest::getInstanceId()const
{
return instanceId_;
}
void DeleteSnapshotRepoRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string DeleteSnapshotRepoRequest::getRepoPath()const
{
return repoPath_;
}
void DeleteSnapshotRepoRequest::setRepoPath(const std::string& repoPath)
{
repoPath_ = repoPath;
setCoreParameter("RepoPath", repoPath);
}

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/elasticsearch/model/DeleteSnapshotRepoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Elasticsearch;
using namespace AlibabaCloud::Elasticsearch::Model;
DeleteSnapshotRepoResult::DeleteSnapshotRepoResult() :
ServiceResult()
{}
DeleteSnapshotRepoResult::DeleteSnapshotRepoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteSnapshotRepoResult::~DeleteSnapshotRepoResult()
{}
void DeleteSnapshotRepoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Result"].isNull())
result_ = value["Result"].asString() == "true";
}
bool DeleteSnapshotRepoResult::getResult()const
{
return result_;
}

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/elasticsearch/model/DescribeConnectableClustersRequest.h>
using AlibabaCloud::Elasticsearch::Model::DescribeConnectableClustersRequest;
DescribeConnectableClustersRequest::DescribeConnectableClustersRequest() :
RoaServiceRequest("elasticsearch", "2017-06-13")
{
setResourcePath("/openapi/instances/[InstanceId]/connectable-clusters");
setMethod(HttpRequest::Method::Get);
}
DescribeConnectableClustersRequest::~DescribeConnectableClustersRequest()
{}
std::string DescribeConnectableClustersRequest::getInstanceId()const
{
return instanceId_;
}
void DescribeConnectableClustersRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
bool DescribeConnectableClustersRequest::getAlreadySetItems()const
{
return alreadySetItems_;
}
void DescribeConnectableClustersRequest::setAlreadySetItems(bool alreadySetItems)
{
alreadySetItems_ = alreadySetItems;
setCoreParameter("AlreadySetItems", alreadySetItems ? "true" : "false");
}

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.
*/
#include <alibabacloud/elasticsearch/model/DescribeConnectableClustersResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Elasticsearch;
using namespace AlibabaCloud::Elasticsearch::Model;
DescribeConnectableClustersResult::DescribeConnectableClustersResult() :
ServiceResult()
{}
DescribeConnectableClustersResult::DescribeConnectableClustersResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeConnectableClustersResult::~DescribeConnectableClustersResult()
{}
void DescribeConnectableClustersResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allResultNode = value["Result"]["ConnectableClustersInfo"];
for (auto valueResultConnectableClustersInfo : allResultNode)
{
ConnectableClustersInfo resultObject;
if(!valueResultConnectableClustersInfo["instances"].isNull())
resultObject.instances = valueResultConnectableClustersInfo["instances"].asString();
if(!valueResultConnectableClustersInfo["networkType"].isNull())
resultObject.networkType = valueResultConnectableClustersInfo["networkType"].asString();
result_.push_back(resultObject);
}
}
std::vector<DescribeConnectableClustersResult::ConnectableClustersInfo> DescribeConnectableClustersResult::getResult()const
{
return result_;
}

View File

@@ -20,7 +20,10 @@ using AlibabaCloud::Elasticsearch::Model::DescribeElasticsearchHealthRequest;
DescribeElasticsearchHealthRequest::DescribeElasticsearchHealthRequest() :
RoaServiceRequest("elasticsearch", "2017-06-13")
{}
{
setResourcePath("/openapi/instances/[InstanceId]/elasticsearch-health");
setMethod(HttpRequest::Method::Get);
}
DescribeElasticsearchHealthRequest::~DescribeElasticsearchHealthRequest()
{}

View File

@@ -20,7 +20,10 @@ using AlibabaCloud::Elasticsearch::Model::DescribeInstanceRequest;
DescribeInstanceRequest::DescribeInstanceRequest() :
RoaServiceRequest("elasticsearch", "2017-06-13")
{}
{
setResourcePath("/openapi/instances/[InstanceId]");
setMethod(HttpRequest::Method::Get);
}
DescribeInstanceRequest::~DescribeInstanceRequest()
{}

View File

@@ -128,6 +128,20 @@ void DescribeInstanceResult::parse(const std::string &payload)
zoneInfoObject.status = resultNodezoneInfosZoneInfo["status"].asString();
result_.zoneInfos.push_back(zoneInfoObject);
}
auto allaliwsDictsNode = resultNode["aliwsDicts"]["Dict"];
for (auto resultNodealiwsDictsDict : allaliwsDictsNode)
{
Result::Dict dictObject;
if(!resultNodealiwsDictsDict["name"].isNull())
dictObject.name = resultNodealiwsDictsDict["name"].asString();
if(!resultNodealiwsDictsDict["fileSize"].isNull())
dictObject.fileSize = std::stol(resultNodealiwsDictsDict["fileSize"].asString());
if(!resultNodealiwsDictsDict["type"].isNull())
dictObject.type = resultNodealiwsDictsDict["type"].asString();
if(!resultNodealiwsDictsDict["sourceType"].isNull())
dictObject.sourceType = resultNodealiwsDictsDict["sourceType"].asString();
result_.aliwsDicts.push_back(dictObject);
}
auto nodeSpecNode = resultNode["nodeSpec"];
if(!nodeSpecNode["spec"].isNull())
result_.nodeSpec.spec = nodeSpecNode["spec"].asString();
@@ -135,6 +149,8 @@ void DescribeInstanceResult::parse(const std::string &payload)
result_.nodeSpec.disk = std::stoi(nodeSpecNode["disk"].asString());
if(!nodeSpecNode["diskType"].isNull())
result_.nodeSpec.diskType = nodeSpecNode["diskType"].asString();
if(!nodeSpecNode["diskEncryption"].isNull())
result_.nodeSpec.diskEncryption = nodeSpecNode["diskEncryption"].asString() == "true";
auto networkConfigNode = resultNode["networkConfig"];
if(!networkConfigNode["type"].isNull())
result_.networkConfig.type = networkConfigNode["type"].asString();
@@ -180,6 +196,11 @@ void DescribeInstanceResult::parse(const std::string &payload)
result_.warmNodeConfiguration.diskType = warmNodeConfigurationNode["diskType"].asString();
if(!warmNodeConfigurationNode["disk"].isNull())
result_.warmNodeConfiguration.disk = std::stoi(warmNodeConfigurationNode["disk"].asString());
if(!warmNodeConfigurationNode["diskEncryption"].isNull())
result_.warmNodeConfiguration.diskEncryption = warmNodeConfigurationNode["diskEncryption"].asString() == "true";
auto advancedSettingNode = resultNode["advancedSetting"];
if(!advancedSettingNode["gcName"].isNull())
result_.advancedSetting.gcName = advancedSettingNode["gcName"].asString();
auto allEsIPWhitelist = resultNode["esIPWhitelist"]["EsIPWhitelist"];
for (auto value : allEsIPWhitelist)
result_.esIPWhitelist.push_back(value.asString());

View File

@@ -20,7 +20,10 @@ using AlibabaCloud::Elasticsearch::Model::DescribeKibanaSettingsRequest;
DescribeKibanaSettingsRequest::DescribeKibanaSettingsRequest() :
RoaServiceRequest("elasticsearch", "2017-06-13")
{}
{
setResourcePath("/openapi/instances/[InstanceId]/kibana-settings");
setMethod(HttpRequest::Method::Get);
}
DescribeKibanaSettingsRequest::~DescribeKibanaSettingsRequest()
{}

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