CreateInstance add toen.

This commit is contained in:
sdk-team
2019-09-09 10:21:45 +08:00
parent b24f4a88d4
commit 98ee2fb7f9
206 changed files with 14302 additions and 1 deletions

View File

@@ -0,0 +1,446 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ELASTICSEARCHCLIENT_H_
#define ALIBABACLOUD_ELASTICSEARCH_ELASTICSEARCHCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RoaServiceClient.h>
#include "ElasticsearchExport.h"
#include "model/DeactivateZonesRequest.h"
#include "model/DeactivateZonesResult.h"
#include "model/InstallUserPluginsRequest.h"
#include "model/InstallUserPluginsResult.h"
#include "model/ListAllNodeRequest.h"
#include "model/ListAllNodeResult.h"
#include "model/ListInstanceRequest.h"
#include "model/ListInstanceResult.h"
#include "model/MoveResourceGroupRequest.h"
#include "model/MoveResourceGroupResult.h"
#include "model/CreateInstanceRequest.h"
#include "model/CreateInstanceResult.h"
#include "model/UninstallKibanaPluginRequest.h"
#include "model/UninstallKibanaPluginResult.h"
#include "model/UpdateInstanceSettingsRequest.h"
#include "model/UpdateInstanceSettingsResult.h"
#include "model/UpdateAdvancedSettingRequest.h"
#include "model/UpdateAdvancedSettingResult.h"
#include "model/UpdateBlackIpsRequest.h"
#include "model/UpdateBlackIpsResult.h"
#include "model/UpdateSynonymsDictsRequest.h"
#include "model/UpdateSynonymsDictsResult.h"
#include "model/GetRegionConfigurationRequest.h"
#include "model/GetRegionConfigurationResult.h"
#include "model/UpdateDictRequest.h"
#include "model/UpdateDictResult.h"
#include "model/UpdateKibanaSettingsRequest.h"
#include "model/UpdateKibanaSettingsResult.h"
#include "model/TriggerNetworkRequest.h"
#include "model/TriggerNetworkResult.h"
#include "model/ValidateShrinkNodesRequest.h"
#include "model/ValidateShrinkNodesResult.h"
#include "model/ActivateZonesRequest.h"
#include "model/ActivateZonesResult.h"
#include "model/DescribeKibanaSettingsRequest.h"
#include "model/DescribeKibanaSettingsResult.h"
#include "model/GetSuggestShrinkableNodesRequest.h"
#include "model/GetSuggestShrinkableNodesResult.h"
#include "model/UpdateInstanceRequest.h"
#include "model/UpdateInstanceResult.h"
#include "model/TransferNodeRequest.h"
#include "model/TransferNodeResult.h"
#include "model/UpdateAliwsDictRequest.h"
#include "model/UpdateAliwsDictResult.h"
#include "model/ListPluginsRequest.h"
#include "model/ListPluginsResult.h"
#include "model/InstallKibanaSystemPluginRequest.h"
#include "model/InstallKibanaSystemPluginResult.h"
#include "model/DescribeInstanceRequest.h"
#include "model/DescribeInstanceResult.h"
#include "model/DeleteProjectRequest.h"
#include "model/DeleteProjectResult.h"
#include "model/InstallSystemPluginRequest.h"
#include "model/InstallSystemPluginResult.h"
#include "model/UpdatePublicNetworkRequest.h"
#include "model/UpdatePublicNetworkResult.h"
#include "model/ShrinkNodeRequest.h"
#include "model/ShrinkNodeResult.h"
#include "model/UpdateAdminPasswordRequest.h"
#include "model/UpdateAdminPasswordResult.h"
#include "model/UpdateKibanaWhiteIpsRequest.h"
#include "model/UpdateKibanaWhiteIpsResult.h"
#include "model/CreateProjectRequest.h"
#include "model/CreateProjectResult.h"
#include "model/UpdatePublicWhiteIpsRequest.h"
#include "model/UpdatePublicWhiteIpsResult.h"
#include "model/UpdateHotIkDictsRequest.h"
#include "model/UpdateHotIkDictsResult.h"
#include "model/UpdatePrivateNetworkWhiteIpsRequest.h"
#include "model/UpdatePrivateNetworkWhiteIpsResult.h"
#include "model/GetTransferableNodesRequest.h"
#include "model/GetTransferableNodesResult.h"
#include "model/RestartInstanceRequest.h"
#include "model/RestartInstanceResult.h"
#include "model/ListKibanaPluginsRequest.h"
#include "model/ListKibanaPluginsResult.h"
#include "model/UpdateDescriptionRequest.h"
#include "model/UpdateDescriptionResult.h"
#include "model/UpdateWhiteIpsRequest.h"
#include "model/UpdateWhiteIpsResult.h"
#include "model/CancelTaskRequest.h"
#include "model/CancelTaskResult.h"
#include "model/CloseHttpsRequest.h"
#include "model/CloseHttpsResult.h"
#include "model/UpdateSnapshotSettingRequest.h"
#include "model/UpdateSnapshotSettingResult.h"
#include "model/UninstallPluginRequest.h"
#include "model/UninstallPluginResult.h"
#include "model/ListSearchLogRequest.h"
#include "model/ListSearchLogResult.h"
#include "model/ValidateTransferableNodesRequest.h"
#include "model/ValidateTransferableNodesResult.h"
#include "model/DescribeElasticsearchHealthRequest.h"
#include "model/DescribeElasticsearchHealthResult.h"
#include "model/RollbackInstanceRequest.h"
#include "model/RollbackInstanceResult.h"
#include "model/OpenHttpsRequest.h"
#include "model/OpenHttpsResult.h"
#include "model/DeleteInstanceRequest.h"
#include "model/DeleteInstanceResult.h"
namespace AlibabaCloud
{
namespace Elasticsearch
{
class ALIBABACLOUD_ELASTICSEARCH_EXPORT ElasticsearchClient : public RoaServiceClient
{
public:
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::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::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::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::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;
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::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::UpdateInstanceSettingsResult> UpdateInstanceSettingsOutcome;
typedef std::future<UpdateInstanceSettingsOutcome> UpdateInstanceSettingsOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpdateInstanceSettingsRequest&, const UpdateInstanceSettingsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateInstanceSettingsAsyncHandler;
typedef Outcome<Error, Model::UpdateAdvancedSettingResult> UpdateAdvancedSettingOutcome;
typedef std::future<UpdateAdvancedSettingOutcome> UpdateAdvancedSettingOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpdateAdvancedSettingRequest&, const UpdateAdvancedSettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAdvancedSettingAsyncHandler;
typedef Outcome<Error, Model::UpdateBlackIpsResult> UpdateBlackIpsOutcome;
typedef std::future<UpdateBlackIpsOutcome> UpdateBlackIpsOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpdateBlackIpsRequest&, const UpdateBlackIpsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateBlackIpsAsyncHandler;
typedef Outcome<Error, Model::UpdateSynonymsDictsResult> UpdateSynonymsDictsOutcome;
typedef std::future<UpdateSynonymsDictsOutcome> UpdateSynonymsDictsOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpdateSynonymsDictsRequest&, const UpdateSynonymsDictsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateSynonymsDictsAsyncHandler;
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;
typedef Outcome<Error, Model::UpdateDictResult> UpdateDictOutcome;
typedef std::future<UpdateDictOutcome> UpdateDictOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpdateDictRequest&, const UpdateDictOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDictAsyncHandler;
typedef Outcome<Error, Model::UpdateKibanaSettingsResult> UpdateKibanaSettingsOutcome;
typedef std::future<UpdateKibanaSettingsOutcome> UpdateKibanaSettingsOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpdateKibanaSettingsRequest&, const UpdateKibanaSettingsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateKibanaSettingsAsyncHandler;
typedef Outcome<Error, Model::TriggerNetworkResult> TriggerNetworkOutcome;
typedef std::future<TriggerNetworkOutcome> TriggerNetworkOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::TriggerNetworkRequest&, const TriggerNetworkOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TriggerNetworkAsyncHandler;
typedef Outcome<Error, Model::ValidateShrinkNodesResult> ValidateShrinkNodesOutcome;
typedef std::future<ValidateShrinkNodesOutcome> ValidateShrinkNodesOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::ValidateShrinkNodesRequest&, const ValidateShrinkNodesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ValidateShrinkNodesAsyncHandler;
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::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::GetSuggestShrinkableNodesResult> GetSuggestShrinkableNodesOutcome;
typedef std::future<GetSuggestShrinkableNodesOutcome> GetSuggestShrinkableNodesOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::GetSuggestShrinkableNodesRequest&, const GetSuggestShrinkableNodesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSuggestShrinkableNodesAsyncHandler;
typedef Outcome<Error, Model::UpdateInstanceResult> UpdateInstanceOutcome;
typedef std::future<UpdateInstanceOutcome> UpdateInstanceOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpdateInstanceRequest&, const UpdateInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateInstanceAsyncHandler;
typedef Outcome<Error, Model::TransferNodeResult> TransferNodeOutcome;
typedef std::future<TransferNodeOutcome> TransferNodeOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::TransferNodeRequest&, const TransferNodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TransferNodeAsyncHandler;
typedef Outcome<Error, Model::UpdateAliwsDictResult> UpdateAliwsDictOutcome;
typedef std::future<UpdateAliwsDictOutcome> UpdateAliwsDictOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpdateAliwsDictRequest&, const UpdateAliwsDictOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAliwsDictAsyncHandler;
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::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::DescribeInstanceResult> DescribeInstanceOutcome;
typedef std::future<DescribeInstanceOutcome> DescribeInstanceOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::DescribeInstanceRequest&, const DescribeInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInstanceAsyncHandler;
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::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::UpdatePublicNetworkResult> UpdatePublicNetworkOutcome;
typedef std::future<UpdatePublicNetworkOutcome> UpdatePublicNetworkOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpdatePublicNetworkRequest&, const UpdatePublicNetworkOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdatePublicNetworkAsyncHandler;
typedef Outcome<Error, Model::ShrinkNodeResult> ShrinkNodeOutcome;
typedef std::future<ShrinkNodeOutcome> ShrinkNodeOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::ShrinkNodeRequest&, const ShrinkNodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ShrinkNodeAsyncHandler;
typedef Outcome<Error, Model::UpdateAdminPasswordResult> UpdateAdminPasswordOutcome;
typedef std::future<UpdateAdminPasswordOutcome> UpdateAdminPasswordOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpdateAdminPasswordRequest&, const UpdateAdminPasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAdminPasswordAsyncHandler;
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::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::UpdatePublicWhiteIpsResult> UpdatePublicWhiteIpsOutcome;
typedef std::future<UpdatePublicWhiteIpsOutcome> UpdatePublicWhiteIpsOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpdatePublicWhiteIpsRequest&, const UpdatePublicWhiteIpsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdatePublicWhiteIpsAsyncHandler;
typedef Outcome<Error, Model::UpdateHotIkDictsResult> UpdateHotIkDictsOutcome;
typedef std::future<UpdateHotIkDictsOutcome> UpdateHotIkDictsOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpdateHotIkDictsRequest&, const UpdateHotIkDictsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateHotIkDictsAsyncHandler;
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;
typedef Outcome<Error, Model::GetTransferableNodesResult> GetTransferableNodesOutcome;
typedef std::future<GetTransferableNodesOutcome> GetTransferableNodesOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::GetTransferableNodesRequest&, const GetTransferableNodesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTransferableNodesAsyncHandler;
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::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::UpdateDescriptionResult> UpdateDescriptionOutcome;
typedef std::future<UpdateDescriptionOutcome> UpdateDescriptionOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpdateDescriptionRequest&, const UpdateDescriptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDescriptionAsyncHandler;
typedef Outcome<Error, Model::UpdateWhiteIpsResult> UpdateWhiteIpsOutcome;
typedef std::future<UpdateWhiteIpsOutcome> UpdateWhiteIpsOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpdateWhiteIpsRequest&, const UpdateWhiteIpsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateWhiteIpsAsyncHandler;
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::UpdateSnapshotSettingResult> UpdateSnapshotSettingOutcome;
typedef std::future<UpdateSnapshotSettingOutcome> UpdateSnapshotSettingOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::UpdateSnapshotSettingRequest&, const UpdateSnapshotSettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateSnapshotSettingAsyncHandler;
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;
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::ValidateTransferableNodesResult> ValidateTransferableNodesOutcome;
typedef std::future<ValidateTransferableNodesOutcome> ValidateTransferableNodesOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::ValidateTransferableNodesRequest&, const ValidateTransferableNodesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ValidateTransferableNodesAsyncHandler;
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;
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;
typedef Outcome<Error, Model::OpenHttpsResult> OpenHttpsOutcome;
typedef std::future<OpenHttpsOutcome> OpenHttpsOutcomeCallable;
typedef std::function<void(const ElasticsearchClient*, const Model::OpenHttpsRequest&, const OpenHttpsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpenHttpsAsyncHandler;
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;
ElasticsearchClient(const Credentials &credentials, const ClientConfiguration &configuration);
ElasticsearchClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
ElasticsearchClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~ElasticsearchClient();
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;
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;
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;
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;
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;
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;
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;
UpdateInstanceSettingsOutcome updateInstanceSettings(const Model::UpdateInstanceSettingsRequest &request)const;
void updateInstanceSettingsAsync(const Model::UpdateInstanceSettingsRequest& request, const UpdateInstanceSettingsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateInstanceSettingsOutcomeCallable updateInstanceSettingsCallable(const Model::UpdateInstanceSettingsRequest& request) const;
UpdateAdvancedSettingOutcome updateAdvancedSetting(const Model::UpdateAdvancedSettingRequest &request)const;
void updateAdvancedSettingAsync(const Model::UpdateAdvancedSettingRequest& request, const UpdateAdvancedSettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateAdvancedSettingOutcomeCallable updateAdvancedSettingCallable(const Model::UpdateAdvancedSettingRequest& request) const;
UpdateBlackIpsOutcome updateBlackIps(const Model::UpdateBlackIpsRequest &request)const;
void updateBlackIpsAsync(const Model::UpdateBlackIpsRequest& request, const UpdateBlackIpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateBlackIpsOutcomeCallable updateBlackIpsCallable(const Model::UpdateBlackIpsRequest& request) const;
UpdateSynonymsDictsOutcome updateSynonymsDicts(const Model::UpdateSynonymsDictsRequest &request)const;
void updateSynonymsDictsAsync(const Model::UpdateSynonymsDictsRequest& request, const UpdateSynonymsDictsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateSynonymsDictsOutcomeCallable updateSynonymsDictsCallable(const Model::UpdateSynonymsDictsRequest& 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;
UpdateDictOutcome updateDict(const Model::UpdateDictRequest &request)const;
void updateDictAsync(const Model::UpdateDictRequest& request, const UpdateDictAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateDictOutcomeCallable updateDictCallable(const Model::UpdateDictRequest& request) const;
UpdateKibanaSettingsOutcome updateKibanaSettings(const Model::UpdateKibanaSettingsRequest &request)const;
void updateKibanaSettingsAsync(const Model::UpdateKibanaSettingsRequest& request, const UpdateKibanaSettingsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateKibanaSettingsOutcomeCallable updateKibanaSettingsCallable(const Model::UpdateKibanaSettingsRequest& request) const;
TriggerNetworkOutcome triggerNetwork(const Model::TriggerNetworkRequest &request)const;
void triggerNetworkAsync(const Model::TriggerNetworkRequest& request, const TriggerNetworkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TriggerNetworkOutcomeCallable triggerNetworkCallable(const Model::TriggerNetworkRequest& request) const;
ValidateShrinkNodesOutcome validateShrinkNodes(const Model::ValidateShrinkNodesRequest &request)const;
void validateShrinkNodesAsync(const Model::ValidateShrinkNodesRequest& request, const ValidateShrinkNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ValidateShrinkNodesOutcomeCallable validateShrinkNodesCallable(const Model::ValidateShrinkNodesRequest& request) const;
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;
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;
GetSuggestShrinkableNodesOutcome getSuggestShrinkableNodes(const Model::GetSuggestShrinkableNodesRequest &request)const;
void getSuggestShrinkableNodesAsync(const Model::GetSuggestShrinkableNodesRequest& request, const GetSuggestShrinkableNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSuggestShrinkableNodesOutcomeCallable getSuggestShrinkableNodesCallable(const Model::GetSuggestShrinkableNodesRequest& request) const;
UpdateInstanceOutcome updateInstance(const Model::UpdateInstanceRequest &request)const;
void updateInstanceAsync(const Model::UpdateInstanceRequest& request, const UpdateInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateInstanceOutcomeCallable updateInstanceCallable(const Model::UpdateInstanceRequest& request) const;
TransferNodeOutcome transferNode(const Model::TransferNodeRequest &request)const;
void transferNodeAsync(const Model::TransferNodeRequest& request, const TransferNodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TransferNodeOutcomeCallable transferNodeCallable(const Model::TransferNodeRequest& request) const;
UpdateAliwsDictOutcome updateAliwsDict(const Model::UpdateAliwsDictRequest &request)const;
void updateAliwsDictAsync(const Model::UpdateAliwsDictRequest& request, const UpdateAliwsDictAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateAliwsDictOutcomeCallable updateAliwsDictCallable(const Model::UpdateAliwsDictRequest& 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;
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;
DescribeInstanceOutcome describeInstance(const Model::DescribeInstanceRequest &request)const;
void describeInstanceAsync(const Model::DescribeInstanceRequest& request, const DescribeInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeInstanceOutcomeCallable describeInstanceCallable(const Model::DescribeInstanceRequest& 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;
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;
UpdatePublicNetworkOutcome updatePublicNetwork(const Model::UpdatePublicNetworkRequest &request)const;
void updatePublicNetworkAsync(const Model::UpdatePublicNetworkRequest& request, const UpdatePublicNetworkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdatePublicNetworkOutcomeCallable updatePublicNetworkCallable(const Model::UpdatePublicNetworkRequest& request) const;
ShrinkNodeOutcome shrinkNode(const Model::ShrinkNodeRequest &request)const;
void shrinkNodeAsync(const Model::ShrinkNodeRequest& request, const ShrinkNodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ShrinkNodeOutcomeCallable shrinkNodeCallable(const Model::ShrinkNodeRequest& request) const;
UpdateAdminPasswordOutcome updateAdminPassword(const Model::UpdateAdminPasswordRequest &request)const;
void updateAdminPasswordAsync(const Model::UpdateAdminPasswordRequest& request, const UpdateAdminPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateAdminPasswordOutcomeCallable updateAdminPasswordCallable(const Model::UpdateAdminPasswordRequest& request) const;
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;
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;
UpdatePublicWhiteIpsOutcome updatePublicWhiteIps(const Model::UpdatePublicWhiteIpsRequest &request)const;
void updatePublicWhiteIpsAsync(const Model::UpdatePublicWhiteIpsRequest& request, const UpdatePublicWhiteIpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdatePublicWhiteIpsOutcomeCallable updatePublicWhiteIpsCallable(const Model::UpdatePublicWhiteIpsRequest& request) const;
UpdateHotIkDictsOutcome updateHotIkDicts(const Model::UpdateHotIkDictsRequest &request)const;
void updateHotIkDictsAsync(const Model::UpdateHotIkDictsRequest& request, const UpdateHotIkDictsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateHotIkDictsOutcomeCallable updateHotIkDictsCallable(const Model::UpdateHotIkDictsRequest& 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;
GetTransferableNodesOutcome getTransferableNodes(const Model::GetTransferableNodesRequest &request)const;
void getTransferableNodesAsync(const Model::GetTransferableNodesRequest& request, const GetTransferableNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTransferableNodesOutcomeCallable getTransferableNodesCallable(const Model::GetTransferableNodesRequest& request) const;
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;
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;
UpdateDescriptionOutcome updateDescription(const Model::UpdateDescriptionRequest &request)const;
void updateDescriptionAsync(const Model::UpdateDescriptionRequest& request, const UpdateDescriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateDescriptionOutcomeCallable updateDescriptionCallable(const Model::UpdateDescriptionRequest& request) const;
UpdateWhiteIpsOutcome updateWhiteIps(const Model::UpdateWhiteIpsRequest &request)const;
void updateWhiteIpsAsync(const Model::UpdateWhiteIpsRequest& request, const UpdateWhiteIpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateWhiteIpsOutcomeCallable updateWhiteIpsCallable(const Model::UpdateWhiteIpsRequest& 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;
UpdateSnapshotSettingOutcome updateSnapshotSetting(const Model::UpdateSnapshotSettingRequest &request)const;
void updateSnapshotSettingAsync(const Model::UpdateSnapshotSettingRequest& request, const UpdateSnapshotSettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateSnapshotSettingOutcomeCallable updateSnapshotSettingCallable(const Model::UpdateSnapshotSettingRequest& 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;
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;
ValidateTransferableNodesOutcome validateTransferableNodes(const Model::ValidateTransferableNodesRequest &request)const;
void validateTransferableNodesAsync(const Model::ValidateTransferableNodesRequest& request, const ValidateTransferableNodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ValidateTransferableNodesOutcomeCallable validateTransferableNodesCallable(const Model::ValidateTransferableNodesRequest& 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;
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;
OpenHttpsOutcome openHttps(const Model::OpenHttpsRequest &request)const;
void openHttpsAsync(const Model::OpenHttpsRequest& request, const OpenHttpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
OpenHttpsOutcomeCallable openHttpsCallable(const Model::OpenHttpsRequest& 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;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_ELASTICSEARCHCLIENT_H_

View File

@@ -0,0 +1,32 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ELASTICSEARCH_ELASTICSEARCHEXPORT_H_
#define ALIBABACLOUD_ELASTICSEARCH_ELASTICSEARCHEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_ELASTICSEARCH_LIBRARY)
# define ALIBABACLOUD_ELASTICSEARCH_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_ELASTICSEARCH_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_ELASTICSEARCH_EXPORT
#endif
#endif // !ALIBABACLOUD_ELASTICSEARCH_ELASTICSEARCHEXPORT_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_ACTIVATEZONESREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_ACTIVATEZONESREQUEST_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 ActivateZonesRequest : public RoaServiceRequest
{
public:
ActivateZonesRequest();
~ActivateZonesRequest();
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_ACTIVATEZONESREQUEST_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_ACTIVATEZONESRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_ACTIVATEZONESRESULT_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 ActivateZonesResult : public ServiceResult
{
public:
ActivateZonesResult();
explicit ActivateZonesResult(const std::string &payload);
~ActivateZonesResult();
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
bool result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_ACTIVATEZONESRESULT_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_CANCELTASKREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_CANCELTASKREQUEST_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 CancelTaskRequest : public RoaServiceRequest
{
public:
CancelTaskRequest();
~CancelTaskRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getTaskType()const;
void setTaskType(const std::string& taskType);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
private:
std::string instanceId_;
std::string taskType_;
std::string clientToken_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_CANCELTASKREQUEST_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_CANCELTASKRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_CANCELTASKRESULT_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 CancelTaskResult : public ServiceResult
{
public:
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_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_CANCELTASKRESULT_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_CLOSEHTTPSREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_CLOSEHTTPSREQUEST_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 CloseHttpsRequest : public RoaServiceRequest
{
public:
CloseHttpsRequest();
~CloseHttpsRequest();
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_CLOSEHTTPSREQUEST_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_CLOSEHTTPSRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_CLOSEHTTPSRESULT_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 CloseHttpsResult : public ServiceResult
{
public:
CloseHttpsResult();
explicit CloseHttpsResult(const std::string &payload);
~CloseHttpsResult();
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
bool result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_CLOSEHTTPSRESULT_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_CREATEINSTANCEREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_CREATEINSTANCEREQUEST_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 CreateInstanceRequest : public RoaServiceRequest
{
public:
CreateInstanceRequest();
~CreateInstanceRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
private:
std::string clientToken_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_CREATEINSTANCEREQUEST_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_CREATEINSTANCERESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_CREATEINSTANCERESULT_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 CreateInstanceResult : public ServiceResult
{
public:
struct Result
{
std::string instanceId;
};
CreateInstanceResult();
explicit CreateInstanceResult(const std::string &payload);
~CreateInstanceResult();
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_CREATEINSTANCERESULT_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_CREATEPROJECTREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_CREATEPROJECTREQUEST_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 CreateProjectRequest : public RoaServiceRequest
{
public:
CreateProjectRequest();
~CreateProjectRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
private:
std::string clientToken_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_CREATEPROJECTREQUEST_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_CREATEPROJECTRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_CREATEPROJECTRESULT_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 CreateProjectResult : public ServiceResult
{
public:
struct Result
{
std::string id;
};
CreateProjectResult();
explicit CreateProjectResult(const std::string &payload);
~CreateProjectResult();
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_CREATEPROJECTRESULT_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_DEACTIVATEZONESREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DEACTIVATEZONESREQUEST_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 DeactivateZonesRequest : public RoaServiceRequest
{
public:
DeactivateZonesRequest();
~DeactivateZonesRequest();
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_DEACTIVATEZONESREQUEST_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_DEACTIVATEZONESRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DEACTIVATEZONESRESULT_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 DeactivateZonesResult : public ServiceResult
{
public:
DeactivateZonesResult();
explicit DeactivateZonesResult(const std::string &payload);
~DeactivateZonesResult();
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
bool result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_DEACTIVATEZONESRESULT_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_DELETEINSTANCEREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DELETEINSTANCEREQUEST_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 DeleteInstanceRequest : public RoaServiceRequest
{
public:
DeleteInstanceRequest();
~DeleteInstanceRequest();
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_DELETEINSTANCEREQUEST_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_DELETEINSTANCERESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DELETEINSTANCERESULT_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 DeleteInstanceResult : public ServiceResult
{
public:
DeleteInstanceResult();
explicit DeleteInstanceResult(const std::string &payload);
~DeleteInstanceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_DELETEINSTANCERESULT_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_DELETEPROJECTREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DELETEPROJECTREQUEST_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 DeleteProjectRequest : public RoaServiceRequest
{
public:
DeleteProjectRequest();
~DeleteProjectRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getId()const;
void setId(const std::string& id);
private:
std::string clientToken_;
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_DELETEPROJECTREQUEST_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_DELETEPROJECTRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DELETEPROJECTRESULT_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 DeleteProjectResult : public ServiceResult
{
public:
DeleteProjectResult();
explicit DeleteProjectResult(const std::string &payload);
~DeleteProjectResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_DELETEPROJECTRESULT_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_DESCRIBEELASTICSEARCHHEALTHREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBEELASTICSEARCHHEALTHREQUEST_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 DescribeElasticsearchHealthRequest : public RoaServiceRequest
{
public:
DescribeElasticsearchHealthRequest();
~DescribeElasticsearchHealthRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBEELASTICSEARCHHEALTHREQUEST_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_DESCRIBEELASTICSEARCHHEALTHRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBEELASTICSEARCHHEALTHRESULT_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 DescribeElasticsearchHealthResult : public ServiceResult
{
public:
DescribeElasticsearchHealthResult();
explicit DescribeElasticsearchHealthResult(const std::string &payload);
~DescribeElasticsearchHealthResult();
std::string getMessage()const;
std::string getCode()const;
std::string getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
std::string result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBEELASTICSEARCHHEALTHRESULT_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_DESCRIBEINSTANCEREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBEINSTANCEREQUEST_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 DescribeInstanceRequest : public RoaServiceRequest
{
public:
DescribeInstanceRequest();
~DescribeInstanceRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBEINSTANCEREQUEST_H_

View File

@@ -0,0 +1,153 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DESCRIBEINSTANCERESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBEINSTANCERESULT_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 DescribeInstanceResult : 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 KibanaConfiguration
{
std::string diskType;
int amount;
std::string spec;
int disk;
};
struct MasterConfiguration
{
std::string diskType;
int amount;
std::string spec;
int disk;
};
struct ClientNodeConfiguration
{
std::string diskType;
int amount;
std::string spec;
int disk;
};
struct WarmNodeConfiguration
{
std::string diskType;
int amount;
std::string spec;
int disk;
};
struct DictListItem
{
std::string type;
std::string sourceType;
std::string name;
long fileSize;
};
struct SynonymsDictsItem
{
std::string type;
std::string sourceType;
std::string name;
long fileSize;
};
struct ZoneInfo
{
std::string status;
std::string zoneId;
};
MasterConfiguration masterConfiguration;
std::string description;
bool dedicateMaster;
std::vector<std::string> esIPBlacklist;
std::vector<ZoneInfo> zoneInfos;
std::string createdAt;
int port;
bool enablePublic;
KibanaConfiguration kibanaConfiguration;
bool advancedDedicateMaster;
std::string paymentType;
std::string protocol;
bool haveKibana;
std::string status;
std::vector<std::string> publicIpWhitelist;
std::string instanceId;
int kibanaPort;
bool enableKibanaPublicNetwork;
NetworkConfig networkConfig;
int nodeAmount;
std::string esVersion;
std::string updatedAt;
std::vector<DictListItem> dictList;
std::string kibanaDomain;
std::string publicDomain;
std::string esConfig;
std::vector<std::string> esIPWhitelist;
std::vector<std::string> kibanaIPWhitelist;
NodeSpec nodeSpec;
bool warmNode;
std::vector<std::string> privateNetworkIpWhiteList;
std::string vpcInstanceId;
WarmNodeConfiguration warmNodeConfiguration;
std::vector<SynonymsDictsItem> synonymsDicts;
std::string domain;
bool haveClientNode;
int publicPort;
ClientNodeConfiguration clientNodeConfiguration;
int zoneCount;
};
DescribeInstanceResult();
explicit DescribeInstanceResult(const std::string &payload);
~DescribeInstanceResult();
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBEINSTANCERESULT_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_DESCRIBEKIBANASETTINGSREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBEKIBANASETTINGSREQUEST_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 DescribeKibanaSettingsRequest : public RoaServiceRequest
{
public:
DescribeKibanaSettingsRequest();
~DescribeKibanaSettingsRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBEKIBANASETTINGSREQUEST_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_DESCRIBEKIBANASETTINGSRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBEKIBANASETTINGSRESULT_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 DescribeKibanaSettingsResult : public ServiceResult
{
public:
DescribeKibanaSettingsResult();
explicit DescribeKibanaSettingsResult(const std::string &payload);
~DescribeKibanaSettingsResult();
std::string getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_DESCRIBEKIBANASETTINGSRESULT_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_GETREGIONCONFIGURATIONREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_GETREGIONCONFIGURATIONREQUEST_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 GetRegionConfigurationRequest : public RoaServiceRequest
{
public:
GetRegionConfigurationRequest();
~GetRegionConfigurationRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_GETREGIONCONFIGURATIONREQUEST_H_

View File

@@ -0,0 +1,146 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_GETREGIONCONFIGURATIONRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_GETREGIONCONFIGURATIONRESULT_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 GetRegionConfigurationResult : public ServiceResult
{
public:
struct Result
{
struct Node
{
int minAmount;
int maxAmount;
};
struct JvmConfine
{
std::vector<std::string> supportGcs;
int memory;
std::vector<std::string> supportEsVersions;
};
struct ClientNodeAmountRange
{
int minAmount;
int maxAmount;
};
struct WarmNodeProperties
{
struct AmountRange
{
int minAmount;
int maxAmount;
};
struct Disk1
{
std::string diskType;
int minSize;
int scaleLimit;
std::vector<std::string> valueLimitSet2;
int maxSize;
};
std::vector<Disk1> diskList;
AmountRange amountRange;
std::vector<std::string> spec;
};
struct KibanaNodeProperties
{
struct AmountRange4
{
int minAmount;
int maxAmount;
};
AmountRange4 amountRange4;
std::vector<std::string> spec3;
};
struct DataDiskListItem
{
std::string diskType;
int minSize;
int scaleLimit;
int maxSize;
std::vector<std::string> valueLimitSet;
};
struct EsVersionsLatestListItem
{
std::string value;
std::string key;
};
struct NodeSpecListItem
{
std::string diskType;
int memorySize;
int cpuCount;
bool enable;
std::string spec;
std::string specGroupType;
int disk;
};
struct Disk
{
std::string diskType;
int minSize;
int scaleLimit;
int maxSize;
};
std::vector<DataDiskListItem> dataDiskList;
std::vector<NodeSpecListItem> nodeSpecList;
ClientNodeAmountRange clientNodeAmountRange;
std::vector<Disk> masterDiskList;
Node node;
WarmNodeProperties warmNodeProperties;
std::vector<Disk> clientNodeDiskList;
std::vector<EsVersionsLatestListItem> esVersionsLatestList;
std::string env;
std::vector<std::string> clientNodeSpec;
std::string createUrl;
std::vector<std::string> zones;
JvmConfine jvmConfine;
KibanaNodeProperties kibanaNodeProperties;
std::string regionId;
std::vector<std::string> esVersions;
std::vector<std::string> masterSpec;
};
GetRegionConfigurationResult();
explicit GetRegionConfigurationResult(const std::string &payload);
~GetRegionConfigurationResult();
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_GETREGIONCONFIGURATIONRESULT_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_GETSUGGESTSHRINKABLENODESREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_GETSUGGESTSHRINKABLENODESREQUEST_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 GetSuggestShrinkableNodesRequest : public RoaServiceRequest
{
public:
GetSuggestShrinkableNodesRequest();
~GetSuggestShrinkableNodesRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getNodeType()const;
void setNodeType(const std::string& nodeType);
int getCount()const;
void setCount(int count);
private:
std::string instanceId_;
std::string nodeType_;
int count_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_GETSUGGESTSHRINKABLENODESREQUEST_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_GETSUGGESTSHRINKABLENODESRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_GETSUGGESTSHRINKABLENODESRESULT_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 GetSuggestShrinkableNodesResult : public ServiceResult
{
public:
struct ResultItem
{
int port;
std::string host;
};
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_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_GETSUGGESTSHRINKABLENODESRESULT_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_GETTRANSFERABLENODESREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_GETTRANSFERABLENODESREQUEST_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 GetTransferableNodesRequest : public RoaServiceRequest
{
public:
GetTransferableNodesRequest();
~GetTransferableNodesRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getNodeType()const;
void setNodeType(const std::string& nodeType);
int getCount()const;
void setCount(int count);
private:
std::string instanceId_;
std::string nodeType_;
int count_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_GETTRANSFERABLENODESREQUEST_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_GETTRANSFERABLENODESRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_GETTRANSFERABLENODESRESULT_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 GetTransferableNodesResult : public ServiceResult
{
public:
struct ResultItem
{
int port;
std::string host;
};
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_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_GETTRANSFERABLENODESRESULT_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_INSTALLKIBANASYSTEMPLUGINREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_INSTALLKIBANASYSTEMPLUGINREQUEST_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 InstallKibanaSystemPluginRequest : public RoaServiceRequest
{
public:
InstallKibanaSystemPluginRequest();
~InstallKibanaSystemPluginRequest();
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_INSTALLKIBANASYSTEMPLUGINREQUEST_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_INSTALLKIBANASYSTEMPLUGINRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_INSTALLKIBANASYSTEMPLUGINRESULT_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 InstallKibanaSystemPluginResult : public ServiceResult
{
public:
InstallKibanaSystemPluginResult();
explicit InstallKibanaSystemPluginResult(const std::string &payload);
~InstallKibanaSystemPluginResult();
std::vector<std::string> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_INSTALLKIBANASYSTEMPLUGINRESULT_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_INSTALLSYSTEMPLUGINREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_INSTALLSYSTEMPLUGINREQUEST_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 InstallSystemPluginRequest : public RoaServiceRequest
{
public:
InstallSystemPluginRequest();
~InstallSystemPluginRequest();
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_INSTALLSYSTEMPLUGINREQUEST_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_INSTALLSYSTEMPLUGINRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_INSTALLSYSTEMPLUGINRESULT_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 InstallSystemPluginResult : public ServiceResult
{
public:
InstallSystemPluginResult();
explicit InstallSystemPluginResult(const std::string &payload);
~InstallSystemPluginResult();
std::vector<std::string> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_INSTALLSYSTEMPLUGINRESULT_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_INSTALLUSERPLUGINSREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_INSTALLUSERPLUGINSREQUEST_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 InstallUserPluginsRequest : public RoaServiceRequest
{
public:
InstallUserPluginsRequest();
~InstallUserPluginsRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_INSTALLUSERPLUGINSREQUEST_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_INSTALLUSERPLUGINSRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_INSTALLUSERPLUGINSRESULT_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 InstallUserPluginsResult : public ServiceResult
{
public:
InstallUserPluginsResult();
explicit InstallUserPluginsResult(const std::string &payload);
~InstallUserPluginsResult();
std::vector<std::string> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_INSTALLUSERPLUGINSRESULT_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_LISTALLNODEREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTALLNODEREQUEST_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 ListAllNodeRequest : public RoaServiceRequest
{
public:
ListAllNodeRequest();
~ListAllNodeRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTALLNODEREQUEST_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_LISTALLNODERESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTALLNODERESULT_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 ListAllNodeResult : public ServiceResult
{
public:
struct ResultItem
{
std::string zoneId;
std::string loadFiveM;
std::string health;
int port;
std::string nodeType;
std::string heapPercent;
std::string host;
std::string cpuPercent;
};
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_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTALLNODERESULT_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_LISTINSTANCEREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTINSTANCEREQUEST_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 ListInstanceRequest : public RoaServiceRequest
{
public:
ListInstanceRequest();
~ListInstanceRequest();
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 getEsVersion()const;
void setEsVersion(const std::string& esVersion);
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);
private:
std::string resourceGroupId_;
std::string instanceId_;
int size_;
std::string esVersion_;
std::string description_;
int page_;
std::string ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTINSTANCEREQUEST_H_

View File

@@ -0,0 +1,101 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_LISTINSTANCERESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTINSTANCERESULT_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 ListInstanceResult : public ServiceResult
{
public:
struct Headers
{
int xTotalCount;
};
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;
};
struct MasterConfiguration
{
std::string diskType;
int amount;
std::string spec;
int disk;
};
struct KibanaConfiguration
{
std::string diskType;
int amount;
std::string spec;
int disk;
};
MasterConfiguration masterConfiguration;
std::string status;
std::string description;
std::string instanceId;
bool dedicateMaster;
std::string createdAt;
NetworkConfig networkConfig;
int nodeAmount;
std::string esVersion;
std::string updatedAt;
KibanaConfiguration kibanaConfiguration;
bool advancedDedicateMaster;
NodeSpec nodeSpec;
std::string paymentType;
};
ListInstanceResult();
explicit ListInstanceResult(const std::string &payload);
~ListInstanceResult();
Headers getHeaders()const;
std::vector<Instance> getResult()const;
protected:
void parse(const std::string &payload);
private:
Headers headers_;
std::vector<Instance> result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTINSTANCERESULT_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_LISTKIBANAPLUGINSREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTKIBANAPLUGINSREQUEST_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 ListKibanaPluginsRequest : public RoaServiceRequest
{
public:
ListKibanaPluginsRequest();
~ListKibanaPluginsRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
int getSize()const;
void setSize(int size);
std::string getPage()const;
void setPage(const std::string& page);
private:
std::string instanceId_;
int size_;
std::string page_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTKIBANAPLUGINSREQUEST_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTKIBANAPLUGINSRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTKIBANAPLUGINSRESULT_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 ListKibanaPluginsResult : public ServiceResult
{
public:
struct Headers
{
int xTotalCount;
};
struct PluginItem
{
std::string description;
std::string specificationUrl;
std::string state;
std::string source;
std::string name;
};
ListKibanaPluginsResult();
explicit ListKibanaPluginsResult(const std::string &payload);
~ListKibanaPluginsResult();
Headers getHeaders()const;
std::vector<PluginItem> getResult()const;
protected:
void parse(const std::string &payload);
private:
Headers headers_;
std::vector<PluginItem> result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTKIBANAPLUGINSRESULT_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_LISTPLUGINSREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTPLUGINSREQUEST_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 ListPluginsRequest : public RoaServiceRequest
{
public:
ListPluginsRequest();
~ListPluginsRequest();
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_LISTPLUGINSREQUEST_H_

View File

@@ -0,0 +1,64 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_LISTPLUGINSRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTPLUGINSRESULT_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 ListPluginsResult : public ServiceResult
{
public:
struct Headers
{
int xTotalCount;
};
struct ResultItem
{
std::string description;
std::string state;
std::string source;
std::string name;
};
ListPluginsResult();
explicit ListPluginsResult(const std::string &payload);
~ListPluginsResult();
Headers getHeaders()const;
std::vector<ResultItem> getResult()const;
protected:
void parse(const std::string &payload);
private:
Headers headers_;
std::vector<ResultItem> result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTPLUGINSRESULT_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_LISTSEARCHLOGREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTSEARCHLOGREQUEST_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 ListSearchLogRequest : public RoaServiceRequest
{
public:
ListSearchLogRequest();
~ListSearchLogRequest();
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_LISTSEARCHLOGREQUEST_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTSEARCHLOGRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTSEARCHLOGRESULT_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 ListSearchLogResult : public ServiceResult
{
public:
struct Headers
{
int xTotalCount;
};
struct ResultItem
{
std::string instanceId;
std::string content;
std::string host;
std::string level;
long timestamp;
};
ListSearchLogResult();
explicit ListSearchLogResult(const std::string &payload);
~ListSearchLogResult();
Headers getHeaders()const;
std::vector<ResultItem> getResult()const;
protected:
void parse(const std::string &payload);
private:
Headers headers_;
std::vector<ResultItem> result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_LISTSEARCHLOGRESULT_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_MOVERESOURCEGROUPREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_MOVERESOURCEGROUPREQUEST_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 MoveResourceGroupRequest : public RoaServiceRequest
{
public:
MoveResourceGroupRequest();
~MoveResourceGroupRequest();
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_MOVERESOURCEGROUPREQUEST_H_

View File

@@ -0,0 +1,114 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_MOVERESOURCEGROUPRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_MOVERESOURCEGROUPRESULT_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 MoveResourceGroupResult : 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 KibanaConfiguration
{
std::string diskType;
int amount;
std::string spec;
int disk;
};
struct MasterConfiguration
{
std::string diskType;
int amount;
std::string spec;
int disk;
};
struct DictListItem
{
std::string type;
std::string sourceType;
std::string name;
long fileSize;
};
struct SynonymsDictsItem
{
std::string type;
std::string sourceType;
std::string name;
long fileSize;
};
MasterConfiguration masterConfiguration;
std::string status;
std::string description;
std::string instanceId;
int kibanaPort;
std::string createdAt;
NetworkConfig networkConfig;
int nodeAmount;
std::string esVersion;
std::string updatedAt;
std::vector<DictListItem> dictList;
std::string kibanaDomain;
std::string publicDomain;
KibanaConfiguration kibanaConfiguration;
NodeSpec nodeSpec;
std::string paymentType;
std::vector<SynonymsDictsItem> synonymsDicts;
std::string domain;
int publicPort;
};
MoveResourceGroupResult();
explicit MoveResourceGroupResult(const std::string &payload);
~MoveResourceGroupResult();
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_MOVERESOURCEGROUPRESULT_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_OPENHTTPSREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_OPENHTTPSREQUEST_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 OpenHttpsRequest : public RoaServiceRequest
{
public:
OpenHttpsRequest();
~OpenHttpsRequest();
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_OPENHTTPSREQUEST_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_OPENHTTPSRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_OPENHTTPSRESULT_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 OpenHttpsResult : public ServiceResult
{
public:
OpenHttpsResult();
explicit OpenHttpsResult(const std::string &payload);
~OpenHttpsResult();
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
bool result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_OPENHTTPSRESULT_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_RESTARTINSTANCEREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_RESTARTINSTANCEREQUEST_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 RestartInstanceRequest : public RoaServiceRequest
{
public:
RestartInstanceRequest();
~RestartInstanceRequest();
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_RESTARTINSTANCEREQUEST_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_RESTARTINSTANCERESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_RESTARTINSTANCERESULT_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 RestartInstanceResult : public ServiceResult
{
public:
RestartInstanceResult();
explicit RestartInstanceResult(const std::string &payload);
~RestartInstanceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_RESTARTINSTANCERESULT_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_ROLLBACKINSTANCEREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_ROLLBACKINSTANCEREQUEST_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 RollbackInstanceRequest : public RoaServiceRequest
{
public:
RollbackInstanceRequest();
~RollbackInstanceRequest();
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_ROLLBACKINSTANCEREQUEST_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_ROLLBACKINSTANCERESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_ROLLBACKINSTANCERESULT_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 RollbackInstanceResult : public ServiceResult
{
public:
struct Result
{
struct NodeSpec
{
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;
NodeSpec nodeSpec;
std::string createdAt;
NetworkConfig networkConfig;
std::string paymentType;
std::string domain;
int nodeAmount;
std::string esVersion;
std::string updatedAt;
};
RollbackInstanceResult();
explicit RollbackInstanceResult(const std::string &payload);
~RollbackInstanceResult();
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_ROLLBACKINSTANCERESULT_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_SHRINKNODEREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_SHRINKNODEREQUEST_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 ShrinkNodeRequest : public RoaServiceRequest
{
public:
ShrinkNodeRequest();
~ShrinkNodeRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getNodeType()const;
void setNodeType(const std::string& nodeType);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
private:
std::string instanceId_;
std::string nodeType_;
std::string clientToken_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_SHRINKNODEREQUEST_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_SHRINKNODERESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_SHRINKNODERESULT_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 ShrinkNodeResult : public ServiceResult
{
public:
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_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_SHRINKNODERESULT_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_TRANSFERNODEREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_TRANSFERNODEREQUEST_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 TransferNodeRequest : public RoaServiceRequest
{
public:
TransferNodeRequest();
~TransferNodeRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getNodeType()const;
void setNodeType(const std::string& nodeType);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
private:
std::string instanceId_;
std::string nodeType_;
std::string clientToken_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_TRANSFERNODEREQUEST_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_TRANSFERNODERESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_TRANSFERNODERESULT_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 TransferNodeResult : public ServiceResult
{
public:
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_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_TRANSFERNODERESULT_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_TRIGGERNETWORKREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_TRIGGERNETWORKREQUEST_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 TriggerNetworkRequest : public RoaServiceRequest
{
public:
TriggerNetworkRequest();
~TriggerNetworkRequest();
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_TRIGGERNETWORKREQUEST_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_TRIGGERNETWORKRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_TRIGGERNETWORKRESULT_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 TriggerNetworkResult : public ServiceResult
{
public:
TriggerNetworkResult();
explicit TriggerNetworkResult(const std::string &payload);
~TriggerNetworkResult();
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
bool result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_TRIGGERNETWORKRESULT_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_UNINSTALLKIBANAPLUGINREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UNINSTALLKIBANAPLUGINREQUEST_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 UninstallKibanaPluginRequest : public RoaServiceRequest
{
public:
UninstallKibanaPluginRequest();
~UninstallKibanaPluginRequest();
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_UNINSTALLKIBANAPLUGINREQUEST_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_UNINSTALLKIBANAPLUGINRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UNINSTALLKIBANAPLUGINRESULT_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 UninstallKibanaPluginResult : public ServiceResult
{
public:
UninstallKibanaPluginResult();
explicit UninstallKibanaPluginResult(const std::string &payload);
~UninstallKibanaPluginResult();
std::vector<std::string> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UNINSTALLKIBANAPLUGINRESULT_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_UNINSTALLPLUGINREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UNINSTALLPLUGINREQUEST_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 UninstallPluginRequest : public RoaServiceRequest
{
public:
UninstallPluginRequest();
~UninstallPluginRequest();
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_UNINSTALLPLUGINREQUEST_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_UNINSTALLPLUGINRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UNINSTALLPLUGINRESULT_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 UninstallPluginResult : public ServiceResult
{
public:
UninstallPluginResult();
explicit UninstallPluginResult(const std::string &payload);
~UninstallPluginResult();
std::vector<std::string> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UNINSTALLPLUGINRESULT_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_UPDATEADMINPASSWORDREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEADMINPASSWORDREQUEST_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 UpdateAdminPasswordRequest : public RoaServiceRequest
{
public:
UpdateAdminPasswordRequest();
~UpdateAdminPasswordRequest();
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_UPDATEADMINPASSWORDREQUEST_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_UPDATEADMINPASSWORDRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEADMINPASSWORDRESULT_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 UpdateAdminPasswordResult : public ServiceResult
{
public:
UpdateAdminPasswordResult();
explicit UpdateAdminPasswordResult(const std::string &payload);
~UpdateAdminPasswordResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEADMINPASSWORDRESULT_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_UPDATEADVANCEDSETTINGREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEADVANCEDSETTINGREQUEST_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 UpdateAdvancedSettingRequest : public RoaServiceRequest
{
public:
UpdateAdvancedSettingRequest();
~UpdateAdvancedSettingRequest();
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_UPDATEADVANCEDSETTINGREQUEST_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_UPDATEADVANCEDSETTINGRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEADVANCEDSETTINGRESULT_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 UpdateAdvancedSettingResult : public ServiceResult
{
public:
UpdateAdvancedSettingResult();
explicit UpdateAdvancedSettingResult(const std::string &payload);
~UpdateAdvancedSettingResult();
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
bool result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEADVANCEDSETTINGRESULT_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_UPDATEALIWSDICTREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEALIWSDICTREQUEST_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 UpdateAliwsDictRequest : public RoaServiceRequest
{
public:
UpdateAliwsDictRequest();
~UpdateAliwsDictRequest();
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_UPDATEALIWSDICTREQUEST_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEALIWSDICTRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEALIWSDICTRESULT_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 UpdateAliwsDictResult : public ServiceResult
{
public:
struct DictList
{
struct OssObject
{
std::string bucketName;
std::string etag;
std::string key;
};
std::string type;
std::string sourceType;
OssObject ossObject;
std::string name;
long fileSize;
};
UpdateAliwsDictResult();
explicit UpdateAliwsDictResult(const std::string &payload);
~UpdateAliwsDictResult();
std::vector<DictList> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DictList> result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEALIWSDICTRESULT_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_UPDATEBLACKIPSREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEBLACKIPSREQUEST_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 UpdateBlackIpsRequest : public RoaServiceRequest
{
public:
UpdateBlackIpsRequest();
~UpdateBlackIpsRequest();
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_UPDATEBLACKIPSREQUEST_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_UPDATEBLACKIPSRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEBLACKIPSRESULT_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 UpdateBlackIpsResult : public ServiceResult
{
public:
struct Result
{
std::vector<std::string> esIPBlacklist;
};
UpdateBlackIpsResult();
explicit UpdateBlackIpsResult(const std::string &payload);
~UpdateBlackIpsResult();
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEBLACKIPSRESULT_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_UPDATEDESCRIPTIONREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEDESCRIPTIONREQUEST_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 UpdateDescriptionRequest : public RoaServiceRequest
{
public:
UpdateDescriptionRequest();
~UpdateDescriptionRequest();
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_UPDATEDESCRIPTIONREQUEST_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_UPDATEDESCRIPTIONRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEDESCRIPTIONRESULT_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 UpdateDescriptionResult : public ServiceResult
{
public:
struct Result
{
std::string description;
};
UpdateDescriptionResult();
explicit UpdateDescriptionResult(const std::string &payload);
~UpdateDescriptionResult();
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEDESCRIPTIONRESULT_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_UPDATEDICTREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEDICTREQUEST_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 UpdateDictRequest : public RoaServiceRequest
{
public:
UpdateDictRequest();
~UpdateDictRequest();
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_UPDATEDICTREQUEST_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEDICTRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEDICTRESULT_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 UpdateDictResult : public ServiceResult
{
public:
struct DictList
{
struct OssObject
{
std::string bucketName;
std::string etag;
std::string key;
};
std::string type;
std::string sourceType;
OssObject ossObject;
std::string name;
long fileSize;
};
UpdateDictResult();
explicit UpdateDictResult(const std::string &payload);
~UpdateDictResult();
std::vector<DictList> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DictList> result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEDICTRESULT_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_UPDATEHOTIKDICTSREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEHOTIKDICTSREQUEST_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 UpdateHotIkDictsRequest : public RoaServiceRequest
{
public:
UpdateHotIkDictsRequest();
~UpdateHotIkDictsRequest();
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_UPDATEHOTIKDICTSREQUEST_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEHOTIKDICTSRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEHOTIKDICTSRESULT_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 UpdateHotIkDictsResult : public ServiceResult
{
public:
struct DictList
{
struct OssObject
{
std::string bucketName;
std::string etag;
std::string key;
};
std::string type;
std::string sourceType;
OssObject ossObject;
std::string name;
long fileSize;
};
UpdateHotIkDictsResult();
explicit UpdateHotIkDictsResult(const std::string &payload);
~UpdateHotIkDictsResult();
std::vector<DictList> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DictList> result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEHOTIKDICTSRESULT_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_UPDATEINSTANCEREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEINSTANCEREQUEST_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 UpdateInstanceRequest : public RoaServiceRequest
{
public:
UpdateInstanceRequest();
~UpdateInstanceRequest();
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_UPDATEINSTANCEREQUEST_H_

View File

@@ -0,0 +1,114 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_UPDATEINSTANCERESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEINSTANCERESULT_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 UpdateInstanceResult : 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 KibanaConfiguration
{
std::string diskType;
int amount;
std::string spec;
int disk;
};
struct MasterConfiguration
{
std::string diskType;
int amount;
std::string spec;
int disk;
};
struct DictListItem
{
std::string type;
std::string sourceType;
std::string name;
long fileSize;
};
struct SynonymsDictsItem
{
std::string type;
std::string sourceType;
std::string name;
long fileSize;
};
MasterConfiguration masterConfiguration;
std::string status;
std::string description;
std::string instanceId;
int kibanaPort;
std::string createdAt;
NetworkConfig networkConfig;
int nodeAmount;
std::string esVersion;
std::string updatedAt;
std::vector<DictListItem> dictList;
std::string kibanaDomain;
std::string publicDomain;
KibanaConfiguration kibanaConfiguration;
NodeSpec nodeSpec;
std::string paymentType;
std::vector<SynonymsDictsItem> synonymsDicts;
std::string domain;
int publicPort;
};
UpdateInstanceResult();
explicit UpdateInstanceResult(const std::string &payload);
~UpdateInstanceResult();
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEINSTANCERESULT_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_UPDATEINSTANCESETTINGSREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEINSTANCESETTINGSREQUEST_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 UpdateInstanceSettingsRequest : public RoaServiceRequest
{
public:
UpdateInstanceSettingsRequest();
~UpdateInstanceSettingsRequest();
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_UPDATEINSTANCESETTINGSREQUEST_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_UPDATEINSTANCESETTINGSRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEINSTANCESETTINGSRESULT_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 UpdateInstanceSettingsResult : public ServiceResult
{
public:
UpdateInstanceSettingsResult();
explicit UpdateInstanceSettingsResult(const std::string &payload);
~UpdateInstanceSettingsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEINSTANCESETTINGSRESULT_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_UPDATEKIBANASETTINGSREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEKIBANASETTINGSREQUEST_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 UpdateKibanaSettingsRequest : public RoaServiceRequest
{
public:
UpdateKibanaSettingsRequest();
~UpdateKibanaSettingsRequest();
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_UPDATEKIBANASETTINGSREQUEST_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_UPDATEKIBANASETTINGSRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEKIBANASETTINGSRESULT_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 UpdateKibanaSettingsResult : public ServiceResult
{
public:
UpdateKibanaSettingsResult();
explicit UpdateKibanaSettingsResult(const std::string &payload);
~UpdateKibanaSettingsResult();
bool getResult()const;
protected:
void parse(const std::string &payload);
private:
bool result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEKIBANASETTINGSRESULT_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_UPDATEKIBANAWHITEIPSREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEKIBANAWHITEIPSREQUEST_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 UpdateKibanaWhiteIpsRequest : public RoaServiceRequest
{
public:
UpdateKibanaWhiteIpsRequest();
~UpdateKibanaWhiteIpsRequest();
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_UPDATEKIBANAWHITEIPSREQUEST_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_UPDATEKIBANAWHITEIPSRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEKIBANAWHITEIPSRESULT_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 UpdateKibanaWhiteIpsResult : public ServiceResult
{
public:
struct Result
{
std::vector<std::string> kibanaIPWhitelist;
};
UpdateKibanaWhiteIpsResult();
explicit UpdateKibanaWhiteIpsResult(const std::string &payload);
~UpdateKibanaWhiteIpsResult();
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEKIBANAWHITEIPSRESULT_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_UPDATEPRIVATENETWORKWHITEIPSREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEPRIVATENETWORKWHITEIPSREQUEST_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 UpdatePrivateNetworkWhiteIpsRequest : public RoaServiceRequest
{
public:
UpdatePrivateNetworkWhiteIpsRequest();
~UpdatePrivateNetworkWhiteIpsRequest();
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_UPDATEPRIVATENETWORKWHITEIPSREQUEST_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_UPDATEPRIVATENETWORKWHITEIPSRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEPRIVATENETWORKWHITEIPSRESULT_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 UpdatePrivateNetworkWhiteIpsResult : public ServiceResult
{
public:
struct Result
{
std::vector<std::string> privateNetworkIpWhiteList;
};
UpdatePrivateNetworkWhiteIpsResult();
explicit UpdatePrivateNetworkWhiteIpsResult(const std::string &payload);
~UpdatePrivateNetworkWhiteIpsResult();
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEPRIVATENETWORKWHITEIPSRESULT_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_UPDATEPUBLICNETWORKREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEPUBLICNETWORKREQUEST_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 UpdatePublicNetworkRequest : public RoaServiceRequest
{
public:
UpdatePublicNetworkRequest();
~UpdatePublicNetworkRequest();
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_UPDATEPUBLICNETWORKREQUEST_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_UPDATEPUBLICNETWORKRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEPUBLICNETWORKRESULT_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 UpdatePublicNetworkResult : public ServiceResult
{
public:
struct Result
{
bool enablePublic;
};
UpdatePublicNetworkResult();
explicit UpdatePublicNetworkResult(const std::string &payload);
~UpdatePublicNetworkResult();
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEPUBLICNETWORKRESULT_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_UPDATEPUBLICWHITEIPSREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEPUBLICWHITEIPSREQUEST_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 UpdatePublicWhiteIpsRequest : public RoaServiceRequest
{
public:
UpdatePublicWhiteIpsRequest();
~UpdatePublicWhiteIpsRequest();
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_UPDATEPUBLICWHITEIPSREQUEST_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_UPDATEPUBLICWHITEIPSRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEPUBLICWHITEIPSRESULT_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 UpdatePublicWhiteIpsResult : public ServiceResult
{
public:
struct Result
{
std::vector<std::string> publicIpWhitelist;
};
UpdatePublicWhiteIpsResult();
explicit UpdatePublicWhiteIpsResult(const std::string &payload);
~UpdatePublicWhiteIpsResult();
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEPUBLICWHITEIPSRESULT_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_UPDATESNAPSHOTSETTINGREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATESNAPSHOTSETTINGREQUEST_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 UpdateSnapshotSettingRequest : public RoaServiceRequest
{
public:
UpdateSnapshotSettingRequest();
~UpdateSnapshotSettingRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATESNAPSHOTSETTINGREQUEST_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_UPDATESNAPSHOTSETTINGRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATESNAPSHOTSETTINGRESULT_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 UpdateSnapshotSettingResult : public ServiceResult
{
public:
struct Result
{
bool enable;
std::string quartzRegex;
};
UpdateSnapshotSettingResult();
explicit UpdateSnapshotSettingResult(const std::string &payload);
~UpdateSnapshotSettingResult();
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATESNAPSHOTSETTINGRESULT_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_UPDATESYNONYMSDICTSREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATESYNONYMSDICTSREQUEST_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 UpdateSynonymsDictsRequest : public RoaServiceRequest
{
public:
UpdateSynonymsDictsRequest();
~UpdateSynonymsDictsRequest();
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_UPDATESYNONYMSDICTSREQUEST_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATESYNONYMSDICTSRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATESYNONYMSDICTSRESULT_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 UpdateSynonymsDictsResult : public ServiceResult
{
public:
struct DictList
{
struct OssObject
{
std::string bucketName;
std::string etag;
std::string key;
};
std::string type;
std::string sourceType;
OssObject ossObject;
std::string name;
long fileSize;
};
UpdateSynonymsDictsResult();
explicit UpdateSynonymsDictsResult(const std::string &payload);
~UpdateSynonymsDictsResult();
std::vector<DictList> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DictList> result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATESYNONYMSDICTSRESULT_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_UPDATEWHITEIPSREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEWHITEIPSREQUEST_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 UpdateWhiteIpsRequest : public RoaServiceRequest
{
public:
UpdateWhiteIpsRequest();
~UpdateWhiteIpsRequest();
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_UPDATEWHITEIPSREQUEST_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_UPDATEWHITEIPSRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEWHITEIPSRESULT_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 UpdateWhiteIpsResult : public ServiceResult
{
public:
struct Result
{
std::vector<std::string> esIPWhitelist;
};
UpdateWhiteIpsResult();
explicit UpdateWhiteIpsResult(const std::string &payload);
~UpdateWhiteIpsResult();
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_UPDATEWHITEIPSRESULT_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_VALIDATESHRINKNODESREQUEST_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_VALIDATESHRINKNODESREQUEST_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 ValidateShrinkNodesRequest : public RoaServiceRequest
{
public:
ValidateShrinkNodesRequest();
~ValidateShrinkNodesRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getNodeType()const;
void setNodeType(const std::string& nodeType);
private:
std::string instanceId_;
std::string nodeType_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_VALIDATESHRINKNODESREQUEST_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_VALIDATESHRINKNODESRESULT_H_
#define ALIBABACLOUD_ELASTICSEARCH_MODEL_VALIDATESHRINKNODESRESULT_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 ValidateShrinkNodesResult : public ServiceResult
{
public:
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_;
};
}
}
}
#endif // !ALIBABACLOUD_ELASTICSEARCH_MODEL_VALIDATESHRINKNODESRESULT_H_

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