Added ElasticSearch Serverless SDK.
This commit is contained in:
@@ -0,0 +1,182 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ES_SERVERLESS_ES_SERVERLESSCLIENT_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_ES_SERVERLESSCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RoaServiceClient.h>
|
||||
#include "Es_serverlessExport.h"
|
||||
#include "model/CreateAppRequest.h"
|
||||
#include "model/CreateAppResult.h"
|
||||
#include "model/CreateDataStreamRequest.h"
|
||||
#include "model/CreateDataStreamResult.h"
|
||||
#include "model/DeleteAccessTokenRequest.h"
|
||||
#include "model/DeleteAccessTokenResult.h"
|
||||
#include "model/DeleteAppRequest.h"
|
||||
#include "model/DeleteAppResult.h"
|
||||
#include "model/DeleteDataStreamRequest.h"
|
||||
#include "model/DeleteDataStreamResult.h"
|
||||
#include "model/DescibeRegionsRequest.h"
|
||||
#include "model/DescibeRegionsResult.h"
|
||||
#include "model/DisableAccessTokenRequest.h"
|
||||
#include "model/DisableAccessTokenResult.h"
|
||||
#include "model/EnableAccessTokenRequest.h"
|
||||
#include "model/EnableAccessTokenResult.h"
|
||||
#include "model/GenerateAcccessTokenRequest.h"
|
||||
#include "model/GenerateAcccessTokenResult.h"
|
||||
#include "model/GetAppRequest.h"
|
||||
#include "model/GetAppResult.h"
|
||||
#include "model/GetDataStreamRequest.h"
|
||||
#include "model/GetDataStreamResult.h"
|
||||
#include "model/GetRegionInfoRequest.h"
|
||||
#include "model/GetRegionInfoResult.h"
|
||||
#include "model/ListAccessTokensRequest.h"
|
||||
#include "model/ListAccessTokensResult.h"
|
||||
#include "model/ListAppsRequest.h"
|
||||
#include "model/ListAppsResult.h"
|
||||
#include "model/ListDataStreamsRequest.h"
|
||||
#include "model/ListDataStreamsResult.h"
|
||||
#include "model/UpdateAppRequest.h"
|
||||
#include "model/UpdateAppResult.h"
|
||||
#include "model/UpdateDataStreamRequest.h"
|
||||
#include "model/UpdateDataStreamResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Es_serverless
|
||||
{
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT Es_serverlessClient : public RoaServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::CreateAppResult> CreateAppOutcome;
|
||||
typedef std::future<CreateAppOutcome> CreateAppOutcomeCallable;
|
||||
typedef std::function<void(const Es_serverlessClient*, const Model::CreateAppRequest&, const CreateAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAppAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDataStreamResult> CreateDataStreamOutcome;
|
||||
typedef std::future<CreateDataStreamOutcome> CreateDataStreamOutcomeCallable;
|
||||
typedef std::function<void(const Es_serverlessClient*, const Model::CreateDataStreamRequest&, const CreateDataStreamOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDataStreamAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteAccessTokenResult> DeleteAccessTokenOutcome;
|
||||
typedef std::future<DeleteAccessTokenOutcome> DeleteAccessTokenOutcomeCallable;
|
||||
typedef std::function<void(const Es_serverlessClient*, const Model::DeleteAccessTokenRequest&, const DeleteAccessTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAccessTokenAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteAppResult> DeleteAppOutcome;
|
||||
typedef std::future<DeleteAppOutcome> DeleteAppOutcomeCallable;
|
||||
typedef std::function<void(const Es_serverlessClient*, const Model::DeleteAppRequest&, const DeleteAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAppAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDataStreamResult> DeleteDataStreamOutcome;
|
||||
typedef std::future<DeleteDataStreamOutcome> DeleteDataStreamOutcomeCallable;
|
||||
typedef std::function<void(const Es_serverlessClient*, const Model::DeleteDataStreamRequest&, const DeleteDataStreamOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDataStreamAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescibeRegionsResult> DescibeRegionsOutcome;
|
||||
typedef std::future<DescibeRegionsOutcome> DescibeRegionsOutcomeCallable;
|
||||
typedef std::function<void(const Es_serverlessClient*, const Model::DescibeRegionsRequest&, const DescibeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescibeRegionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DisableAccessTokenResult> DisableAccessTokenOutcome;
|
||||
typedef std::future<DisableAccessTokenOutcome> DisableAccessTokenOutcomeCallable;
|
||||
typedef std::function<void(const Es_serverlessClient*, const Model::DisableAccessTokenRequest&, const DisableAccessTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableAccessTokenAsyncHandler;
|
||||
typedef Outcome<Error, Model::EnableAccessTokenResult> EnableAccessTokenOutcome;
|
||||
typedef std::future<EnableAccessTokenOutcome> EnableAccessTokenOutcomeCallable;
|
||||
typedef std::function<void(const Es_serverlessClient*, const Model::EnableAccessTokenRequest&, const EnableAccessTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableAccessTokenAsyncHandler;
|
||||
typedef Outcome<Error, Model::GenerateAcccessTokenResult> GenerateAcccessTokenOutcome;
|
||||
typedef std::future<GenerateAcccessTokenOutcome> GenerateAcccessTokenOutcomeCallable;
|
||||
typedef std::function<void(const Es_serverlessClient*, const Model::GenerateAcccessTokenRequest&, const GenerateAcccessTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GenerateAcccessTokenAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAppResult> GetAppOutcome;
|
||||
typedef std::future<GetAppOutcome> GetAppOutcomeCallable;
|
||||
typedef std::function<void(const Es_serverlessClient*, const Model::GetAppRequest&, const GetAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAppAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDataStreamResult> GetDataStreamOutcome;
|
||||
typedef std::future<GetDataStreamOutcome> GetDataStreamOutcomeCallable;
|
||||
typedef std::function<void(const Es_serverlessClient*, const Model::GetDataStreamRequest&, const GetDataStreamOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDataStreamAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetRegionInfoResult> GetRegionInfoOutcome;
|
||||
typedef std::future<GetRegionInfoOutcome> GetRegionInfoOutcomeCallable;
|
||||
typedef std::function<void(const Es_serverlessClient*, const Model::GetRegionInfoRequest&, const GetRegionInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRegionInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListAccessTokensResult> ListAccessTokensOutcome;
|
||||
typedef std::future<ListAccessTokensOutcome> ListAccessTokensOutcomeCallable;
|
||||
typedef std::function<void(const Es_serverlessClient*, const Model::ListAccessTokensRequest&, const ListAccessTokensOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAccessTokensAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListAppsResult> ListAppsOutcome;
|
||||
typedef std::future<ListAppsOutcome> ListAppsOutcomeCallable;
|
||||
typedef std::function<void(const Es_serverlessClient*, const Model::ListAppsRequest&, const ListAppsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAppsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDataStreamsResult> ListDataStreamsOutcome;
|
||||
typedef std::future<ListDataStreamsOutcome> ListDataStreamsOutcomeCallable;
|
||||
typedef std::function<void(const Es_serverlessClient*, const Model::ListDataStreamsRequest&, const ListDataStreamsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDataStreamsAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateAppResult> UpdateAppOutcome;
|
||||
typedef std::future<UpdateAppOutcome> UpdateAppOutcomeCallable;
|
||||
typedef std::function<void(const Es_serverlessClient*, const Model::UpdateAppRequest&, const UpdateAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAppAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateDataStreamResult> UpdateDataStreamOutcome;
|
||||
typedef std::future<UpdateDataStreamOutcome> UpdateDataStreamOutcomeCallable;
|
||||
typedef std::function<void(const Es_serverlessClient*, const Model::UpdateDataStreamRequest&, const UpdateDataStreamOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDataStreamAsyncHandler;
|
||||
|
||||
Es_serverlessClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
Es_serverlessClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
Es_serverlessClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~Es_serverlessClient();
|
||||
CreateAppOutcome createApp(const Model::CreateAppRequest &request)const;
|
||||
void createAppAsync(const Model::CreateAppRequest& request, const CreateAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateAppOutcomeCallable createAppCallable(const Model::CreateAppRequest& request) const;
|
||||
CreateDataStreamOutcome createDataStream(const Model::CreateDataStreamRequest &request)const;
|
||||
void createDataStreamAsync(const Model::CreateDataStreamRequest& request, const CreateDataStreamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDataStreamOutcomeCallable createDataStreamCallable(const Model::CreateDataStreamRequest& request) const;
|
||||
DeleteAccessTokenOutcome deleteAccessToken(const Model::DeleteAccessTokenRequest &request)const;
|
||||
void deleteAccessTokenAsync(const Model::DeleteAccessTokenRequest& request, const DeleteAccessTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteAccessTokenOutcomeCallable deleteAccessTokenCallable(const Model::DeleteAccessTokenRequest& request) const;
|
||||
DeleteAppOutcome deleteApp(const Model::DeleteAppRequest &request)const;
|
||||
void deleteAppAsync(const Model::DeleteAppRequest& request, const DeleteAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteAppOutcomeCallable deleteAppCallable(const Model::DeleteAppRequest& request) const;
|
||||
DeleteDataStreamOutcome deleteDataStream(const Model::DeleteDataStreamRequest &request)const;
|
||||
void deleteDataStreamAsync(const Model::DeleteDataStreamRequest& request, const DeleteDataStreamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDataStreamOutcomeCallable deleteDataStreamCallable(const Model::DeleteDataStreamRequest& request) const;
|
||||
DescibeRegionsOutcome descibeRegions(const Model::DescibeRegionsRequest &request)const;
|
||||
void descibeRegionsAsync(const Model::DescibeRegionsRequest& request, const DescibeRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescibeRegionsOutcomeCallable descibeRegionsCallable(const Model::DescibeRegionsRequest& request) const;
|
||||
DisableAccessTokenOutcome disableAccessToken(const Model::DisableAccessTokenRequest &request)const;
|
||||
void disableAccessTokenAsync(const Model::DisableAccessTokenRequest& request, const DisableAccessTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DisableAccessTokenOutcomeCallable disableAccessTokenCallable(const Model::DisableAccessTokenRequest& request) const;
|
||||
EnableAccessTokenOutcome enableAccessToken(const Model::EnableAccessTokenRequest &request)const;
|
||||
void enableAccessTokenAsync(const Model::EnableAccessTokenRequest& request, const EnableAccessTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableAccessTokenOutcomeCallable enableAccessTokenCallable(const Model::EnableAccessTokenRequest& request) const;
|
||||
GenerateAcccessTokenOutcome generateAcccessToken(const Model::GenerateAcccessTokenRequest &request)const;
|
||||
void generateAcccessTokenAsync(const Model::GenerateAcccessTokenRequest& request, const GenerateAcccessTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GenerateAcccessTokenOutcomeCallable generateAcccessTokenCallable(const Model::GenerateAcccessTokenRequest& request) const;
|
||||
GetAppOutcome getApp(const Model::GetAppRequest &request)const;
|
||||
void getAppAsync(const Model::GetAppRequest& request, const GetAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAppOutcomeCallable getAppCallable(const Model::GetAppRequest& request) const;
|
||||
GetDataStreamOutcome getDataStream(const Model::GetDataStreamRequest &request)const;
|
||||
void getDataStreamAsync(const Model::GetDataStreamRequest& request, const GetDataStreamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDataStreamOutcomeCallable getDataStreamCallable(const Model::GetDataStreamRequest& request) const;
|
||||
GetRegionInfoOutcome getRegionInfo(const Model::GetRegionInfoRequest &request)const;
|
||||
void getRegionInfoAsync(const Model::GetRegionInfoRequest& request, const GetRegionInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetRegionInfoOutcomeCallable getRegionInfoCallable(const Model::GetRegionInfoRequest& request) const;
|
||||
ListAccessTokensOutcome listAccessTokens(const Model::ListAccessTokensRequest &request)const;
|
||||
void listAccessTokensAsync(const Model::ListAccessTokensRequest& request, const ListAccessTokensAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListAccessTokensOutcomeCallable listAccessTokensCallable(const Model::ListAccessTokensRequest& request) const;
|
||||
ListAppsOutcome listApps(const Model::ListAppsRequest &request)const;
|
||||
void listAppsAsync(const Model::ListAppsRequest& request, const ListAppsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListAppsOutcomeCallable listAppsCallable(const Model::ListAppsRequest& request) const;
|
||||
ListDataStreamsOutcome listDataStreams(const Model::ListDataStreamsRequest &request)const;
|
||||
void listDataStreamsAsync(const Model::ListDataStreamsRequest& request, const ListDataStreamsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDataStreamsOutcomeCallable listDataStreamsCallable(const Model::ListDataStreamsRequest& request) const;
|
||||
UpdateAppOutcome updateApp(const Model::UpdateAppRequest &request)const;
|
||||
void updateAppAsync(const Model::UpdateAppRequest& request, const UpdateAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateAppOutcomeCallable updateAppCallable(const Model::UpdateAppRequest& request) const;
|
||||
UpdateDataStreamOutcome updateDataStream(const Model::UpdateDataStreamRequest &request)const;
|
||||
void updateDataStreamAsync(const Model::UpdateDataStreamRequest& request, const UpdateDataStreamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateDataStreamOutcomeCallable updateDataStreamCallable(const Model::UpdateDataStreamRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_ES_SERVERLESSCLIENT_H_
|
||||
@@ -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_ES_SERVERLESS_ES_SERVERLESSEXPORT_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_ES_SERVERLESSEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_ES_SERVERLESS_LIBRARY)
|
||||
# define ALIBABACLOUD_ES_SERVERLESS_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_ES_SERVERLESS_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_ES_SERVERLESS_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_ES_SERVERLESSEXPORT_H_
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ES_SERVERLESS_MODEL_CREATEAPPREQUEST_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_CREATEAPPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Es_serverless {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT CreateAppRequest : public RoaServiceRequest {
|
||||
public:
|
||||
CreateAppRequest();
|
||||
~CreateAppRequest();
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
|
||||
private:
|
||||
std::string body_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Es_serverless
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_CREATEAPPREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ES_SERVERLESS_MODEL_CREATEAPPRESULT_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_CREATEAPPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Es_serverless
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT CreateAppResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateAppResult();
|
||||
explicit CreateAppResult(const std::string &payload);
|
||||
~CreateAppResult();
|
||||
std::string getRequestId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_CREATEAPPRESULT_H_
|
||||
@@ -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_ES_SERVERLESS_MODEL_CREATEDATASTREAMREQUEST_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_CREATEDATASTREAMREQUEST_H_
|
||||
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Es_serverless {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT CreateDataStreamRequest : public RoaServiceRequest {
|
||||
public:
|
||||
CreateDataStreamRequest();
|
||||
~CreateDataStreamRequest();
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
|
||||
private:
|
||||
std::string appName_;
|
||||
std::string body_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Es_serverless
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_CREATEDATASTREAMREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ES_SERVERLESS_MODEL_CREATEDATASTREAMRESULT_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_CREATEDATASTREAMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Es_serverless
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT CreateDataStreamResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDataStreamResult();
|
||||
explicit CreateDataStreamResult(const std::string &payload);
|
||||
~CreateDataStreamResult();
|
||||
std::string getRequestId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_CREATEDATASTREAMRESULT_H_
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ES_SERVERLESS_MODEL_DELETEACCESSTOKENREQUEST_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_DELETEACCESSTOKENREQUEST_H_
|
||||
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Es_serverless {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT DeleteAccessTokenRequest : public RoaServiceRequest {
|
||||
public:
|
||||
DeleteAccessTokenRequest();
|
||||
~DeleteAccessTokenRequest();
|
||||
std::string getTokenId() const;
|
||||
void setTokenId(const std::string &tokenId);
|
||||
|
||||
private:
|
||||
std::string tokenId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Es_serverless
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_DELETEACCESSTOKENREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ES_SERVERLESS_MODEL_DELETEACCESSTOKENRESULT_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_DELETEACCESSTOKENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Es_serverless
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT DeleteAccessTokenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteAccessTokenResult();
|
||||
explicit DeleteAccessTokenResult(const std::string &payload);
|
||||
~DeleteAccessTokenResult();
|
||||
std::string getRequestId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_DELETEACCESSTOKENRESULT_H_
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ES_SERVERLESS_MODEL_DELETEAPPREQUEST_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_DELETEAPPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Es_serverless {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT DeleteAppRequest : public RoaServiceRequest {
|
||||
public:
|
||||
DeleteAppRequest();
|
||||
~DeleteAppRequest();
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
|
||||
private:
|
||||
std::string appName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Es_serverless
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_DELETEAPPREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ES_SERVERLESS_MODEL_DELETEAPPRESULT_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_DELETEAPPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Es_serverless
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT DeleteAppResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
std::string instanceId;
|
||||
};
|
||||
|
||||
|
||||
DeleteAppResult();
|
||||
explicit DeleteAppResult(const std::string &payload);
|
||||
~DeleteAppResult();
|
||||
std::string getRequestId()const;
|
||||
Result getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string requestId_;
|
||||
Result result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_DELETEAPPRESULT_H_
|
||||
@@ -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_ES_SERVERLESS_MODEL_DELETEDATASTREAMREQUEST_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_DELETEDATASTREAMREQUEST_H_
|
||||
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Es_serverless {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT DeleteDataStreamRequest : public RoaServiceRequest {
|
||||
public:
|
||||
DeleteDataStreamRequest();
|
||||
~DeleteDataStreamRequest();
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getDataStreamName() const;
|
||||
void setDataStreamName(const std::string &dataStreamName);
|
||||
|
||||
private:
|
||||
std::string appName_;
|
||||
std::string dataStreamName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Es_serverless
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_DELETEDATASTREAMREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ES_SERVERLESS_MODEL_DELETEDATASTREAMRESULT_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_DELETEDATASTREAMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Es_serverless
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT DeleteDataStreamResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteDataStreamResult();
|
||||
explicit DeleteDataStreamResult(const std::string &payload);
|
||||
~DeleteDataStreamResult();
|
||||
std::string getRequestId()const;
|
||||
bool getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string requestId_;
|
||||
bool result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_DELETEDATASTREAMRESULT_H_
|
||||
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ES_SERVERLESS_MODEL_DESCIBEREGIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_DESCIBEREGIONSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Es_serverless {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT DescibeRegionsRequest : public RoaServiceRequest {
|
||||
public:
|
||||
DescibeRegionsRequest();
|
||||
~DescibeRegionsRequest();
|
||||
|
||||
private:
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Es_serverless
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_DESCIBEREGIONSREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ES_SERVERLESS_MODEL_DESCIBEREGIONSRESULT_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_DESCIBEREGIONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Es_serverless
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT DescibeRegionsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct RegionInfo
|
||||
{
|
||||
std::string endpoint;
|
||||
std::string regionId;
|
||||
std::string localName;
|
||||
};
|
||||
|
||||
|
||||
DescibeRegionsResult();
|
||||
explicit DescibeRegionsResult(const std::string &payload);
|
||||
~DescibeRegionsResult();
|
||||
std::vector<RegionInfo> getresult()const;
|
||||
std::string getRequestId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<RegionInfo> result_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_DESCIBEREGIONSRESULT_H_
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ES_SERVERLESS_MODEL_DISABLEACCESSTOKENREQUEST_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_DISABLEACCESSTOKENREQUEST_H_
|
||||
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Es_serverless {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT DisableAccessTokenRequest : public RoaServiceRequest {
|
||||
public:
|
||||
DisableAccessTokenRequest();
|
||||
~DisableAccessTokenRequest();
|
||||
std::string getTokenId() const;
|
||||
void setTokenId(const std::string &tokenId);
|
||||
|
||||
private:
|
||||
std::string tokenId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Es_serverless
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_DISABLEACCESSTOKENREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ES_SERVERLESS_MODEL_DISABLEACCESSTOKENRESULT_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_DISABLEACCESSTOKENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Es_serverless
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT DisableAccessTokenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DisableAccessTokenResult();
|
||||
explicit DisableAccessTokenResult(const std::string &payload);
|
||||
~DisableAccessTokenResult();
|
||||
std::string getRequestId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_DISABLEACCESSTOKENRESULT_H_
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ES_SERVERLESS_MODEL_ENABLEACCESSTOKENREQUEST_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_ENABLEACCESSTOKENREQUEST_H_
|
||||
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Es_serverless {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT EnableAccessTokenRequest : public RoaServiceRequest {
|
||||
public:
|
||||
EnableAccessTokenRequest();
|
||||
~EnableAccessTokenRequest();
|
||||
std::string getTokenId() const;
|
||||
void setTokenId(const std::string &tokenId);
|
||||
|
||||
private:
|
||||
std::string tokenId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Es_serverless
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_ENABLEACCESSTOKENREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ES_SERVERLESS_MODEL_ENABLEACCESSTOKENRESULT_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_ENABLEACCESSTOKENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Es_serverless
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT EnableAccessTokenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
EnableAccessTokenResult();
|
||||
explicit EnableAccessTokenResult(const std::string &payload);
|
||||
~EnableAccessTokenResult();
|
||||
std::string getRequestId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_ENABLEACCESSTOKENRESULT_H_
|
||||
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ES_SERVERLESS_MODEL_GENERATEACCCESSTOKENREQUEST_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_GENERATEACCCESSTOKENREQUEST_H_
|
||||
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Es_serverless {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT GenerateAcccessTokenRequest : public RoaServiceRequest {
|
||||
public:
|
||||
GenerateAcccessTokenRequest();
|
||||
~GenerateAcccessTokenRequest();
|
||||
|
||||
private:
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Es_serverless
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_GENERATEACCCESSTOKENREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ES_SERVERLESS_MODEL_GENERATEACCCESSTOKENRESULT_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_GENERATEACCCESSTOKENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Es_serverless
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT GenerateAcccessTokenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GenerateAcccessTokenResult();
|
||||
explicit GenerateAcccessTokenResult(const std::string &payload);
|
||||
~GenerateAcccessTokenResult();
|
||||
std::string getRequestId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_GENERATEACCCESSTOKENRESULT_H_
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ES_SERVERLESS_MODEL_GETAPPREQUEST_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_GETAPPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Es_serverless {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT GetAppRequest : public RoaServiceRequest {
|
||||
public:
|
||||
GetAppRequest();
|
||||
~GetAppRequest();
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
|
||||
private:
|
||||
std::string appName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Es_serverless
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_GETAPPREQUEST_H_
|
||||
@@ -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_ES_SERVERLESS_MODEL_GETAPPRESULT_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_GETAPPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Es_serverless
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT GetAppResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
std::string status;
|
||||
std::string description;
|
||||
std::string ownerId;
|
||||
std::string createTime;
|
||||
std::string storageQuota;
|
||||
std::string regionId;
|
||||
std::string appName;
|
||||
std::string flowQuota;
|
||||
};
|
||||
|
||||
|
||||
GetAppResult();
|
||||
explicit GetAppResult(const std::string &payload);
|
||||
~GetAppResult();
|
||||
std::string getRequestId()const;
|
||||
Result getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string requestId_;
|
||||
Result result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_GETAPPRESULT_H_
|
||||
@@ -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_ES_SERVERLESS_MODEL_GETDATASTREAMREQUEST_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_GETDATASTREAMREQUEST_H_
|
||||
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Es_serverless {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT GetDataStreamRequest : public RoaServiceRequest {
|
||||
public:
|
||||
GetDataStreamRequest();
|
||||
~GetDataStreamRequest();
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getDataStreamName() const;
|
||||
void setDataStreamName(const std::string &dataStreamName);
|
||||
|
||||
private:
|
||||
std::string appName_;
|
||||
std::string dataStreamName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Es_serverless
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_GETDATASTREAMREQUEST_H_
|
||||
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ES_SERVERLESS_MODEL_GETDATASTREAMRESULT_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_GETDATASTREAMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Es_serverless
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT GetDataStreamResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
struct _Template
|
||||
{
|
||||
struct MappingsItem
|
||||
{
|
||||
std::string type;
|
||||
bool caseSensitive;
|
||||
bool docValues;
|
||||
bool index;
|
||||
std::vector<std::string> properties;
|
||||
std::string key;
|
||||
std::vector<std::string> tokenizeOnChars;
|
||||
};
|
||||
std::vector<MappingsItem> mappings;
|
||||
};
|
||||
std::string type;
|
||||
std::string timeStampKey;
|
||||
_Template _template;
|
||||
std::string deletePhase;
|
||||
std::string dataStreamId;
|
||||
std::string createTime;
|
||||
std::string regionId;
|
||||
std::string dataStreamName;
|
||||
std::string appName;
|
||||
};
|
||||
|
||||
|
||||
GetDataStreamResult();
|
||||
explicit GetDataStreamResult(const std::string &payload);
|
||||
~GetDataStreamResult();
|
||||
std::string getRequestId()const;
|
||||
Result getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string requestId_;
|
||||
Result result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_GETDATASTREAMRESULT_H_
|
||||
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ES_SERVERLESS_MODEL_GETREGIONINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_GETREGIONINFOREQUEST_H_
|
||||
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Es_serverless {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT GetRegionInfoRequest : public RoaServiceRequest {
|
||||
public:
|
||||
GetRegionInfoRequest();
|
||||
~GetRegionInfoRequest();
|
||||
|
||||
private:
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Es_serverless
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_GETREGIONINFOREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ES_SERVERLESS_MODEL_GETREGIONINFORESULT_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_GETREGIONINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Es_serverless
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT GetRegionInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetRegionInfoResult();
|
||||
explicit GetRegionInfoResult(const std::string &payload);
|
||||
~GetRegionInfoResult();
|
||||
std::string getRequestId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_GETREGIONINFORESULT_H_
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ES_SERVERLESS_MODEL_LISTACCESSTOKENSREQUEST_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_LISTACCESSTOKENSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Es_serverless {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT ListAccessTokensRequest : public RoaServiceRequest {
|
||||
public:
|
||||
ListAccessTokensRequest();
|
||||
~ListAccessTokensRequest();
|
||||
std::string getTokenId() const;
|
||||
void setTokenId(const std::string &tokenId);
|
||||
|
||||
private:
|
||||
std::string tokenId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Es_serverless
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_LISTACCESSTOKENSREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ES_SERVERLESS_MODEL_LISTACCESSTOKENSRESULT_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_LISTACCESSTOKENSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Es_serverless
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT ListAccessTokensResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ListAccessTokensResult();
|
||||
explicit ListAccessTokensResult(const std::string &payload);
|
||||
~ListAccessTokensResult();
|
||||
std::string getRequestId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_LISTACCESSTOKENSRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ES_SERVERLESS_MODEL_LISTAPPSREQUEST_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_LISTAPPSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Es_serverless {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT ListAppsRequest : public RoaServiceRequest {
|
||||
public:
|
||||
ListAppsRequest();
|
||||
~ListAppsRequest();
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
std::string appName_;
|
||||
int pageSize_;
|
||||
std::string description_;
|
||||
int pageNumber_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Es_serverless
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_LISTAPPSREQUEST_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ES_SERVERLESS_MODEL_LISTAPPSRESULT_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_LISTAPPSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Es_serverless
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT ListAppsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct App
|
||||
{
|
||||
std::string status;
|
||||
std::string description;
|
||||
std::string ownerId;
|
||||
std::string createTime;
|
||||
std::string storageQuota;
|
||||
std::string regionId;
|
||||
std::string appName;
|
||||
std::string flowQuota;
|
||||
};
|
||||
|
||||
|
||||
ListAppsResult();
|
||||
explicit ListAppsResult(const std::string &payload);
|
||||
~ListAppsResult();
|
||||
std::vector<App> getresult()const;
|
||||
int getTotalCount()const;
|
||||
std::string getRequestId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<App> result_;
|
||||
int totalCount_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_LISTAPPSRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ES_SERVERLESS_MODEL_LISTDATASTREAMSREQUEST_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_LISTDATASTREAMSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Es_serverless {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT ListDataStreamsRequest : public RoaServiceRequest {
|
||||
public:
|
||||
ListDataStreamsRequest();
|
||||
~ListDataStreamsRequest();
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getDataStreamName() const;
|
||||
void setDataStreamName(const std::string &dataStreamName);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
std::string appName_;
|
||||
std::string dataStreamName_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Es_serverless
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_LISTDATASTREAMSREQUEST_H_
|
||||
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ES_SERVERLESS_MODEL_LISTDATASTREAMSRESULT_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_LISTDATASTREAMSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Es_serverless
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT ListDataStreamsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DataStream
|
||||
{
|
||||
struct _Template
|
||||
{
|
||||
struct MappingsItem
|
||||
{
|
||||
std::string type;
|
||||
bool caseSensitive;
|
||||
bool docValues;
|
||||
bool index;
|
||||
std::vector<std::string> properties;
|
||||
std::string key;
|
||||
std::vector<std::string> tokenizeOnChars;
|
||||
};
|
||||
std::vector<MappingsItem> mappings;
|
||||
};
|
||||
std::string type;
|
||||
std::string timeStampKey;
|
||||
_Template _template;
|
||||
std::string deletePhase;
|
||||
std::string dataStreamId;
|
||||
std::string createTime;
|
||||
std::string regionId;
|
||||
std::string dataStreamName;
|
||||
std::string appName;
|
||||
};
|
||||
|
||||
|
||||
ListDataStreamsResult();
|
||||
explicit ListDataStreamsResult(const std::string &payload);
|
||||
~ListDataStreamsResult();
|
||||
std::vector<DataStream> getresult()const;
|
||||
int getTotalCount()const;
|
||||
std::string getRequestId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DataStream> result_;
|
||||
int totalCount_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_LISTDATASTREAMSRESULT_H_
|
||||
@@ -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_ES_SERVERLESS_MODEL_UPDATEAPPREQUEST_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_UPDATEAPPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Es_serverless {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT UpdateAppRequest : public RoaServiceRequest {
|
||||
public:
|
||||
UpdateAppRequest();
|
||||
~UpdateAppRequest();
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
|
||||
private:
|
||||
std::string appName_;
|
||||
std::string body_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Es_serverless
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_UPDATEAPPREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ES_SERVERLESS_MODEL_UPDATEAPPRESULT_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_UPDATEAPPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Es_serverless
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT UpdateAppResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateAppResult();
|
||||
explicit UpdateAppResult(const std::string &payload);
|
||||
~UpdateAppResult();
|
||||
std::string getRequestId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_UPDATEAPPRESULT_H_
|
||||
@@ -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_ES_SERVERLESS_MODEL_UPDATEDATASTREAMREQUEST_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_UPDATEDATASTREAMREQUEST_H_
|
||||
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Es_serverless {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT UpdateDataStreamRequest : public RoaServiceRequest {
|
||||
public:
|
||||
UpdateDataStreamRequest();
|
||||
~UpdateDataStreamRequest();
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getDataStreamName() const;
|
||||
void setDataStreamName(const std::string &dataStreamName);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
|
||||
private:
|
||||
std::string appName_;
|
||||
std::string dataStreamName_;
|
||||
std::string body_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Es_serverless
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_UPDATEDATASTREAMREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ES_SERVERLESS_MODEL_UPDATEDATASTREAMRESULT_H_
|
||||
#define ALIBABACLOUD_ES_SERVERLESS_MODEL_UPDATEDATASTREAMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/es-serverless/Es_serverlessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Es_serverless
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ES_SERVERLESS_EXPORT UpdateDataStreamResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
std::string appName;
|
||||
};
|
||||
|
||||
|
||||
UpdateDataStreamResult();
|
||||
explicit UpdateDataStreamResult(const std::string &payload);
|
||||
~UpdateDataStreamResult();
|
||||
std::string getRequestId()const;
|
||||
Result getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string requestId_;
|
||||
Result result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ES_SERVERLESS_MODEL_UPDATEDATASTREAMRESULT_H_
|
||||
Reference in New Issue
Block a user