Compare commits
12 Commits
Metering-p
...
sae-patch
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1309d87fdb | ||
|
|
a46f82a069 | ||
|
|
b7d2e0b4a6 | ||
|
|
6eacc742a1 | ||
|
|
3c4d33ab51 | ||
|
|
cf6cbae712 | ||
|
|
6dc38f165b | ||
|
|
6393d2204b | ||
|
|
f4138c76d6 | ||
|
|
d7a89ac3dc | ||
|
|
b98f01cab4 | ||
|
|
675ab8f60f |
36
CHANGELOG
36
CHANGELOG
@@ -1,3 +1,39 @@
|
|||||||
|
2020-10-21 Version: patch
|
||||||
|
- Release latest features.
|
||||||
|
|
||||||
|
2020-10-21 Version: patch
|
||||||
|
- Change Documentation configuration.
|
||||||
|
|
||||||
|
2020-10-21 Version: patch
|
||||||
|
- Change Documentation configuration.
|
||||||
|
|
||||||
|
2020-10-21 Version: patch
|
||||||
|
- Update cert API.
|
||||||
|
|
||||||
|
2020-10-21 Version: patch
|
||||||
|
- Add PHP sdk.
|
||||||
|
|
||||||
|
2020-10-21 Version: patch
|
||||||
|
- Update Scdn API.
|
||||||
|
|
||||||
|
2020-10-20 Version: patch
|
||||||
|
- Support modifyInstnaceType.
|
||||||
|
|
||||||
|
2020-10-20 Version: patch
|
||||||
|
- Add LivenessFaceVerify API.
|
||||||
|
|
||||||
|
2020-10-20 Version: patch
|
||||||
|
- Update Configuration.
|
||||||
|
|
||||||
|
2020-10-20 Version: patch
|
||||||
|
- Add isv interface.
|
||||||
|
|
||||||
|
2020-10-20 Version: patch
|
||||||
|
- Generated 2016-11-01 for `live`.
|
||||||
|
|
||||||
|
2020-10-19 Version: patch
|
||||||
|
- Add a new interface for asynchronous image translation.
|
||||||
|
|
||||||
2020-10-19 Version: patch
|
2020-10-19 Version: patch
|
||||||
- Metering 1019.
|
- Metering 1019.
|
||||||
|
|
||||||
|
|||||||
@@ -23,6 +23,8 @@ set(alimt_public_header
|
|||||||
set(alimt_public_header_model
|
set(alimt_public_header_model
|
||||||
include/alibabacloud/alimt/model/CreateDocTranslateTaskRequest.h
|
include/alibabacloud/alimt/model/CreateDocTranslateTaskRequest.h
|
||||||
include/alibabacloud/alimt/model/CreateDocTranslateTaskResult.h
|
include/alibabacloud/alimt/model/CreateDocTranslateTaskResult.h
|
||||||
|
include/alibabacloud/alimt/model/CreateImageTranslateTaskRequest.h
|
||||||
|
include/alibabacloud/alimt/model/CreateImageTranslateTaskResult.h
|
||||||
include/alibabacloud/alimt/model/GetDetectLanguageRequest.h
|
include/alibabacloud/alimt/model/GetDetectLanguageRequest.h
|
||||||
include/alibabacloud/alimt/model/GetDetectLanguageResult.h
|
include/alibabacloud/alimt/model/GetDetectLanguageResult.h
|
||||||
include/alibabacloud/alimt/model/GetDocTranslateTaskRequest.h
|
include/alibabacloud/alimt/model/GetDocTranslateTaskRequest.h
|
||||||
@@ -31,6 +33,8 @@ set(alimt_public_header_model
|
|||||||
include/alibabacloud/alimt/model/GetImageDiagnoseResult.h
|
include/alibabacloud/alimt/model/GetImageDiagnoseResult.h
|
||||||
include/alibabacloud/alimt/model/GetImageTranslateRequest.h
|
include/alibabacloud/alimt/model/GetImageTranslateRequest.h
|
||||||
include/alibabacloud/alimt/model/GetImageTranslateResult.h
|
include/alibabacloud/alimt/model/GetImageTranslateResult.h
|
||||||
|
include/alibabacloud/alimt/model/GetImageTranslateTaskRequest.h
|
||||||
|
include/alibabacloud/alimt/model/GetImageTranslateTaskResult.h
|
||||||
include/alibabacloud/alimt/model/GetTitleDiagnoseRequest.h
|
include/alibabacloud/alimt/model/GetTitleDiagnoseRequest.h
|
||||||
include/alibabacloud/alimt/model/GetTitleDiagnoseResult.h
|
include/alibabacloud/alimt/model/GetTitleDiagnoseResult.h
|
||||||
include/alibabacloud/alimt/model/GetTitleGenerateRequest.h
|
include/alibabacloud/alimt/model/GetTitleGenerateRequest.h
|
||||||
@@ -50,6 +54,8 @@ set(alimt_src
|
|||||||
src/AlimtClient.cc
|
src/AlimtClient.cc
|
||||||
src/model/CreateDocTranslateTaskRequest.cc
|
src/model/CreateDocTranslateTaskRequest.cc
|
||||||
src/model/CreateDocTranslateTaskResult.cc
|
src/model/CreateDocTranslateTaskResult.cc
|
||||||
|
src/model/CreateImageTranslateTaskRequest.cc
|
||||||
|
src/model/CreateImageTranslateTaskResult.cc
|
||||||
src/model/GetDetectLanguageRequest.cc
|
src/model/GetDetectLanguageRequest.cc
|
||||||
src/model/GetDetectLanguageResult.cc
|
src/model/GetDetectLanguageResult.cc
|
||||||
src/model/GetDocTranslateTaskRequest.cc
|
src/model/GetDocTranslateTaskRequest.cc
|
||||||
@@ -58,6 +64,8 @@ set(alimt_src
|
|||||||
src/model/GetImageDiagnoseResult.cc
|
src/model/GetImageDiagnoseResult.cc
|
||||||
src/model/GetImageTranslateRequest.cc
|
src/model/GetImageTranslateRequest.cc
|
||||||
src/model/GetImageTranslateResult.cc
|
src/model/GetImageTranslateResult.cc
|
||||||
|
src/model/GetImageTranslateTaskRequest.cc
|
||||||
|
src/model/GetImageTranslateTaskResult.cc
|
||||||
src/model/GetTitleDiagnoseRequest.cc
|
src/model/GetTitleDiagnoseRequest.cc
|
||||||
src/model/GetTitleDiagnoseResult.cc
|
src/model/GetTitleDiagnoseResult.cc
|
||||||
src/model/GetTitleGenerateRequest.cc
|
src/model/GetTitleGenerateRequest.cc
|
||||||
|
|||||||
@@ -24,6 +24,8 @@
|
|||||||
#include "AlimtExport.h"
|
#include "AlimtExport.h"
|
||||||
#include "model/CreateDocTranslateTaskRequest.h"
|
#include "model/CreateDocTranslateTaskRequest.h"
|
||||||
#include "model/CreateDocTranslateTaskResult.h"
|
#include "model/CreateDocTranslateTaskResult.h"
|
||||||
|
#include "model/CreateImageTranslateTaskRequest.h"
|
||||||
|
#include "model/CreateImageTranslateTaskResult.h"
|
||||||
#include "model/GetDetectLanguageRequest.h"
|
#include "model/GetDetectLanguageRequest.h"
|
||||||
#include "model/GetDetectLanguageResult.h"
|
#include "model/GetDetectLanguageResult.h"
|
||||||
#include "model/GetDocTranslateTaskRequest.h"
|
#include "model/GetDocTranslateTaskRequest.h"
|
||||||
@@ -32,6 +34,8 @@
|
|||||||
#include "model/GetImageDiagnoseResult.h"
|
#include "model/GetImageDiagnoseResult.h"
|
||||||
#include "model/GetImageTranslateRequest.h"
|
#include "model/GetImageTranslateRequest.h"
|
||||||
#include "model/GetImageTranslateResult.h"
|
#include "model/GetImageTranslateResult.h"
|
||||||
|
#include "model/GetImageTranslateTaskRequest.h"
|
||||||
|
#include "model/GetImageTranslateTaskResult.h"
|
||||||
#include "model/GetTitleDiagnoseRequest.h"
|
#include "model/GetTitleDiagnoseRequest.h"
|
||||||
#include "model/GetTitleDiagnoseResult.h"
|
#include "model/GetTitleDiagnoseResult.h"
|
||||||
#include "model/GetTitleGenerateRequest.h"
|
#include "model/GetTitleGenerateRequest.h"
|
||||||
@@ -58,6 +62,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::CreateDocTranslateTaskResult> CreateDocTranslateTaskOutcome;
|
typedef Outcome<Error, Model::CreateDocTranslateTaskResult> CreateDocTranslateTaskOutcome;
|
||||||
typedef std::future<CreateDocTranslateTaskOutcome> CreateDocTranslateTaskOutcomeCallable;
|
typedef std::future<CreateDocTranslateTaskOutcome> CreateDocTranslateTaskOutcomeCallable;
|
||||||
typedef std::function<void(const AlimtClient*, const Model::CreateDocTranslateTaskRequest&, const CreateDocTranslateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDocTranslateTaskAsyncHandler;
|
typedef std::function<void(const AlimtClient*, const Model::CreateDocTranslateTaskRequest&, const CreateDocTranslateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDocTranslateTaskAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::CreateImageTranslateTaskResult> CreateImageTranslateTaskOutcome;
|
||||||
|
typedef std::future<CreateImageTranslateTaskOutcome> CreateImageTranslateTaskOutcomeCallable;
|
||||||
|
typedef std::function<void(const AlimtClient*, const Model::CreateImageTranslateTaskRequest&, const CreateImageTranslateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateImageTranslateTaskAsyncHandler;
|
||||||
typedef Outcome<Error, Model::GetDetectLanguageResult> GetDetectLanguageOutcome;
|
typedef Outcome<Error, Model::GetDetectLanguageResult> GetDetectLanguageOutcome;
|
||||||
typedef std::future<GetDetectLanguageOutcome> GetDetectLanguageOutcomeCallable;
|
typedef std::future<GetDetectLanguageOutcome> GetDetectLanguageOutcomeCallable;
|
||||||
typedef std::function<void(const AlimtClient*, const Model::GetDetectLanguageRequest&, const GetDetectLanguageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDetectLanguageAsyncHandler;
|
typedef std::function<void(const AlimtClient*, const Model::GetDetectLanguageRequest&, const GetDetectLanguageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDetectLanguageAsyncHandler;
|
||||||
@@ -70,6 +77,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::GetImageTranslateResult> GetImageTranslateOutcome;
|
typedef Outcome<Error, Model::GetImageTranslateResult> GetImageTranslateOutcome;
|
||||||
typedef std::future<GetImageTranslateOutcome> GetImageTranslateOutcomeCallable;
|
typedef std::future<GetImageTranslateOutcome> GetImageTranslateOutcomeCallable;
|
||||||
typedef std::function<void(const AlimtClient*, const Model::GetImageTranslateRequest&, const GetImageTranslateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetImageTranslateAsyncHandler;
|
typedef std::function<void(const AlimtClient*, const Model::GetImageTranslateRequest&, const GetImageTranslateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetImageTranslateAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::GetImageTranslateTaskResult> GetImageTranslateTaskOutcome;
|
||||||
|
typedef std::future<GetImageTranslateTaskOutcome> GetImageTranslateTaskOutcomeCallable;
|
||||||
|
typedef std::function<void(const AlimtClient*, const Model::GetImageTranslateTaskRequest&, const GetImageTranslateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetImageTranslateTaskAsyncHandler;
|
||||||
typedef Outcome<Error, Model::GetTitleDiagnoseResult> GetTitleDiagnoseOutcome;
|
typedef Outcome<Error, Model::GetTitleDiagnoseResult> GetTitleDiagnoseOutcome;
|
||||||
typedef std::future<GetTitleDiagnoseOutcome> GetTitleDiagnoseOutcomeCallable;
|
typedef std::future<GetTitleDiagnoseOutcome> GetTitleDiagnoseOutcomeCallable;
|
||||||
typedef std::function<void(const AlimtClient*, const Model::GetTitleDiagnoseRequest&, const GetTitleDiagnoseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTitleDiagnoseAsyncHandler;
|
typedef std::function<void(const AlimtClient*, const Model::GetTitleDiagnoseRequest&, const GetTitleDiagnoseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTitleDiagnoseAsyncHandler;
|
||||||
@@ -99,6 +109,9 @@ namespace AlibabaCloud
|
|||||||
CreateDocTranslateTaskOutcome createDocTranslateTask(const Model::CreateDocTranslateTaskRequest &request)const;
|
CreateDocTranslateTaskOutcome createDocTranslateTask(const Model::CreateDocTranslateTaskRequest &request)const;
|
||||||
void createDocTranslateTaskAsync(const Model::CreateDocTranslateTaskRequest& request, const CreateDocTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void createDocTranslateTaskAsync(const Model::CreateDocTranslateTaskRequest& request, const CreateDocTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
CreateDocTranslateTaskOutcomeCallable createDocTranslateTaskCallable(const Model::CreateDocTranslateTaskRequest& request) const;
|
CreateDocTranslateTaskOutcomeCallable createDocTranslateTaskCallable(const Model::CreateDocTranslateTaskRequest& request) const;
|
||||||
|
CreateImageTranslateTaskOutcome createImageTranslateTask(const Model::CreateImageTranslateTaskRequest &request)const;
|
||||||
|
void createImageTranslateTaskAsync(const Model::CreateImageTranslateTaskRequest& request, const CreateImageTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
CreateImageTranslateTaskOutcomeCallable createImageTranslateTaskCallable(const Model::CreateImageTranslateTaskRequest& request) const;
|
||||||
GetDetectLanguageOutcome getDetectLanguage(const Model::GetDetectLanguageRequest &request)const;
|
GetDetectLanguageOutcome getDetectLanguage(const Model::GetDetectLanguageRequest &request)const;
|
||||||
void getDetectLanguageAsync(const Model::GetDetectLanguageRequest& request, const GetDetectLanguageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void getDetectLanguageAsync(const Model::GetDetectLanguageRequest& request, const GetDetectLanguageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
GetDetectLanguageOutcomeCallable getDetectLanguageCallable(const Model::GetDetectLanguageRequest& request) const;
|
GetDetectLanguageOutcomeCallable getDetectLanguageCallable(const Model::GetDetectLanguageRequest& request) const;
|
||||||
@@ -111,6 +124,9 @@ namespace AlibabaCloud
|
|||||||
GetImageTranslateOutcome getImageTranslate(const Model::GetImageTranslateRequest &request)const;
|
GetImageTranslateOutcome getImageTranslate(const Model::GetImageTranslateRequest &request)const;
|
||||||
void getImageTranslateAsync(const Model::GetImageTranslateRequest& request, const GetImageTranslateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void getImageTranslateAsync(const Model::GetImageTranslateRequest& request, const GetImageTranslateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
GetImageTranslateOutcomeCallable getImageTranslateCallable(const Model::GetImageTranslateRequest& request) const;
|
GetImageTranslateOutcomeCallable getImageTranslateCallable(const Model::GetImageTranslateRequest& request) const;
|
||||||
|
GetImageTranslateTaskOutcome getImageTranslateTask(const Model::GetImageTranslateTaskRequest &request)const;
|
||||||
|
void getImageTranslateTaskAsync(const Model::GetImageTranslateTaskRequest& request, const GetImageTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
GetImageTranslateTaskOutcomeCallable getImageTranslateTaskCallable(const Model::GetImageTranslateTaskRequest& request) const;
|
||||||
GetTitleDiagnoseOutcome getTitleDiagnose(const Model::GetTitleDiagnoseRequest &request)const;
|
GetTitleDiagnoseOutcome getTitleDiagnose(const Model::GetTitleDiagnoseRequest &request)const;
|
||||||
void getTitleDiagnoseAsync(const Model::GetTitleDiagnoseRequest& request, const GetTitleDiagnoseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void getTitleDiagnoseAsync(const Model::GetTitleDiagnoseRequest& request, const GetTitleDiagnoseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
GetTitleDiagnoseOutcomeCallable getTitleDiagnoseCallable(const Model::GetTitleDiagnoseRequest& request) const;
|
GetTitleDiagnoseOutcomeCallable getTitleDiagnoseCallable(const Model::GetTitleDiagnoseRequest& request) const;
|
||||||
|
|||||||
@@ -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_ALIMT_MODEL_CREATEIMAGETRANSLATETASKREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/alimt/AlimtExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alimt
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIMT_EXPORT CreateImageTranslateTaskRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
CreateImageTranslateTaskRequest();
|
||||||
|
~CreateImageTranslateTaskRequest();
|
||||||
|
|
||||||
|
std::string getSourceLanguage()const;
|
||||||
|
void setSourceLanguage(const std::string& sourceLanguage);
|
||||||
|
std::string getClientToken()const;
|
||||||
|
void setClientToken(const std::string& clientToken);
|
||||||
|
std::string getUrlList()const;
|
||||||
|
void setUrlList(const std::string& urlList);
|
||||||
|
std::string getExtra()const;
|
||||||
|
void setExtra(const std::string& extra);
|
||||||
|
std::string getTargetLanguage()const;
|
||||||
|
void setTargetLanguage(const std::string& targetLanguage);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string sourceLanguage_;
|
||||||
|
std::string clientToken_;
|
||||||
|
std::string urlList_;
|
||||||
|
std::string extra_;
|
||||||
|
std::string targetLanguage_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKREQUEST_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_ALIMT_MODEL_CREATEIMAGETRANSLATETASKRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/alimt/AlimtExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alimt
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIMT_EXPORT CreateImageTranslateTaskResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string taskId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
CreateImageTranslateTaskResult();
|
||||||
|
explicit CreateImageTranslateTaskResult(const std::string &payload);
|
||||||
|
~CreateImageTranslateTaskResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
Data getData()const;
|
||||||
|
int getCode()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
Data data_;
|
||||||
|
int code_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIMT_MODEL_CREATEIMAGETRANSLATETASKRESULT_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_ALIMT_MODEL_GETIMAGETRANSLATETASKREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATETASKREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/alimt/AlimtExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alimt
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIMT_EXPORT GetImageTranslateTaskRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
GetImageTranslateTaskRequest();
|
||||||
|
~GetImageTranslateTaskRequest();
|
||||||
|
|
||||||
|
std::string getTaskId()const;
|
||||||
|
void setTaskId(const std::string& taskId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string taskId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATETASKREQUEST_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_ALIMT_MODEL_GETIMAGETRANSLATETASKRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATETASKRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/alimt/AlimtExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Alimt
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ALIMT_EXPORT GetImageTranslateTaskResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string imageData;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GetImageTranslateTaskResult();
|
||||||
|
explicit GetImageTranslateTaskResult(const std::string &payload);
|
||||||
|
~GetImageTranslateTaskResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
Data getData()const;
|
||||||
|
int getCode()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
Data data_;
|
||||||
|
int code_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETIMAGETRANSLATETASKRESULT_H_
|
||||||
@@ -87,6 +87,42 @@ AlimtClient::CreateDocTranslateTaskOutcomeCallable AlimtClient::createDocTransla
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AlimtClient::CreateImageTranslateTaskOutcome AlimtClient::createImageTranslateTask(const CreateImageTranslateTaskRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return CreateImageTranslateTaskOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return CreateImageTranslateTaskOutcome(CreateImageTranslateTaskResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return CreateImageTranslateTaskOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlimtClient::createImageTranslateTaskAsync(const CreateImageTranslateTaskRequest& request, const CreateImageTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, createImageTranslateTask(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AlimtClient::CreateImageTranslateTaskOutcomeCallable AlimtClient::createImageTranslateTaskCallable(const CreateImageTranslateTaskRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<CreateImageTranslateTaskOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->createImageTranslateTask(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
AlimtClient::GetDetectLanguageOutcome AlimtClient::getDetectLanguage(const GetDetectLanguageRequest &request) const
|
AlimtClient::GetDetectLanguageOutcome AlimtClient::getDetectLanguage(const GetDetectLanguageRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -231,6 +267,42 @@ AlimtClient::GetImageTranslateOutcomeCallable AlimtClient::getImageTranslateCall
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AlimtClient::GetImageTranslateTaskOutcome AlimtClient::getImageTranslateTask(const GetImageTranslateTaskRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return GetImageTranslateTaskOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return GetImageTranslateTaskOutcome(GetImageTranslateTaskResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return GetImageTranslateTaskOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlimtClient::getImageTranslateTaskAsync(const GetImageTranslateTaskRequest& request, const GetImageTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, getImageTranslateTask(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
AlimtClient::GetImageTranslateTaskOutcomeCallable AlimtClient::getImageTranslateTaskCallable(const GetImageTranslateTaskRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<GetImageTranslateTaskOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->getImageTranslateTask(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
AlimtClient::GetTitleDiagnoseOutcome AlimtClient::getTitleDiagnose(const GetTitleDiagnoseRequest &request) const
|
AlimtClient::GetTitleDiagnoseOutcome AlimtClient::getTitleDiagnose(const GetTitleDiagnoseRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
|||||||
84
alimt/src/model/CreateImageTranslateTaskRequest.cc
Normal file
84
alimt/src/model/CreateImageTranslateTaskRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alimt/model/CreateImageTranslateTaskRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Alimt::Model::CreateImageTranslateTaskRequest;
|
||||||
|
|
||||||
|
CreateImageTranslateTaskRequest::CreateImageTranslateTaskRequest() :
|
||||||
|
RpcServiceRequest("alimt", "2018-10-12", "CreateImageTranslateTask")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateImageTranslateTaskRequest::~CreateImageTranslateTaskRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string CreateImageTranslateTaskRequest::getSourceLanguage()const
|
||||||
|
{
|
||||||
|
return sourceLanguage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateImageTranslateTaskRequest::setSourceLanguage(const std::string& sourceLanguage)
|
||||||
|
{
|
||||||
|
sourceLanguage_ = sourceLanguage;
|
||||||
|
setBodyParameter("SourceLanguage", sourceLanguage);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateImageTranslateTaskRequest::getClientToken()const
|
||||||
|
{
|
||||||
|
return clientToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateImageTranslateTaskRequest::setClientToken(const std::string& clientToken)
|
||||||
|
{
|
||||||
|
clientToken_ = clientToken;
|
||||||
|
setBodyParameter("ClientToken", clientToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateImageTranslateTaskRequest::getUrlList()const
|
||||||
|
{
|
||||||
|
return urlList_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateImageTranslateTaskRequest::setUrlList(const std::string& urlList)
|
||||||
|
{
|
||||||
|
urlList_ = urlList;
|
||||||
|
setBodyParameter("UrlList", urlList);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateImageTranslateTaskRequest::getExtra()const
|
||||||
|
{
|
||||||
|
return extra_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateImageTranslateTaskRequest::setExtra(const std::string& extra)
|
||||||
|
{
|
||||||
|
extra_ = extra;
|
||||||
|
setBodyParameter("Extra", extra);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateImageTranslateTaskRequest::getTargetLanguage()const
|
||||||
|
{
|
||||||
|
return targetLanguage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateImageTranslateTaskRequest::setTargetLanguage(const std::string& targetLanguage)
|
||||||
|
{
|
||||||
|
targetLanguage_ = targetLanguage;
|
||||||
|
setBodyParameter("TargetLanguage", targetLanguage);
|
||||||
|
}
|
||||||
|
|
||||||
66
alimt/src/model/CreateImageTranslateTaskResult.cc
Normal file
66
alimt/src/model/CreateImageTranslateTaskResult.cc
Normal 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alimt/model/CreateImageTranslateTaskResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Alimt;
|
||||||
|
using namespace AlibabaCloud::Alimt::Model;
|
||||||
|
|
||||||
|
CreateImageTranslateTaskResult::CreateImageTranslateTaskResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
CreateImageTranslateTaskResult::CreateImageTranslateTaskResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateImageTranslateTaskResult::~CreateImageTranslateTaskResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void CreateImageTranslateTaskResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto dataNode = value["Data"];
|
||||||
|
if(!dataNode["TaskId"].isNull())
|
||||||
|
data_.taskId = dataNode["TaskId"].asString();
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = std::stoi(value["Code"].asString());
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateImageTranslateTaskResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateImageTranslateTaskResult::Data CreateImageTranslateTaskResult::getData()const
|
||||||
|
{
|
||||||
|
return data_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int CreateImageTranslateTaskResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
|
}
|
||||||
|
|
||||||
40
alimt/src/model/GetImageTranslateTaskRequest.cc
Normal file
40
alimt/src/model/GetImageTranslateTaskRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alimt/model/GetImageTranslateTaskRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Alimt::Model::GetImageTranslateTaskRequest;
|
||||||
|
|
||||||
|
GetImageTranslateTaskRequest::GetImageTranslateTaskRequest() :
|
||||||
|
RpcServiceRequest("alimt", "2018-10-12", "GetImageTranslateTask")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
GetImageTranslateTaskRequest::~GetImageTranslateTaskRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string GetImageTranslateTaskRequest::getTaskId()const
|
||||||
|
{
|
||||||
|
return taskId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void GetImageTranslateTaskRequest::setTaskId(const std::string& taskId)
|
||||||
|
{
|
||||||
|
taskId_ = taskId;
|
||||||
|
setBodyParameter("TaskId", taskId);
|
||||||
|
}
|
||||||
|
|
||||||
66
alimt/src/model/GetImageTranslateTaskResult.cc
Normal file
66
alimt/src/model/GetImageTranslateTaskResult.cc
Normal 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/alimt/model/GetImageTranslateTaskResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Alimt;
|
||||||
|
using namespace AlibabaCloud::Alimt::Model;
|
||||||
|
|
||||||
|
GetImageTranslateTaskResult::GetImageTranslateTaskResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
GetImageTranslateTaskResult::GetImageTranslateTaskResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
GetImageTranslateTaskResult::~GetImageTranslateTaskResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void GetImageTranslateTaskResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto dataNode = value["Data"];
|
||||||
|
if(!dataNode["ImageData"].isNull())
|
||||||
|
data_.imageData = dataNode["ImageData"].asString();
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = std::stoi(value["Code"].asString());
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetImageTranslateTaskResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
GetImageTranslateTaskResult::Data GetImageTranslateTaskResult::getData()const
|
||||||
|
{
|
||||||
|
return data_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int GetImageTranslateTaskResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -83,6 +83,8 @@ set(cloudauth_public_header_model
|
|||||||
include/alibabacloud/cloudauth/model/InitFaceVerifyResult.h
|
include/alibabacloud/cloudauth/model/InitFaceVerifyResult.h
|
||||||
include/alibabacloud/cloudauth/model/InitSmartVerifyRequest.h
|
include/alibabacloud/cloudauth/model/InitSmartVerifyRequest.h
|
||||||
include/alibabacloud/cloudauth/model/InitSmartVerifyResult.h
|
include/alibabacloud/cloudauth/model/InitSmartVerifyResult.h
|
||||||
|
include/alibabacloud/cloudauth/model/LivenessFaceVerifyRequest.h
|
||||||
|
include/alibabacloud/cloudauth/model/LivenessFaceVerifyResult.h
|
||||||
include/alibabacloud/cloudauth/model/ModifyDeviceInfoRequest.h
|
include/alibabacloud/cloudauth/model/ModifyDeviceInfoRequest.h
|
||||||
include/alibabacloud/cloudauth/model/ModifyDeviceInfoResult.h
|
include/alibabacloud/cloudauth/model/ModifyDeviceInfoResult.h
|
||||||
include/alibabacloud/cloudauth/model/SubmitMaterialsRequest.h
|
include/alibabacloud/cloudauth/model/SubmitMaterialsRequest.h
|
||||||
@@ -162,6 +164,8 @@ set(cloudauth_src
|
|||||||
src/model/InitFaceVerifyResult.cc
|
src/model/InitFaceVerifyResult.cc
|
||||||
src/model/InitSmartVerifyRequest.cc
|
src/model/InitSmartVerifyRequest.cc
|
||||||
src/model/InitSmartVerifyResult.cc
|
src/model/InitSmartVerifyResult.cc
|
||||||
|
src/model/LivenessFaceVerifyRequest.cc
|
||||||
|
src/model/LivenessFaceVerifyResult.cc
|
||||||
src/model/ModifyDeviceInfoRequest.cc
|
src/model/ModifyDeviceInfoRequest.cc
|
||||||
src/model/ModifyDeviceInfoResult.cc
|
src/model/ModifyDeviceInfoResult.cc
|
||||||
src/model/SubmitMaterialsRequest.cc
|
src/model/SubmitMaterialsRequest.cc
|
||||||
|
|||||||
@@ -84,6 +84,8 @@
|
|||||||
#include "model/InitFaceVerifyResult.h"
|
#include "model/InitFaceVerifyResult.h"
|
||||||
#include "model/InitSmartVerifyRequest.h"
|
#include "model/InitSmartVerifyRequest.h"
|
||||||
#include "model/InitSmartVerifyResult.h"
|
#include "model/InitSmartVerifyResult.h"
|
||||||
|
#include "model/LivenessFaceVerifyRequest.h"
|
||||||
|
#include "model/LivenessFaceVerifyResult.h"
|
||||||
#include "model/ModifyDeviceInfoRequest.h"
|
#include "model/ModifyDeviceInfoRequest.h"
|
||||||
#include "model/ModifyDeviceInfoResult.h"
|
#include "model/ModifyDeviceInfoResult.h"
|
||||||
#include "model/SubmitMaterialsRequest.h"
|
#include "model/SubmitMaterialsRequest.h"
|
||||||
@@ -200,6 +202,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::InitSmartVerifyResult> InitSmartVerifyOutcome;
|
typedef Outcome<Error, Model::InitSmartVerifyResult> InitSmartVerifyOutcome;
|
||||||
typedef std::future<InitSmartVerifyOutcome> InitSmartVerifyOutcomeCallable;
|
typedef std::future<InitSmartVerifyOutcome> InitSmartVerifyOutcomeCallable;
|
||||||
typedef std::function<void(const CloudauthClient*, const Model::InitSmartVerifyRequest&, const InitSmartVerifyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InitSmartVerifyAsyncHandler;
|
typedef std::function<void(const CloudauthClient*, const Model::InitSmartVerifyRequest&, const InitSmartVerifyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InitSmartVerifyAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::LivenessFaceVerifyResult> LivenessFaceVerifyOutcome;
|
||||||
|
typedef std::future<LivenessFaceVerifyOutcome> LivenessFaceVerifyOutcomeCallable;
|
||||||
|
typedef std::function<void(const CloudauthClient*, const Model::LivenessFaceVerifyRequest&, const LivenessFaceVerifyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> LivenessFaceVerifyAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ModifyDeviceInfoResult> ModifyDeviceInfoOutcome;
|
typedef Outcome<Error, Model::ModifyDeviceInfoResult> ModifyDeviceInfoOutcome;
|
||||||
typedef std::future<ModifyDeviceInfoOutcome> ModifyDeviceInfoOutcomeCallable;
|
typedef std::future<ModifyDeviceInfoOutcome> ModifyDeviceInfoOutcomeCallable;
|
||||||
typedef std::function<void(const CloudauthClient*, const Model::ModifyDeviceInfoRequest&, const ModifyDeviceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDeviceInfoAsyncHandler;
|
typedef std::function<void(const CloudauthClient*, const Model::ModifyDeviceInfoRequest&, const ModifyDeviceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDeviceInfoAsyncHandler;
|
||||||
@@ -319,6 +324,9 @@ namespace AlibabaCloud
|
|||||||
InitSmartVerifyOutcome initSmartVerify(const Model::InitSmartVerifyRequest &request)const;
|
InitSmartVerifyOutcome initSmartVerify(const Model::InitSmartVerifyRequest &request)const;
|
||||||
void initSmartVerifyAsync(const Model::InitSmartVerifyRequest& request, const InitSmartVerifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void initSmartVerifyAsync(const Model::InitSmartVerifyRequest& request, const InitSmartVerifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
InitSmartVerifyOutcomeCallable initSmartVerifyCallable(const Model::InitSmartVerifyRequest& request) const;
|
InitSmartVerifyOutcomeCallable initSmartVerifyCallable(const Model::InitSmartVerifyRequest& request) const;
|
||||||
|
LivenessFaceVerifyOutcome livenessFaceVerify(const Model::LivenessFaceVerifyRequest &request)const;
|
||||||
|
void livenessFaceVerifyAsync(const Model::LivenessFaceVerifyRequest& request, const LivenessFaceVerifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
LivenessFaceVerifyOutcomeCallable livenessFaceVerifyCallable(const Model::LivenessFaceVerifyRequest& request) const;
|
||||||
ModifyDeviceInfoOutcome modifyDeviceInfo(const Model::ModifyDeviceInfoRequest &request)const;
|
ModifyDeviceInfoOutcome modifyDeviceInfo(const Model::ModifyDeviceInfoRequest &request)const;
|
||||||
void modifyDeviceInfoAsync(const Model::ModifyDeviceInfoRequest& request, const ModifyDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void modifyDeviceInfoAsync(const Model::ModifyDeviceInfoRequest& request, const ModifyDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ModifyDeviceInfoOutcomeCallable modifyDeviceInfoCallable(const Model::ModifyDeviceInfoRequest& request) const;
|
ModifyDeviceInfoOutcomeCallable modifyDeviceInfoCallable(const Model::ModifyDeviceInfoRequest& request) const;
|
||||||
|
|||||||
@@ -67,8 +67,12 @@ namespace AlibabaCloud
|
|||||||
void setSceneId(long sceneId);
|
void setSceneId(long sceneId);
|
||||||
std::string getOssBucketName()const;
|
std::string getOssBucketName()const;
|
||||||
void setOssBucketName(const std::string& ossBucketName);
|
void setOssBucketName(const std::string& ossBucketName);
|
||||||
|
std::string getCallbackToken()const;
|
||||||
|
void setCallbackToken(const std::string& callbackToken);
|
||||||
std::string getReturnUrl()const;
|
std::string getReturnUrl()const;
|
||||||
void setReturnUrl(const std::string& returnUrl);
|
void setReturnUrl(const std::string& returnUrl);
|
||||||
|
std::string getCallbackUrl()const;
|
||||||
|
void setCallbackUrl(const std::string& callbackUrl);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string productCode_;
|
std::string productCode_;
|
||||||
@@ -87,7 +91,9 @@ namespace AlibabaCloud
|
|||||||
std::string mobile_;
|
std::string mobile_;
|
||||||
long sceneId_;
|
long sceneId_;
|
||||||
std::string ossBucketName_;
|
std::string ossBucketName_;
|
||||||
|
std::string callbackToken_;
|
||||||
std::string returnUrl_;
|
std::string returnUrl_;
|
||||||
|
std::string callbackUrl_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,14 +35,12 @@ namespace AlibabaCloud
|
|||||||
InitSmartVerifyRequest();
|
InitSmartVerifyRequest();
|
||||||
~InitSmartVerifyRequest();
|
~InitSmartVerifyRequest();
|
||||||
|
|
||||||
std::string getIp()const;
|
|
||||||
void setIp(const std::string& ip);
|
|
||||||
std::string getCertName()const;
|
|
||||||
void setCertName(const std::string& certName);
|
|
||||||
std::string getMobile()const;
|
|
||||||
void setMobile(const std::string& mobile);
|
|
||||||
std::string getUserId()const;
|
std::string getUserId()const;
|
||||||
void setUserId(const std::string& userId);
|
void setUserId(const std::string& userId);
|
||||||
|
std::string getCertifyId()const;
|
||||||
|
void setCertifyId(const std::string& certifyId);
|
||||||
|
std::string getFacePictureBase64()const;
|
||||||
|
void setFacePictureBase64(const std::string& facePictureBase64);
|
||||||
std::string getMode()const;
|
std::string getMode()const;
|
||||||
void setMode(const std::string& mode);
|
void setMode(const std::string& mode);
|
||||||
std::string getCertNo()const;
|
std::string getCertNo()const;
|
||||||
@@ -51,25 +49,48 @@ namespace AlibabaCloud
|
|||||||
void setOuterOrderNo(const std::string& outerOrderNo);
|
void setOuterOrderNo(const std::string& outerOrderNo);
|
||||||
std::string getCertType()const;
|
std::string getCertType()const;
|
||||||
void setCertType(const std::string& certType);
|
void setCertType(const std::string& certType);
|
||||||
long getSceneId()const;
|
|
||||||
void setSceneId(long sceneId);
|
|
||||||
std::string getMetaInfo()const;
|
std::string getMetaInfo()const;
|
||||||
void setMetaInfo(const std::string& metaInfo);
|
void setMetaInfo(const std::string& metaInfo);
|
||||||
std::string getOcr()const;
|
std::string getOcr()const;
|
||||||
void setOcr(const std::string& ocr);
|
void setOcr(const std::string& ocr);
|
||||||
|
std::string getOssObjectName()const;
|
||||||
|
void setOssObjectName(const std::string& ossObjectName);
|
||||||
|
std::string getFacePictureUrl()const;
|
||||||
|
void setFacePictureUrl(const std::string& facePictureUrl);
|
||||||
|
std::string getIp()const;
|
||||||
|
void setIp(const std::string& ip);
|
||||||
|
std::string getCertName()const;
|
||||||
|
void setCertName(const std::string& certName);
|
||||||
|
std::string getMobile()const;
|
||||||
|
void setMobile(const std::string& mobile);
|
||||||
|
long getSceneId()const;
|
||||||
|
void setSceneId(long sceneId);
|
||||||
|
std::string getCallbackToken()const;
|
||||||
|
void setCallbackToken(const std::string& callbackToken);
|
||||||
|
std::string getOssBucketName()const;
|
||||||
|
void setOssBucketName(const std::string& ossBucketName);
|
||||||
|
std::string getCallbackUrl()const;
|
||||||
|
void setCallbackUrl(const std::string& callbackUrl);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string ip_;
|
|
||||||
std::string certName_;
|
|
||||||
std::string mobile_;
|
|
||||||
std::string userId_;
|
std::string userId_;
|
||||||
|
std::string certifyId_;
|
||||||
|
std::string facePictureBase64_;
|
||||||
std::string mode_;
|
std::string mode_;
|
||||||
std::string certNo_;
|
std::string certNo_;
|
||||||
std::string outerOrderNo_;
|
std::string outerOrderNo_;
|
||||||
std::string certType_;
|
std::string certType_;
|
||||||
long sceneId_;
|
|
||||||
std::string metaInfo_;
|
std::string metaInfo_;
|
||||||
std::string ocr_;
|
std::string ocr_;
|
||||||
|
std::string ossObjectName_;
|
||||||
|
std::string facePictureUrl_;
|
||||||
|
std::string ip_;
|
||||||
|
std::string certName_;
|
||||||
|
std::string mobile_;
|
||||||
|
long sceneId_;
|
||||||
|
std::string callbackToken_;
|
||||||
|
std::string ossBucketName_;
|
||||||
|
std::string callbackUrl_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,84 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_LIVENESSFACEVERIFYREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_LIVENESSFACEVERIFYREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cloudauth
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT LivenessFaceVerifyRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
LivenessFaceVerifyRequest();
|
||||||
|
~LivenessFaceVerifyRequest();
|
||||||
|
|
||||||
|
std::string getProductCode()const;
|
||||||
|
void setProductCode(const std::string& productCode);
|
||||||
|
std::string getOssObjectName()const;
|
||||||
|
void setOssObjectName(const std::string& ossObjectName);
|
||||||
|
std::string getFaceContrastPicture()const;
|
||||||
|
void setFaceContrastPicture(const std::string& faceContrastPicture);
|
||||||
|
std::string getIp()const;
|
||||||
|
void setIp(const std::string& ip);
|
||||||
|
std::string getMobile()const;
|
||||||
|
void setMobile(const std::string& mobile);
|
||||||
|
std::string getDeviceToken()const;
|
||||||
|
void setDeviceToken(const std::string& deviceToken);
|
||||||
|
std::string getUserId()const;
|
||||||
|
void setUserId(const std::string& userId);
|
||||||
|
std::string getCertifyId()const;
|
||||||
|
void setCertifyId(const std::string& certifyId);
|
||||||
|
std::string getOuterOrderNo()const;
|
||||||
|
void setOuterOrderNo(const std::string& outerOrderNo);
|
||||||
|
std::string getFaceContrastPictureUrl()const;
|
||||||
|
void setFaceContrastPictureUrl(const std::string& faceContrastPictureUrl);
|
||||||
|
long getSceneId()const;
|
||||||
|
void setSceneId(long sceneId);
|
||||||
|
std::string getOssBucketName()const;
|
||||||
|
void setOssBucketName(const std::string& ossBucketName);
|
||||||
|
std::string getModel()const;
|
||||||
|
void setModel(const std::string& model);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string productCode_;
|
||||||
|
std::string ossObjectName_;
|
||||||
|
std::string faceContrastPicture_;
|
||||||
|
std::string ip_;
|
||||||
|
std::string mobile_;
|
||||||
|
std::string deviceToken_;
|
||||||
|
std::string userId_;
|
||||||
|
std::string certifyId_;
|
||||||
|
std::string outerOrderNo_;
|
||||||
|
std::string faceContrastPictureUrl_;
|
||||||
|
long sceneId_;
|
||||||
|
std::string ossBucketName_;
|
||||||
|
std::string model_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_LIVENESSFACEVERIFYREQUEST_H_
|
||||||
@@ -0,0 +1,61 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_LIVENESSFACEVERIFYRESULT_H_
|
||||||
|
#define ALIBABACLOUD_CLOUDAUTH_MODEL_LIVENESSFACEVERIFYRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Cloudauth
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CLOUDAUTH_EXPORT LivenessFaceVerifyResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct ResultObject
|
||||||
|
{
|
||||||
|
std::string passed;
|
||||||
|
std::string materialInfo;
|
||||||
|
std::string subCode;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
LivenessFaceVerifyResult();
|
||||||
|
explicit LivenessFaceVerifyResult(const std::string &payload);
|
||||||
|
~LivenessFaceVerifyResult();
|
||||||
|
ResultObject getResultObject()const;
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
ResultObject resultObject_;
|
||||||
|
std::string message_;
|
||||||
|
std::string code_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_LIVENESSFACEVERIFYRESULT_H_
|
||||||
@@ -1167,6 +1167,42 @@ CloudauthClient::InitSmartVerifyOutcomeCallable CloudauthClient::initSmartVerify
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CloudauthClient::LivenessFaceVerifyOutcome CloudauthClient::livenessFaceVerify(const LivenessFaceVerifyRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return LivenessFaceVerifyOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return LivenessFaceVerifyOutcome(LivenessFaceVerifyResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return LivenessFaceVerifyOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void CloudauthClient::livenessFaceVerifyAsync(const LivenessFaceVerifyRequest& request, const LivenessFaceVerifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, livenessFaceVerify(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
CloudauthClient::LivenessFaceVerifyOutcomeCallable CloudauthClient::livenessFaceVerifyCallable(const LivenessFaceVerifyRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<LivenessFaceVerifyOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->livenessFaceVerify(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
CloudauthClient::ModifyDeviceInfoOutcome CloudauthClient::modifyDeviceInfo(const ModifyDeviceInfoRequest &request) const
|
CloudauthClient::ModifyDeviceInfoOutcome CloudauthClient::modifyDeviceInfo(const ModifyDeviceInfoRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
|||||||
@@ -203,6 +203,17 @@ void InitFaceVerifyRequest::setOssBucketName(const std::string& ossBucketName)
|
|||||||
setParameter("OssBucketName", ossBucketName);
|
setParameter("OssBucketName", ossBucketName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string InitFaceVerifyRequest::getCallbackToken()const
|
||||||
|
{
|
||||||
|
return callbackToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitFaceVerifyRequest::setCallbackToken(const std::string& callbackToken)
|
||||||
|
{
|
||||||
|
callbackToken_ = callbackToken;
|
||||||
|
setParameter("CallbackToken", callbackToken);
|
||||||
|
}
|
||||||
|
|
||||||
std::string InitFaceVerifyRequest::getReturnUrl()const
|
std::string InitFaceVerifyRequest::getReturnUrl()const
|
||||||
{
|
{
|
||||||
return returnUrl_;
|
return returnUrl_;
|
||||||
@@ -214,3 +225,14 @@ void InitFaceVerifyRequest::setReturnUrl(const std::string& returnUrl)
|
|||||||
setParameter("ReturnUrl", returnUrl);
|
setParameter("ReturnUrl", returnUrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string InitFaceVerifyRequest::getCallbackUrl()const
|
||||||
|
{
|
||||||
|
return callbackUrl_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitFaceVerifyRequest::setCallbackUrl(const std::string& callbackUrl)
|
||||||
|
{
|
||||||
|
callbackUrl_ = callbackUrl;
|
||||||
|
setParameter("CallbackUrl", callbackUrl);
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -27,39 +27,6 @@ InitSmartVerifyRequest::InitSmartVerifyRequest() :
|
|||||||
InitSmartVerifyRequest::~InitSmartVerifyRequest()
|
InitSmartVerifyRequest::~InitSmartVerifyRequest()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
std::string InitSmartVerifyRequest::getIp()const
|
|
||||||
{
|
|
||||||
return ip_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void InitSmartVerifyRequest::setIp(const std::string& ip)
|
|
||||||
{
|
|
||||||
ip_ = ip;
|
|
||||||
setBodyParameter("Ip", ip);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string InitSmartVerifyRequest::getCertName()const
|
|
||||||
{
|
|
||||||
return certName_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void InitSmartVerifyRequest::setCertName(const std::string& certName)
|
|
||||||
{
|
|
||||||
certName_ = certName;
|
|
||||||
setBodyParameter("CertName", certName);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string InitSmartVerifyRequest::getMobile()const
|
|
||||||
{
|
|
||||||
return mobile_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void InitSmartVerifyRequest::setMobile(const std::string& mobile)
|
|
||||||
{
|
|
||||||
mobile_ = mobile;
|
|
||||||
setBodyParameter("Mobile", mobile);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string InitSmartVerifyRequest::getUserId()const
|
std::string InitSmartVerifyRequest::getUserId()const
|
||||||
{
|
{
|
||||||
return userId_;
|
return userId_;
|
||||||
@@ -71,6 +38,28 @@ void InitSmartVerifyRequest::setUserId(const std::string& userId)
|
|||||||
setBodyParameter("UserId", userId);
|
setBodyParameter("UserId", userId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string InitSmartVerifyRequest::getCertifyId()const
|
||||||
|
{
|
||||||
|
return certifyId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitSmartVerifyRequest::setCertifyId(const std::string& certifyId)
|
||||||
|
{
|
||||||
|
certifyId_ = certifyId;
|
||||||
|
setBodyParameter("CertifyId", certifyId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string InitSmartVerifyRequest::getFacePictureBase64()const
|
||||||
|
{
|
||||||
|
return facePictureBase64_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitSmartVerifyRequest::setFacePictureBase64(const std::string& facePictureBase64)
|
||||||
|
{
|
||||||
|
facePictureBase64_ = facePictureBase64;
|
||||||
|
setBodyParameter("FacePictureBase64", facePictureBase64);
|
||||||
|
}
|
||||||
|
|
||||||
std::string InitSmartVerifyRequest::getMode()const
|
std::string InitSmartVerifyRequest::getMode()const
|
||||||
{
|
{
|
||||||
return mode_;
|
return mode_;
|
||||||
@@ -115,17 +104,6 @@ void InitSmartVerifyRequest::setCertType(const std::string& certType)
|
|||||||
setBodyParameter("CertType", certType);
|
setBodyParameter("CertType", certType);
|
||||||
}
|
}
|
||||||
|
|
||||||
long InitSmartVerifyRequest::getSceneId()const
|
|
||||||
{
|
|
||||||
return sceneId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void InitSmartVerifyRequest::setSceneId(long sceneId)
|
|
||||||
{
|
|
||||||
sceneId_ = sceneId;
|
|
||||||
setBodyParameter("SceneId", std::to_string(sceneId));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string InitSmartVerifyRequest::getMetaInfo()const
|
std::string InitSmartVerifyRequest::getMetaInfo()const
|
||||||
{
|
{
|
||||||
return metaInfo_;
|
return metaInfo_;
|
||||||
@@ -148,3 +126,102 @@ void InitSmartVerifyRequest::setOcr(const std::string& ocr)
|
|||||||
setBodyParameter("Ocr", ocr);
|
setBodyParameter("Ocr", ocr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string InitSmartVerifyRequest::getOssObjectName()const
|
||||||
|
{
|
||||||
|
return ossObjectName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitSmartVerifyRequest::setOssObjectName(const std::string& ossObjectName)
|
||||||
|
{
|
||||||
|
ossObjectName_ = ossObjectName;
|
||||||
|
setBodyParameter("OssObjectName", ossObjectName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string InitSmartVerifyRequest::getFacePictureUrl()const
|
||||||
|
{
|
||||||
|
return facePictureUrl_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitSmartVerifyRequest::setFacePictureUrl(const std::string& facePictureUrl)
|
||||||
|
{
|
||||||
|
facePictureUrl_ = facePictureUrl;
|
||||||
|
setBodyParameter("FacePictureUrl", facePictureUrl);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string InitSmartVerifyRequest::getIp()const
|
||||||
|
{
|
||||||
|
return ip_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitSmartVerifyRequest::setIp(const std::string& ip)
|
||||||
|
{
|
||||||
|
ip_ = ip;
|
||||||
|
setBodyParameter("Ip", ip);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string InitSmartVerifyRequest::getCertName()const
|
||||||
|
{
|
||||||
|
return certName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitSmartVerifyRequest::setCertName(const std::string& certName)
|
||||||
|
{
|
||||||
|
certName_ = certName;
|
||||||
|
setBodyParameter("CertName", certName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string InitSmartVerifyRequest::getMobile()const
|
||||||
|
{
|
||||||
|
return mobile_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitSmartVerifyRequest::setMobile(const std::string& mobile)
|
||||||
|
{
|
||||||
|
mobile_ = mobile;
|
||||||
|
setBodyParameter("Mobile", mobile);
|
||||||
|
}
|
||||||
|
|
||||||
|
long InitSmartVerifyRequest::getSceneId()const
|
||||||
|
{
|
||||||
|
return sceneId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitSmartVerifyRequest::setSceneId(long sceneId)
|
||||||
|
{
|
||||||
|
sceneId_ = sceneId;
|
||||||
|
setBodyParameter("SceneId", std::to_string(sceneId));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string InitSmartVerifyRequest::getCallbackToken()const
|
||||||
|
{
|
||||||
|
return callbackToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitSmartVerifyRequest::setCallbackToken(const std::string& callbackToken)
|
||||||
|
{
|
||||||
|
callbackToken_ = callbackToken;
|
||||||
|
setBodyParameter("CallbackToken", callbackToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string InitSmartVerifyRequest::getOssBucketName()const
|
||||||
|
{
|
||||||
|
return ossBucketName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitSmartVerifyRequest::setOssBucketName(const std::string& ossBucketName)
|
||||||
|
{
|
||||||
|
ossBucketName_ = ossBucketName;
|
||||||
|
setBodyParameter("OssBucketName", ossBucketName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string InitSmartVerifyRequest::getCallbackUrl()const
|
||||||
|
{
|
||||||
|
return callbackUrl_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void InitSmartVerifyRequest::setCallbackUrl(const std::string& callbackUrl)
|
||||||
|
{
|
||||||
|
callbackUrl_ = callbackUrl;
|
||||||
|
setBodyParameter("CallbackUrl", callbackUrl);
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
172
cloudauth/src/model/LivenessFaceVerifyRequest.cc
Normal file
172
cloudauth/src/model/LivenessFaceVerifyRequest.cc
Normal file
@@ -0,0 +1,172 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/LivenessFaceVerifyRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Cloudauth::Model::LivenessFaceVerifyRequest;
|
||||||
|
|
||||||
|
LivenessFaceVerifyRequest::LivenessFaceVerifyRequest() :
|
||||||
|
RpcServiceRequest("cloudauth", "2019-03-07", "LivenessFaceVerify")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
LivenessFaceVerifyRequest::~LivenessFaceVerifyRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyRequest::getProductCode()const
|
||||||
|
{
|
||||||
|
return productCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setProductCode(const std::string& productCode)
|
||||||
|
{
|
||||||
|
productCode_ = productCode;
|
||||||
|
setBodyParameter("ProductCode", productCode);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyRequest::getOssObjectName()const
|
||||||
|
{
|
||||||
|
return ossObjectName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setOssObjectName(const std::string& ossObjectName)
|
||||||
|
{
|
||||||
|
ossObjectName_ = ossObjectName;
|
||||||
|
setBodyParameter("OssObjectName", ossObjectName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyRequest::getFaceContrastPicture()const
|
||||||
|
{
|
||||||
|
return faceContrastPicture_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setFaceContrastPicture(const std::string& faceContrastPicture)
|
||||||
|
{
|
||||||
|
faceContrastPicture_ = faceContrastPicture;
|
||||||
|
setBodyParameter("FaceContrastPicture", faceContrastPicture);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyRequest::getIp()const
|
||||||
|
{
|
||||||
|
return ip_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setIp(const std::string& ip)
|
||||||
|
{
|
||||||
|
ip_ = ip;
|
||||||
|
setBodyParameter("Ip", ip);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyRequest::getMobile()const
|
||||||
|
{
|
||||||
|
return mobile_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setMobile(const std::string& mobile)
|
||||||
|
{
|
||||||
|
mobile_ = mobile;
|
||||||
|
setBodyParameter("Mobile", mobile);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyRequest::getDeviceToken()const
|
||||||
|
{
|
||||||
|
return deviceToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setDeviceToken(const std::string& deviceToken)
|
||||||
|
{
|
||||||
|
deviceToken_ = deviceToken;
|
||||||
|
setBodyParameter("DeviceToken", deviceToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyRequest::getUserId()const
|
||||||
|
{
|
||||||
|
return userId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setUserId(const std::string& userId)
|
||||||
|
{
|
||||||
|
userId_ = userId;
|
||||||
|
setBodyParameter("UserId", userId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyRequest::getCertifyId()const
|
||||||
|
{
|
||||||
|
return certifyId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setCertifyId(const std::string& certifyId)
|
||||||
|
{
|
||||||
|
certifyId_ = certifyId;
|
||||||
|
setBodyParameter("CertifyId", certifyId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyRequest::getOuterOrderNo()const
|
||||||
|
{
|
||||||
|
return outerOrderNo_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setOuterOrderNo(const std::string& outerOrderNo)
|
||||||
|
{
|
||||||
|
outerOrderNo_ = outerOrderNo;
|
||||||
|
setBodyParameter("OuterOrderNo", outerOrderNo);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyRequest::getFaceContrastPictureUrl()const
|
||||||
|
{
|
||||||
|
return faceContrastPictureUrl_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setFaceContrastPictureUrl(const std::string& faceContrastPictureUrl)
|
||||||
|
{
|
||||||
|
faceContrastPictureUrl_ = faceContrastPictureUrl;
|
||||||
|
setBodyParameter("FaceContrastPictureUrl", faceContrastPictureUrl);
|
||||||
|
}
|
||||||
|
|
||||||
|
long LivenessFaceVerifyRequest::getSceneId()const
|
||||||
|
{
|
||||||
|
return sceneId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setSceneId(long sceneId)
|
||||||
|
{
|
||||||
|
sceneId_ = sceneId;
|
||||||
|
setBodyParameter("SceneId", std::to_string(sceneId));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyRequest::getOssBucketName()const
|
||||||
|
{
|
||||||
|
return ossBucketName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setOssBucketName(const std::string& ossBucketName)
|
||||||
|
{
|
||||||
|
ossBucketName_ = ossBucketName;
|
||||||
|
setBodyParameter("OssBucketName", ossBucketName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyRequest::getModel()const
|
||||||
|
{
|
||||||
|
return model_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyRequest::setModel(const std::string& model)
|
||||||
|
{
|
||||||
|
model_ = model;
|
||||||
|
setParameter("Model", model);
|
||||||
|
}
|
||||||
|
|
||||||
70
cloudauth/src/model/LivenessFaceVerifyResult.cc
Normal file
70
cloudauth/src/model/LivenessFaceVerifyResult.cc
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cloudauth/model/LivenessFaceVerifyResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Cloudauth;
|
||||||
|
using namespace AlibabaCloud::Cloudauth::Model;
|
||||||
|
|
||||||
|
LivenessFaceVerifyResult::LivenessFaceVerifyResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
LivenessFaceVerifyResult::LivenessFaceVerifyResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
LivenessFaceVerifyResult::~LivenessFaceVerifyResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void LivenessFaceVerifyResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto resultObjectNode = value["ResultObject"];
|
||||||
|
if(!resultObjectNode["Passed"].isNull())
|
||||||
|
resultObject_.passed = resultObjectNode["Passed"].asString();
|
||||||
|
if(!resultObjectNode["MaterialInfo"].isNull())
|
||||||
|
resultObject_.materialInfo = resultObjectNode["MaterialInfo"].asString();
|
||||||
|
if(!resultObjectNode["SubCode"].isNull())
|
||||||
|
resultObject_.subCode = resultObjectNode["SubCode"].asString();
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = value["Code"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
LivenessFaceVerifyResult::ResultObject LivenessFaceVerifyResult::getResultObject()const
|
||||||
|
{
|
||||||
|
return resultObject_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string LivenessFaceVerifyResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -41,8 +41,6 @@ namespace AlibabaCloud
|
|||||||
void setStartTime(const std::string& startTime);
|
void setStartTime(const std::string& startTime);
|
||||||
int getPageNumber()const;
|
int getPageNumber()const;
|
||||||
void setPageNumber(int pageNumber);
|
void setPageNumber(int pageNumber);
|
||||||
std::string getResourceGroupId()const;
|
|
||||||
void setResourceGroupId(const std::string& resourceGroupId);
|
|
||||||
std::string getSecurityToken()const;
|
std::string getSecurityToken()const;
|
||||||
void setSecurityToken(const std::string& securityToken);
|
void setSecurityToken(const std::string& securityToken);
|
||||||
int getPageSize()const;
|
int getPageSize()const;
|
||||||
@@ -64,7 +62,6 @@ namespace AlibabaCloud
|
|||||||
std::string objectPath_;
|
std::string objectPath_;
|
||||||
std::string startTime_;
|
std::string startTime_;
|
||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
std::string resourceGroupId_;
|
|
||||||
std::string securityToken_;
|
std::string securityToken_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
std::string objectType_;
|
std::string objectType_;
|
||||||
|
|||||||
@@ -60,17 +60,6 @@ void DescribeDcdnRefreshTasksRequest::setPageNumber(int pageNumber)
|
|||||||
setParameter("PageNumber", std::to_string(pageNumber));
|
setParameter("PageNumber", std::to_string(pageNumber));
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeDcdnRefreshTasksRequest::getResourceGroupId()const
|
|
||||||
{
|
|
||||||
return resourceGroupId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeDcdnRefreshTasksRequest::setResourceGroupId(const std::string& resourceGroupId)
|
|
||||||
{
|
|
||||||
resourceGroupId_ = resourceGroupId;
|
|
||||||
setParameter("ResourceGroupId", resourceGroupId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DescribeDcdnRefreshTasksRequest::getSecurityToken()const
|
std::string DescribeDcdnRefreshTasksRequest::getSecurityToken()const
|
||||||
{
|
{
|
||||||
return securityToken_;
|
return securityToken_;
|
||||||
|
|||||||
86
emap/CMakeLists.txt
Normal file
86
emap/CMakeLists.txt
Normal file
@@ -0,0 +1,86 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
|
||||||
|
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||||
|
|
||||||
|
set(emap_public_header
|
||||||
|
include/alibabacloud/emap/EmapClient.h
|
||||||
|
include/alibabacloud/emap/EmapExport.h )
|
||||||
|
|
||||||
|
set(emap_public_header_model
|
||||||
|
include/alibabacloud/emap/model/QueryMapInfoOpenRequest.h
|
||||||
|
include/alibabacloud/emap/model/QueryMapInfoOpenResult.h )
|
||||||
|
|
||||||
|
set(emap_src
|
||||||
|
src/EmapClient.cc
|
||||||
|
src/model/QueryMapInfoOpenRequest.cc
|
||||||
|
src/model/QueryMapInfoOpenResult.cc )
|
||||||
|
|
||||||
|
add_library(emap ${LIB_TYPE}
|
||||||
|
${emap_public_header}
|
||||||
|
${emap_public_header_model}
|
||||||
|
${emap_src})
|
||||||
|
|
||||||
|
set_target_properties(emap
|
||||||
|
PROPERTIES
|
||||||
|
LINKER_LANGUAGE CXX
|
||||||
|
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||||
|
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||||
|
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
||||||
|
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}emap
|
||||||
|
)
|
||||||
|
|
||||||
|
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||||
|
set_target_properties(emap
|
||||||
|
PROPERTIES
|
||||||
|
DEFINE_SYMBOL ALIBABACLOUD_EMAP_LIBRARY)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
target_include_directories(emap
|
||||||
|
PRIVATE include
|
||||||
|
${CMAKE_SOURCE_DIR}/core/include
|
||||||
|
)
|
||||||
|
target_link_libraries(emap
|
||||||
|
core)
|
||||||
|
|
||||||
|
if(CMAKE_HOST_WIN32)
|
||||||
|
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||||
|
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||||
|
add_dependencies(emap
|
||||||
|
jsoncpp)
|
||||||
|
target_include_directories(emap
|
||||||
|
PRIVATE ${jsoncpp_install_dir}/include)
|
||||||
|
target_link_libraries(emap
|
||||||
|
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||||
|
set_target_properties(emap
|
||||||
|
PROPERTIES
|
||||||
|
COMPILE_OPTIONS "/bigobj")
|
||||||
|
else()
|
||||||
|
target_include_directories(emap
|
||||||
|
PRIVATE /usr/include/jsoncpp)
|
||||||
|
target_link_libraries(emap
|
||||||
|
jsoncpp)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
install(FILES ${emap_public_header}
|
||||||
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/emap)
|
||||||
|
install(FILES ${emap_public_header_model}
|
||||||
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/emap/model)
|
||||||
|
install(TARGETS emap
|
||||||
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||||
|
)
|
||||||
54
emap/include/alibabacloud/emap/EmapClient.h
Normal file
54
emap/include/alibabacloud/emap/EmapClient.h
Normal 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_EMAP_EMAPCLIENT_H_
|
||||||
|
#define ALIBABACLOUD_EMAP_EMAPCLIENT_H_
|
||||||
|
|
||||||
|
#include <future>
|
||||||
|
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||||
|
#include <alibabacloud/core/EndpointProvider.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceClient.h>
|
||||||
|
#include "EmapExport.h"
|
||||||
|
#include "model/QueryMapInfoOpenRequest.h"
|
||||||
|
#include "model/QueryMapInfoOpenResult.h"
|
||||||
|
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Emap
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EMAP_EXPORT EmapClient : public RpcServiceClient
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
typedef Outcome<Error, Model::QueryMapInfoOpenResult> QueryMapInfoOpenOutcome;
|
||||||
|
typedef std::future<QueryMapInfoOpenOutcome> QueryMapInfoOpenOutcomeCallable;
|
||||||
|
typedef std::function<void(const EmapClient*, const Model::QueryMapInfoOpenRequest&, const QueryMapInfoOpenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMapInfoOpenAsyncHandler;
|
||||||
|
|
||||||
|
EmapClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||||
|
EmapClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||||
|
EmapClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||||
|
~EmapClient();
|
||||||
|
QueryMapInfoOpenOutcome queryMapInfoOpen(const Model::QueryMapInfoOpenRequest &request)const;
|
||||||
|
void queryMapInfoOpenAsync(const Model::QueryMapInfoOpenRequest& request, const QueryMapInfoOpenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
QueryMapInfoOpenOutcomeCallable queryMapInfoOpenCallable(const Model::QueryMapInfoOpenRequest& request) const;
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif // !ALIBABACLOUD_EMAP_EMAPCLIENT_H_
|
||||||
32
emap/include/alibabacloud/emap/EmapExport.h
Normal file
32
emap/include/alibabacloud/emap/EmapExport.h
Normal 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_EMAP_EMAPEXPORT_H_
|
||||||
|
#define ALIBABACLOUD_EMAP_EMAPEXPORT_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/core/Global.h>
|
||||||
|
|
||||||
|
#if defined(ALIBABACLOUD_SHARED)
|
||||||
|
# if defined(ALIBABACLOUD_EMAP_LIBRARY)
|
||||||
|
# define ALIBABACLOUD_EMAP_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||||
|
# else
|
||||||
|
# define ALIBABACLOUD_EMAP_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||||
|
# endif
|
||||||
|
#else
|
||||||
|
# define ALIBABACLOUD_EMAP_EXPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif // !ALIBABACLOUD_EMAP_EMAPEXPORT_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_EMAP_MODEL_QUERYMAPINFOOPENREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EMAP_MODEL_QUERYMAPINFOOPENREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/emap/EmapExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Emap
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EMAP_EXPORT QueryMapInfoOpenRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
QueryMapInfoOpenRequest();
|
||||||
|
~QueryMapInfoOpenRequest();
|
||||||
|
|
||||||
|
long getStoreId()const;
|
||||||
|
void setStoreId(long storeId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
long storeId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EMAP_MODEL_QUERYMAPINFOOPENREQUEST_H_
|
||||||
@@ -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_EMAP_MODEL_QUERYMAPINFOOPENRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EMAP_MODEL_QUERYMAPINFOOPENRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/emap/EmapExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Emap
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EMAP_EXPORT QueryMapInfoOpenResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
QueryMapInfoOpenResult();
|
||||||
|
explicit QueryMapInfoOpenResult(const std::string &payload);
|
||||||
|
~QueryMapInfoOpenResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getRenderData()const;
|
||||||
|
std::string getDynamicCode()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
std::string getDynamicMessage()const;
|
||||||
|
std::string getErrorMessage()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string renderData_;
|
||||||
|
std::string dynamicCode_;
|
||||||
|
std::string errorCode_;
|
||||||
|
std::string dynamicMessage_;
|
||||||
|
std::string errorMessage_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EMAP_MODEL_QUERYMAPINFOOPENRESULT_H_
|
||||||
89
emap/src/EmapClient.cc
Normal file
89
emap/src/EmapClient.cc
Normal file
@@ -0,0 +1,89 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/emap/EmapClient.h>
|
||||||
|
#include <alibabacloud/core/SimpleCredentialsProvider.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud;
|
||||||
|
using namespace AlibabaCloud::Location;
|
||||||
|
using namespace AlibabaCloud::Emap;
|
||||||
|
using namespace AlibabaCloud::Emap::Model;
|
||||||
|
|
||||||
|
namespace
|
||||||
|
{
|
||||||
|
const std::string SERVICE_NAME = "emap";
|
||||||
|
}
|
||||||
|
|
||||||
|
EmapClient::EmapClient(const Credentials &credentials, const ClientConfiguration &configuration) :
|
||||||
|
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||||
|
{
|
||||||
|
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||||
|
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||||
|
}
|
||||||
|
|
||||||
|
EmapClient::EmapClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||||
|
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||||
|
{
|
||||||
|
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||||
|
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||||
|
}
|
||||||
|
|
||||||
|
EmapClient::EmapClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||||
|
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||||
|
{
|
||||||
|
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||||
|
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||||
|
}
|
||||||
|
|
||||||
|
EmapClient::~EmapClient()
|
||||||
|
{}
|
||||||
|
|
||||||
|
EmapClient::QueryMapInfoOpenOutcome EmapClient::queryMapInfoOpen(const QueryMapInfoOpenRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return QueryMapInfoOpenOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return QueryMapInfoOpenOutcome(QueryMapInfoOpenResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return QueryMapInfoOpenOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void EmapClient::queryMapInfoOpenAsync(const QueryMapInfoOpenRequest& request, const QueryMapInfoOpenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, queryMapInfoOpen(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
EmapClient::QueryMapInfoOpenOutcomeCallable EmapClient::queryMapInfoOpenCallable(const QueryMapInfoOpenRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<QueryMapInfoOpenOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->queryMapInfoOpen(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
40
emap/src/model/QueryMapInfoOpenRequest.cc
Normal file
40
emap/src/model/QueryMapInfoOpenRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/emap/model/QueryMapInfoOpenRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Emap::Model::QueryMapInfoOpenRequest;
|
||||||
|
|
||||||
|
QueryMapInfoOpenRequest::QueryMapInfoOpenRequest() :
|
||||||
|
RpcServiceRequest("emap", "2020-10-10", "QueryMapInfoOpen")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
QueryMapInfoOpenRequest::~QueryMapInfoOpenRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
long QueryMapInfoOpenRequest::getStoreId()const
|
||||||
|
{
|
||||||
|
return storeId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QueryMapInfoOpenRequest::setStoreId(long storeId)
|
||||||
|
{
|
||||||
|
storeId_ = storeId;
|
||||||
|
setBodyParameter("StoreId", std::to_string(storeId));
|
||||||
|
}
|
||||||
|
|
||||||
100
emap/src/model/QueryMapInfoOpenResult.cc
Normal file
100
emap/src/model/QueryMapInfoOpenResult.cc
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/emap/model/QueryMapInfoOpenResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Emap;
|
||||||
|
using namespace AlibabaCloud::Emap::Model;
|
||||||
|
|
||||||
|
QueryMapInfoOpenResult::QueryMapInfoOpenResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
QueryMapInfoOpenResult::QueryMapInfoOpenResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
QueryMapInfoOpenResult::~QueryMapInfoOpenResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void QueryMapInfoOpenResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
if(!value["RenderData"].isNull())
|
||||||
|
renderData_ = value["RenderData"].asString();
|
||||||
|
if(!value["ErrorCode"].isNull())
|
||||||
|
errorCode_ = value["ErrorCode"].asString();
|
||||||
|
if(!value["ErrorMessage"].isNull())
|
||||||
|
errorMessage_ = value["ErrorMessage"].asString();
|
||||||
|
if(!value["DynamicMessage"].isNull())
|
||||||
|
dynamicMessage_ = value["DynamicMessage"].asString();
|
||||||
|
if(!value["Success"].isNull())
|
||||||
|
success_ = value["Success"].asString() == "true";
|
||||||
|
if(!value["DynamicCode"].isNull())
|
||||||
|
dynamicCode_ = value["DynamicCode"].asString();
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = value["Code"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string QueryMapInfoOpenResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string QueryMapInfoOpenResult::getRenderData()const
|
||||||
|
{
|
||||||
|
return renderData_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string QueryMapInfoOpenResult::getDynamicCode()const
|
||||||
|
{
|
||||||
|
return dynamicCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string QueryMapInfoOpenResult::getErrorCode()const
|
||||||
|
{
|
||||||
|
return errorCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string QueryMapInfoOpenResult::getDynamicMessage()const
|
||||||
|
{
|
||||||
|
return dynamicMessage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string QueryMapInfoOpenResult::getErrorMessage()const
|
||||||
|
{
|
||||||
|
return errorMessage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string QueryMapInfoOpenResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool QueryMapInfoOpenResult::getSuccess()const
|
||||||
|
{
|
||||||
|
return success_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -59,10 +59,14 @@ set(hbase_public_header_model
|
|||||||
include/alibabacloud/hbase/model/DescribeBackupSummaryResult.h
|
include/alibabacloud/hbase/model/DescribeBackupSummaryResult.h
|
||||||
include/alibabacloud/hbase/model/DescribeBackupTablesRequest.h
|
include/alibabacloud/hbase/model/DescribeBackupTablesRequest.h
|
||||||
include/alibabacloud/hbase/model/DescribeBackupTablesResult.h
|
include/alibabacloud/hbase/model/DescribeBackupTablesResult.h
|
||||||
|
include/alibabacloud/hbase/model/DescribeClusterConnectionRequest.h
|
||||||
|
include/alibabacloud/hbase/model/DescribeClusterConnectionResult.h
|
||||||
include/alibabacloud/hbase/model/DescribeDBInstanceUsageRequest.h
|
include/alibabacloud/hbase/model/DescribeDBInstanceUsageRequest.h
|
||||||
include/alibabacloud/hbase/model/DescribeDBInstanceUsageResult.h
|
include/alibabacloud/hbase/model/DescribeDBInstanceUsageResult.h
|
||||||
include/alibabacloud/hbase/model/DescribeDeletedInstancesRequest.h
|
include/alibabacloud/hbase/model/DescribeDeletedInstancesRequest.h
|
||||||
include/alibabacloud/hbase/model/DescribeDeletedInstancesResult.h
|
include/alibabacloud/hbase/model/DescribeDeletedInstancesResult.h
|
||||||
|
include/alibabacloud/hbase/model/DescribeDiskWarningLineRequest.h
|
||||||
|
include/alibabacloud/hbase/model/DescribeDiskWarningLineResult.h
|
||||||
include/alibabacloud/hbase/model/DescribeEndpointsRequest.h
|
include/alibabacloud/hbase/model/DescribeEndpointsRequest.h
|
||||||
include/alibabacloud/hbase/model/DescribeEndpointsResult.h
|
include/alibabacloud/hbase/model/DescribeEndpointsResult.h
|
||||||
include/alibabacloud/hbase/model/DescribeInstanceRequest.h
|
include/alibabacloud/hbase/model/DescribeInstanceRequest.h
|
||||||
@@ -109,10 +113,14 @@ set(hbase_public_header_model
|
|||||||
include/alibabacloud/hbase/model/ModifyBackupPlanConfigResult.h
|
include/alibabacloud/hbase/model/ModifyBackupPlanConfigResult.h
|
||||||
include/alibabacloud/hbase/model/ModifyClusterDeletionProtectionRequest.h
|
include/alibabacloud/hbase/model/ModifyClusterDeletionProtectionRequest.h
|
||||||
include/alibabacloud/hbase/model/ModifyClusterDeletionProtectionResult.h
|
include/alibabacloud/hbase/model/ModifyClusterDeletionProtectionResult.h
|
||||||
|
include/alibabacloud/hbase/model/ModifyDiskWarningLineRequest.h
|
||||||
|
include/alibabacloud/hbase/model/ModifyDiskWarningLineResult.h
|
||||||
include/alibabacloud/hbase/model/ModifyInstanceMaintainTimeRequest.h
|
include/alibabacloud/hbase/model/ModifyInstanceMaintainTimeRequest.h
|
||||||
include/alibabacloud/hbase/model/ModifyInstanceMaintainTimeResult.h
|
include/alibabacloud/hbase/model/ModifyInstanceMaintainTimeResult.h
|
||||||
include/alibabacloud/hbase/model/ModifyInstanceNameRequest.h
|
include/alibabacloud/hbase/model/ModifyInstanceNameRequest.h
|
||||||
include/alibabacloud/hbase/model/ModifyInstanceNameResult.h
|
include/alibabacloud/hbase/model/ModifyInstanceNameResult.h
|
||||||
|
include/alibabacloud/hbase/model/ModifyInstanceTypeRequest.h
|
||||||
|
include/alibabacloud/hbase/model/ModifyInstanceTypeResult.h
|
||||||
include/alibabacloud/hbase/model/ModifyIpWhitelistRequest.h
|
include/alibabacloud/hbase/model/ModifyIpWhitelistRequest.h
|
||||||
include/alibabacloud/hbase/model/ModifyIpWhitelistResult.h
|
include/alibabacloud/hbase/model/ModifyIpWhitelistResult.h
|
||||||
include/alibabacloud/hbase/model/ModifyMultiZoneClusterNodeTypeRequest.h
|
include/alibabacloud/hbase/model/ModifyMultiZoneClusterNodeTypeRequest.h
|
||||||
@@ -129,6 +137,8 @@ set(hbase_public_header_model
|
|||||||
include/alibabacloud/hbase/model/QueryXpackRelateDBResult.h
|
include/alibabacloud/hbase/model/QueryXpackRelateDBResult.h
|
||||||
include/alibabacloud/hbase/model/RenewInstanceRequest.h
|
include/alibabacloud/hbase/model/RenewInstanceRequest.h
|
||||||
include/alibabacloud/hbase/model/RenewInstanceResult.h
|
include/alibabacloud/hbase/model/RenewInstanceResult.h
|
||||||
|
include/alibabacloud/hbase/model/ResizeColdStorageSizeRequest.h
|
||||||
|
include/alibabacloud/hbase/model/ResizeColdStorageSizeResult.h
|
||||||
include/alibabacloud/hbase/model/ResizeDiskSizeRequest.h
|
include/alibabacloud/hbase/model/ResizeDiskSizeRequest.h
|
||||||
include/alibabacloud/hbase/model/ResizeDiskSizeResult.h
|
include/alibabacloud/hbase/model/ResizeDiskSizeResult.h
|
||||||
include/alibabacloud/hbase/model/ResizeMultiZoneClusterDiskSizeRequest.h
|
include/alibabacloud/hbase/model/ResizeMultiZoneClusterDiskSizeRequest.h
|
||||||
@@ -190,10 +200,14 @@ set(hbase_src
|
|||||||
src/model/DescribeBackupSummaryResult.cc
|
src/model/DescribeBackupSummaryResult.cc
|
||||||
src/model/DescribeBackupTablesRequest.cc
|
src/model/DescribeBackupTablesRequest.cc
|
||||||
src/model/DescribeBackupTablesResult.cc
|
src/model/DescribeBackupTablesResult.cc
|
||||||
|
src/model/DescribeClusterConnectionRequest.cc
|
||||||
|
src/model/DescribeClusterConnectionResult.cc
|
||||||
src/model/DescribeDBInstanceUsageRequest.cc
|
src/model/DescribeDBInstanceUsageRequest.cc
|
||||||
src/model/DescribeDBInstanceUsageResult.cc
|
src/model/DescribeDBInstanceUsageResult.cc
|
||||||
src/model/DescribeDeletedInstancesRequest.cc
|
src/model/DescribeDeletedInstancesRequest.cc
|
||||||
src/model/DescribeDeletedInstancesResult.cc
|
src/model/DescribeDeletedInstancesResult.cc
|
||||||
|
src/model/DescribeDiskWarningLineRequest.cc
|
||||||
|
src/model/DescribeDiskWarningLineResult.cc
|
||||||
src/model/DescribeEndpointsRequest.cc
|
src/model/DescribeEndpointsRequest.cc
|
||||||
src/model/DescribeEndpointsResult.cc
|
src/model/DescribeEndpointsResult.cc
|
||||||
src/model/DescribeInstanceRequest.cc
|
src/model/DescribeInstanceRequest.cc
|
||||||
@@ -240,10 +254,14 @@ set(hbase_src
|
|||||||
src/model/ModifyBackupPlanConfigResult.cc
|
src/model/ModifyBackupPlanConfigResult.cc
|
||||||
src/model/ModifyClusterDeletionProtectionRequest.cc
|
src/model/ModifyClusterDeletionProtectionRequest.cc
|
||||||
src/model/ModifyClusterDeletionProtectionResult.cc
|
src/model/ModifyClusterDeletionProtectionResult.cc
|
||||||
|
src/model/ModifyDiskWarningLineRequest.cc
|
||||||
|
src/model/ModifyDiskWarningLineResult.cc
|
||||||
src/model/ModifyInstanceMaintainTimeRequest.cc
|
src/model/ModifyInstanceMaintainTimeRequest.cc
|
||||||
src/model/ModifyInstanceMaintainTimeResult.cc
|
src/model/ModifyInstanceMaintainTimeResult.cc
|
||||||
src/model/ModifyInstanceNameRequest.cc
|
src/model/ModifyInstanceNameRequest.cc
|
||||||
src/model/ModifyInstanceNameResult.cc
|
src/model/ModifyInstanceNameResult.cc
|
||||||
|
src/model/ModifyInstanceTypeRequest.cc
|
||||||
|
src/model/ModifyInstanceTypeResult.cc
|
||||||
src/model/ModifyIpWhitelistRequest.cc
|
src/model/ModifyIpWhitelistRequest.cc
|
||||||
src/model/ModifyIpWhitelistResult.cc
|
src/model/ModifyIpWhitelistResult.cc
|
||||||
src/model/ModifyMultiZoneClusterNodeTypeRequest.cc
|
src/model/ModifyMultiZoneClusterNodeTypeRequest.cc
|
||||||
@@ -260,6 +278,8 @@ set(hbase_src
|
|||||||
src/model/QueryXpackRelateDBResult.cc
|
src/model/QueryXpackRelateDBResult.cc
|
||||||
src/model/RenewInstanceRequest.cc
|
src/model/RenewInstanceRequest.cc
|
||||||
src/model/RenewInstanceResult.cc
|
src/model/RenewInstanceResult.cc
|
||||||
|
src/model/ResizeColdStorageSizeRequest.cc
|
||||||
|
src/model/ResizeColdStorageSizeResult.cc
|
||||||
src/model/ResizeDiskSizeRequest.cc
|
src/model/ResizeDiskSizeRequest.cc
|
||||||
src/model/ResizeDiskSizeResult.cc
|
src/model/ResizeDiskSizeResult.cc
|
||||||
src/model/ResizeMultiZoneClusterDiskSizeRequest.cc
|
src/model/ResizeMultiZoneClusterDiskSizeRequest.cc
|
||||||
|
|||||||
@@ -60,10 +60,14 @@
|
|||||||
#include "model/DescribeBackupSummaryResult.h"
|
#include "model/DescribeBackupSummaryResult.h"
|
||||||
#include "model/DescribeBackupTablesRequest.h"
|
#include "model/DescribeBackupTablesRequest.h"
|
||||||
#include "model/DescribeBackupTablesResult.h"
|
#include "model/DescribeBackupTablesResult.h"
|
||||||
|
#include "model/DescribeClusterConnectionRequest.h"
|
||||||
|
#include "model/DescribeClusterConnectionResult.h"
|
||||||
#include "model/DescribeDBInstanceUsageRequest.h"
|
#include "model/DescribeDBInstanceUsageRequest.h"
|
||||||
#include "model/DescribeDBInstanceUsageResult.h"
|
#include "model/DescribeDBInstanceUsageResult.h"
|
||||||
#include "model/DescribeDeletedInstancesRequest.h"
|
#include "model/DescribeDeletedInstancesRequest.h"
|
||||||
#include "model/DescribeDeletedInstancesResult.h"
|
#include "model/DescribeDeletedInstancesResult.h"
|
||||||
|
#include "model/DescribeDiskWarningLineRequest.h"
|
||||||
|
#include "model/DescribeDiskWarningLineResult.h"
|
||||||
#include "model/DescribeEndpointsRequest.h"
|
#include "model/DescribeEndpointsRequest.h"
|
||||||
#include "model/DescribeEndpointsResult.h"
|
#include "model/DescribeEndpointsResult.h"
|
||||||
#include "model/DescribeInstanceRequest.h"
|
#include "model/DescribeInstanceRequest.h"
|
||||||
@@ -110,10 +114,14 @@
|
|||||||
#include "model/ModifyBackupPlanConfigResult.h"
|
#include "model/ModifyBackupPlanConfigResult.h"
|
||||||
#include "model/ModifyClusterDeletionProtectionRequest.h"
|
#include "model/ModifyClusterDeletionProtectionRequest.h"
|
||||||
#include "model/ModifyClusterDeletionProtectionResult.h"
|
#include "model/ModifyClusterDeletionProtectionResult.h"
|
||||||
|
#include "model/ModifyDiskWarningLineRequest.h"
|
||||||
|
#include "model/ModifyDiskWarningLineResult.h"
|
||||||
#include "model/ModifyInstanceMaintainTimeRequest.h"
|
#include "model/ModifyInstanceMaintainTimeRequest.h"
|
||||||
#include "model/ModifyInstanceMaintainTimeResult.h"
|
#include "model/ModifyInstanceMaintainTimeResult.h"
|
||||||
#include "model/ModifyInstanceNameRequest.h"
|
#include "model/ModifyInstanceNameRequest.h"
|
||||||
#include "model/ModifyInstanceNameResult.h"
|
#include "model/ModifyInstanceNameResult.h"
|
||||||
|
#include "model/ModifyInstanceTypeRequest.h"
|
||||||
|
#include "model/ModifyInstanceTypeResult.h"
|
||||||
#include "model/ModifyIpWhitelistRequest.h"
|
#include "model/ModifyIpWhitelistRequest.h"
|
||||||
#include "model/ModifyIpWhitelistResult.h"
|
#include "model/ModifyIpWhitelistResult.h"
|
||||||
#include "model/ModifyMultiZoneClusterNodeTypeRequest.h"
|
#include "model/ModifyMultiZoneClusterNodeTypeRequest.h"
|
||||||
@@ -130,6 +138,8 @@
|
|||||||
#include "model/QueryXpackRelateDBResult.h"
|
#include "model/QueryXpackRelateDBResult.h"
|
||||||
#include "model/RenewInstanceRequest.h"
|
#include "model/RenewInstanceRequest.h"
|
||||||
#include "model/RenewInstanceResult.h"
|
#include "model/RenewInstanceResult.h"
|
||||||
|
#include "model/ResizeColdStorageSizeRequest.h"
|
||||||
|
#include "model/ResizeColdStorageSizeResult.h"
|
||||||
#include "model/ResizeDiskSizeRequest.h"
|
#include "model/ResizeDiskSizeRequest.h"
|
||||||
#include "model/ResizeDiskSizeResult.h"
|
#include "model/ResizeDiskSizeResult.h"
|
||||||
#include "model/ResizeMultiZoneClusterDiskSizeRequest.h"
|
#include "model/ResizeMultiZoneClusterDiskSizeRequest.h"
|
||||||
@@ -216,12 +226,18 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DescribeBackupTablesResult> DescribeBackupTablesOutcome;
|
typedef Outcome<Error, Model::DescribeBackupTablesResult> DescribeBackupTablesOutcome;
|
||||||
typedef std::future<DescribeBackupTablesOutcome> DescribeBackupTablesOutcomeCallable;
|
typedef std::future<DescribeBackupTablesOutcome> DescribeBackupTablesOutcomeCallable;
|
||||||
typedef std::function<void(const HBaseClient*, const Model::DescribeBackupTablesRequest&, const DescribeBackupTablesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBackupTablesAsyncHandler;
|
typedef std::function<void(const HBaseClient*, const Model::DescribeBackupTablesRequest&, const DescribeBackupTablesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBackupTablesAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeClusterConnectionResult> DescribeClusterConnectionOutcome;
|
||||||
|
typedef std::future<DescribeClusterConnectionOutcome> DescribeClusterConnectionOutcomeCallable;
|
||||||
|
typedef std::function<void(const HBaseClient*, const Model::DescribeClusterConnectionRequest&, const DescribeClusterConnectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeClusterConnectionAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeDBInstanceUsageResult> DescribeDBInstanceUsageOutcome;
|
typedef Outcome<Error, Model::DescribeDBInstanceUsageResult> DescribeDBInstanceUsageOutcome;
|
||||||
typedef std::future<DescribeDBInstanceUsageOutcome> DescribeDBInstanceUsageOutcomeCallable;
|
typedef std::future<DescribeDBInstanceUsageOutcome> DescribeDBInstanceUsageOutcomeCallable;
|
||||||
typedef std::function<void(const HBaseClient*, const Model::DescribeDBInstanceUsageRequest&, const DescribeDBInstanceUsageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBInstanceUsageAsyncHandler;
|
typedef std::function<void(const HBaseClient*, const Model::DescribeDBInstanceUsageRequest&, const DescribeDBInstanceUsageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBInstanceUsageAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeDeletedInstancesResult> DescribeDeletedInstancesOutcome;
|
typedef Outcome<Error, Model::DescribeDeletedInstancesResult> DescribeDeletedInstancesOutcome;
|
||||||
typedef std::future<DescribeDeletedInstancesOutcome> DescribeDeletedInstancesOutcomeCallable;
|
typedef std::future<DescribeDeletedInstancesOutcome> DescribeDeletedInstancesOutcomeCallable;
|
||||||
typedef std::function<void(const HBaseClient*, const Model::DescribeDeletedInstancesRequest&, const DescribeDeletedInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDeletedInstancesAsyncHandler;
|
typedef std::function<void(const HBaseClient*, const Model::DescribeDeletedInstancesRequest&, const DescribeDeletedInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDeletedInstancesAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeDiskWarningLineResult> DescribeDiskWarningLineOutcome;
|
||||||
|
typedef std::future<DescribeDiskWarningLineOutcome> DescribeDiskWarningLineOutcomeCallable;
|
||||||
|
typedef std::function<void(const HBaseClient*, const Model::DescribeDiskWarningLineRequest&, const DescribeDiskWarningLineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDiskWarningLineAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeEndpointsResult> DescribeEndpointsOutcome;
|
typedef Outcome<Error, Model::DescribeEndpointsResult> DescribeEndpointsOutcome;
|
||||||
typedef std::future<DescribeEndpointsOutcome> DescribeEndpointsOutcomeCallable;
|
typedef std::future<DescribeEndpointsOutcome> DescribeEndpointsOutcomeCallable;
|
||||||
typedef std::function<void(const HBaseClient*, const Model::DescribeEndpointsRequest&, const DescribeEndpointsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEndpointsAsyncHandler;
|
typedef std::function<void(const HBaseClient*, const Model::DescribeEndpointsRequest&, const DescribeEndpointsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEndpointsAsyncHandler;
|
||||||
@@ -291,12 +307,18 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::ModifyClusterDeletionProtectionResult> ModifyClusterDeletionProtectionOutcome;
|
typedef Outcome<Error, Model::ModifyClusterDeletionProtectionResult> ModifyClusterDeletionProtectionOutcome;
|
||||||
typedef std::future<ModifyClusterDeletionProtectionOutcome> ModifyClusterDeletionProtectionOutcomeCallable;
|
typedef std::future<ModifyClusterDeletionProtectionOutcome> ModifyClusterDeletionProtectionOutcomeCallable;
|
||||||
typedef std::function<void(const HBaseClient*, const Model::ModifyClusterDeletionProtectionRequest&, const ModifyClusterDeletionProtectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyClusterDeletionProtectionAsyncHandler;
|
typedef std::function<void(const HBaseClient*, const Model::ModifyClusterDeletionProtectionRequest&, const ModifyClusterDeletionProtectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyClusterDeletionProtectionAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ModifyDiskWarningLineResult> ModifyDiskWarningLineOutcome;
|
||||||
|
typedef std::future<ModifyDiskWarningLineOutcome> ModifyDiskWarningLineOutcomeCallable;
|
||||||
|
typedef std::function<void(const HBaseClient*, const Model::ModifyDiskWarningLineRequest&, const ModifyDiskWarningLineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDiskWarningLineAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ModifyInstanceMaintainTimeResult> ModifyInstanceMaintainTimeOutcome;
|
typedef Outcome<Error, Model::ModifyInstanceMaintainTimeResult> ModifyInstanceMaintainTimeOutcome;
|
||||||
typedef std::future<ModifyInstanceMaintainTimeOutcome> ModifyInstanceMaintainTimeOutcomeCallable;
|
typedef std::future<ModifyInstanceMaintainTimeOutcome> ModifyInstanceMaintainTimeOutcomeCallable;
|
||||||
typedef std::function<void(const HBaseClient*, const Model::ModifyInstanceMaintainTimeRequest&, const ModifyInstanceMaintainTimeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceMaintainTimeAsyncHandler;
|
typedef std::function<void(const HBaseClient*, const Model::ModifyInstanceMaintainTimeRequest&, const ModifyInstanceMaintainTimeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceMaintainTimeAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ModifyInstanceNameResult> ModifyInstanceNameOutcome;
|
typedef Outcome<Error, Model::ModifyInstanceNameResult> ModifyInstanceNameOutcome;
|
||||||
typedef std::future<ModifyInstanceNameOutcome> ModifyInstanceNameOutcomeCallable;
|
typedef std::future<ModifyInstanceNameOutcome> ModifyInstanceNameOutcomeCallable;
|
||||||
typedef std::function<void(const HBaseClient*, const Model::ModifyInstanceNameRequest&, const ModifyInstanceNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceNameAsyncHandler;
|
typedef std::function<void(const HBaseClient*, const Model::ModifyInstanceNameRequest&, const ModifyInstanceNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceNameAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ModifyInstanceTypeResult> ModifyInstanceTypeOutcome;
|
||||||
|
typedef std::future<ModifyInstanceTypeOutcome> ModifyInstanceTypeOutcomeCallable;
|
||||||
|
typedef std::function<void(const HBaseClient*, const Model::ModifyInstanceTypeRequest&, const ModifyInstanceTypeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceTypeAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ModifyIpWhitelistResult> ModifyIpWhitelistOutcome;
|
typedef Outcome<Error, Model::ModifyIpWhitelistResult> ModifyIpWhitelistOutcome;
|
||||||
typedef std::future<ModifyIpWhitelistOutcome> ModifyIpWhitelistOutcomeCallable;
|
typedef std::future<ModifyIpWhitelistOutcome> ModifyIpWhitelistOutcomeCallable;
|
||||||
typedef std::function<void(const HBaseClient*, const Model::ModifyIpWhitelistRequest&, const ModifyIpWhitelistOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyIpWhitelistAsyncHandler;
|
typedef std::function<void(const HBaseClient*, const Model::ModifyIpWhitelistRequest&, const ModifyIpWhitelistOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyIpWhitelistAsyncHandler;
|
||||||
@@ -321,6 +343,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::RenewInstanceResult> RenewInstanceOutcome;
|
typedef Outcome<Error, Model::RenewInstanceResult> RenewInstanceOutcome;
|
||||||
typedef std::future<RenewInstanceOutcome> RenewInstanceOutcomeCallable;
|
typedef std::future<RenewInstanceOutcome> RenewInstanceOutcomeCallable;
|
||||||
typedef std::function<void(const HBaseClient*, const Model::RenewInstanceRequest&, const RenewInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewInstanceAsyncHandler;
|
typedef std::function<void(const HBaseClient*, const Model::RenewInstanceRequest&, const RenewInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewInstanceAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ResizeColdStorageSizeResult> ResizeColdStorageSizeOutcome;
|
||||||
|
typedef std::future<ResizeColdStorageSizeOutcome> ResizeColdStorageSizeOutcomeCallable;
|
||||||
|
typedef std::function<void(const HBaseClient*, const Model::ResizeColdStorageSizeRequest&, const ResizeColdStorageSizeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResizeColdStorageSizeAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ResizeDiskSizeResult> ResizeDiskSizeOutcome;
|
typedef Outcome<Error, Model::ResizeDiskSizeResult> ResizeDiskSizeOutcome;
|
||||||
typedef std::future<ResizeDiskSizeOutcome> ResizeDiskSizeOutcomeCallable;
|
typedef std::future<ResizeDiskSizeOutcome> ResizeDiskSizeOutcomeCallable;
|
||||||
typedef std::function<void(const HBaseClient*, const Model::ResizeDiskSizeRequest&, const ResizeDiskSizeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResizeDiskSizeAsyncHandler;
|
typedef std::function<void(const HBaseClient*, const Model::ResizeDiskSizeRequest&, const ResizeDiskSizeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResizeDiskSizeAsyncHandler;
|
||||||
@@ -413,12 +438,18 @@ namespace AlibabaCloud
|
|||||||
DescribeBackupTablesOutcome describeBackupTables(const Model::DescribeBackupTablesRequest &request)const;
|
DescribeBackupTablesOutcome describeBackupTables(const Model::DescribeBackupTablesRequest &request)const;
|
||||||
void describeBackupTablesAsync(const Model::DescribeBackupTablesRequest& request, const DescribeBackupTablesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeBackupTablesAsync(const Model::DescribeBackupTablesRequest& request, const DescribeBackupTablesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeBackupTablesOutcomeCallable describeBackupTablesCallable(const Model::DescribeBackupTablesRequest& request) const;
|
DescribeBackupTablesOutcomeCallable describeBackupTablesCallable(const Model::DescribeBackupTablesRequest& request) const;
|
||||||
|
DescribeClusterConnectionOutcome describeClusterConnection(const Model::DescribeClusterConnectionRequest &request)const;
|
||||||
|
void describeClusterConnectionAsync(const Model::DescribeClusterConnectionRequest& request, const DescribeClusterConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeClusterConnectionOutcomeCallable describeClusterConnectionCallable(const Model::DescribeClusterConnectionRequest& request) const;
|
||||||
DescribeDBInstanceUsageOutcome describeDBInstanceUsage(const Model::DescribeDBInstanceUsageRequest &request)const;
|
DescribeDBInstanceUsageOutcome describeDBInstanceUsage(const Model::DescribeDBInstanceUsageRequest &request)const;
|
||||||
void describeDBInstanceUsageAsync(const Model::DescribeDBInstanceUsageRequest& request, const DescribeDBInstanceUsageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeDBInstanceUsageAsync(const Model::DescribeDBInstanceUsageRequest& request, const DescribeDBInstanceUsageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeDBInstanceUsageOutcomeCallable describeDBInstanceUsageCallable(const Model::DescribeDBInstanceUsageRequest& request) const;
|
DescribeDBInstanceUsageOutcomeCallable describeDBInstanceUsageCallable(const Model::DescribeDBInstanceUsageRequest& request) const;
|
||||||
DescribeDeletedInstancesOutcome describeDeletedInstances(const Model::DescribeDeletedInstancesRequest &request)const;
|
DescribeDeletedInstancesOutcome describeDeletedInstances(const Model::DescribeDeletedInstancesRequest &request)const;
|
||||||
void describeDeletedInstancesAsync(const Model::DescribeDeletedInstancesRequest& request, const DescribeDeletedInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeDeletedInstancesAsync(const Model::DescribeDeletedInstancesRequest& request, const DescribeDeletedInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeDeletedInstancesOutcomeCallable describeDeletedInstancesCallable(const Model::DescribeDeletedInstancesRequest& request) const;
|
DescribeDeletedInstancesOutcomeCallable describeDeletedInstancesCallable(const Model::DescribeDeletedInstancesRequest& request) const;
|
||||||
|
DescribeDiskWarningLineOutcome describeDiskWarningLine(const Model::DescribeDiskWarningLineRequest &request)const;
|
||||||
|
void describeDiskWarningLineAsync(const Model::DescribeDiskWarningLineRequest& request, const DescribeDiskWarningLineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeDiskWarningLineOutcomeCallable describeDiskWarningLineCallable(const Model::DescribeDiskWarningLineRequest& request) const;
|
||||||
DescribeEndpointsOutcome describeEndpoints(const Model::DescribeEndpointsRequest &request)const;
|
DescribeEndpointsOutcome describeEndpoints(const Model::DescribeEndpointsRequest &request)const;
|
||||||
void describeEndpointsAsync(const Model::DescribeEndpointsRequest& request, const DescribeEndpointsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeEndpointsAsync(const Model::DescribeEndpointsRequest& request, const DescribeEndpointsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeEndpointsOutcomeCallable describeEndpointsCallable(const Model::DescribeEndpointsRequest& request) const;
|
DescribeEndpointsOutcomeCallable describeEndpointsCallable(const Model::DescribeEndpointsRequest& request) const;
|
||||||
@@ -488,12 +519,18 @@ namespace AlibabaCloud
|
|||||||
ModifyClusterDeletionProtectionOutcome modifyClusterDeletionProtection(const Model::ModifyClusterDeletionProtectionRequest &request)const;
|
ModifyClusterDeletionProtectionOutcome modifyClusterDeletionProtection(const Model::ModifyClusterDeletionProtectionRequest &request)const;
|
||||||
void modifyClusterDeletionProtectionAsync(const Model::ModifyClusterDeletionProtectionRequest& request, const ModifyClusterDeletionProtectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void modifyClusterDeletionProtectionAsync(const Model::ModifyClusterDeletionProtectionRequest& request, const ModifyClusterDeletionProtectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ModifyClusterDeletionProtectionOutcomeCallable modifyClusterDeletionProtectionCallable(const Model::ModifyClusterDeletionProtectionRequest& request) const;
|
ModifyClusterDeletionProtectionOutcomeCallable modifyClusterDeletionProtectionCallable(const Model::ModifyClusterDeletionProtectionRequest& request) const;
|
||||||
|
ModifyDiskWarningLineOutcome modifyDiskWarningLine(const Model::ModifyDiskWarningLineRequest &request)const;
|
||||||
|
void modifyDiskWarningLineAsync(const Model::ModifyDiskWarningLineRequest& request, const ModifyDiskWarningLineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ModifyDiskWarningLineOutcomeCallable modifyDiskWarningLineCallable(const Model::ModifyDiskWarningLineRequest& request) const;
|
||||||
ModifyInstanceMaintainTimeOutcome modifyInstanceMaintainTime(const Model::ModifyInstanceMaintainTimeRequest &request)const;
|
ModifyInstanceMaintainTimeOutcome modifyInstanceMaintainTime(const Model::ModifyInstanceMaintainTimeRequest &request)const;
|
||||||
void modifyInstanceMaintainTimeAsync(const Model::ModifyInstanceMaintainTimeRequest& request, const ModifyInstanceMaintainTimeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void modifyInstanceMaintainTimeAsync(const Model::ModifyInstanceMaintainTimeRequest& request, const ModifyInstanceMaintainTimeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ModifyInstanceMaintainTimeOutcomeCallable modifyInstanceMaintainTimeCallable(const Model::ModifyInstanceMaintainTimeRequest& request) const;
|
ModifyInstanceMaintainTimeOutcomeCallable modifyInstanceMaintainTimeCallable(const Model::ModifyInstanceMaintainTimeRequest& request) const;
|
||||||
ModifyInstanceNameOutcome modifyInstanceName(const Model::ModifyInstanceNameRequest &request)const;
|
ModifyInstanceNameOutcome modifyInstanceName(const Model::ModifyInstanceNameRequest &request)const;
|
||||||
void modifyInstanceNameAsync(const Model::ModifyInstanceNameRequest& request, const ModifyInstanceNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void modifyInstanceNameAsync(const Model::ModifyInstanceNameRequest& request, const ModifyInstanceNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ModifyInstanceNameOutcomeCallable modifyInstanceNameCallable(const Model::ModifyInstanceNameRequest& request) const;
|
ModifyInstanceNameOutcomeCallable modifyInstanceNameCallable(const Model::ModifyInstanceNameRequest& request) const;
|
||||||
|
ModifyInstanceTypeOutcome modifyInstanceType(const Model::ModifyInstanceTypeRequest &request)const;
|
||||||
|
void modifyInstanceTypeAsync(const Model::ModifyInstanceTypeRequest& request, const ModifyInstanceTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ModifyInstanceTypeOutcomeCallable modifyInstanceTypeCallable(const Model::ModifyInstanceTypeRequest& request) const;
|
||||||
ModifyIpWhitelistOutcome modifyIpWhitelist(const Model::ModifyIpWhitelistRequest &request)const;
|
ModifyIpWhitelistOutcome modifyIpWhitelist(const Model::ModifyIpWhitelistRequest &request)const;
|
||||||
void modifyIpWhitelistAsync(const Model::ModifyIpWhitelistRequest& request, const ModifyIpWhitelistAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void modifyIpWhitelistAsync(const Model::ModifyIpWhitelistRequest& request, const ModifyIpWhitelistAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ModifyIpWhitelistOutcomeCallable modifyIpWhitelistCallable(const Model::ModifyIpWhitelistRequest& request) const;
|
ModifyIpWhitelistOutcomeCallable modifyIpWhitelistCallable(const Model::ModifyIpWhitelistRequest& request) const;
|
||||||
@@ -518,6 +555,9 @@ namespace AlibabaCloud
|
|||||||
RenewInstanceOutcome renewInstance(const Model::RenewInstanceRequest &request)const;
|
RenewInstanceOutcome renewInstance(const Model::RenewInstanceRequest &request)const;
|
||||||
void renewInstanceAsync(const Model::RenewInstanceRequest& request, const RenewInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void renewInstanceAsync(const Model::RenewInstanceRequest& request, const RenewInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
RenewInstanceOutcomeCallable renewInstanceCallable(const Model::RenewInstanceRequest& request) const;
|
RenewInstanceOutcomeCallable renewInstanceCallable(const Model::RenewInstanceRequest& request) const;
|
||||||
|
ResizeColdStorageSizeOutcome resizeColdStorageSize(const Model::ResizeColdStorageSizeRequest &request)const;
|
||||||
|
void resizeColdStorageSizeAsync(const Model::ResizeColdStorageSizeRequest& request, const ResizeColdStorageSizeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ResizeColdStorageSizeOutcomeCallable resizeColdStorageSizeCallable(const Model::ResizeColdStorageSizeRequest& request) const;
|
||||||
ResizeDiskSizeOutcome resizeDiskSize(const Model::ResizeDiskSizeRequest &request)const;
|
ResizeDiskSizeOutcome resizeDiskSize(const Model::ResizeDiskSizeRequest &request)const;
|
||||||
void resizeDiskSizeAsync(const Model::ResizeDiskSizeRequest& request, const ResizeDiskSizeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void resizeDiskSizeAsync(const Model::ResizeDiskSizeRequest& request, const ResizeDiskSizeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ResizeDiskSizeOutcomeCallable resizeDiskSizeCallable(const Model::ResizeDiskSizeRequest& request) const;
|
ResizeDiskSizeOutcomeCallable resizeDiskSizeCallable(const Model::ResizeDiskSizeRequest& request) const;
|
||||||
|
|||||||
@@ -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_HBASE_MODEL_DESCRIBECLUSTERCONNECTIONREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_HBASE_MODEL_DESCRIBECLUSTERCONNECTIONREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/hbase/HBaseExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace HBase
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_HBASE_EXPORT DescribeClusterConnectionRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeClusterConnectionRequest();
|
||||||
|
~DescribeClusterConnectionRequest();
|
||||||
|
|
||||||
|
std::string getClusterId()const;
|
||||||
|
void setClusterId(const std::string& clusterId);
|
||||||
|
std::string getRegionId()const;
|
||||||
|
void setRegionId(const std::string& regionId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string clusterId_;
|
||||||
|
std::string regionId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_HBASE_MODEL_DESCRIBECLUSTERCONNECTIONREQUEST_H_
|
||||||
@@ -0,0 +1,109 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_HBASE_MODEL_DESCRIBECLUSTERCONNECTIONRESULT_H_
|
||||||
|
#define ALIBABACLOUD_HBASE_MODEL_DESCRIBECLUSTERCONNECTIONRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/hbase/HBaseExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace HBase
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_HBASE_EXPORT DescribeClusterConnectionResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct UiProxyConnAddrInfo
|
||||||
|
{
|
||||||
|
std::string connAddrPort;
|
||||||
|
std::string connAddr;
|
||||||
|
std::string netType;
|
||||||
|
};
|
||||||
|
struct ThriftConn
|
||||||
|
{
|
||||||
|
std::string connAddrPort;
|
||||||
|
std::string connAddr;
|
||||||
|
std::string netType;
|
||||||
|
};
|
||||||
|
struct ZkConnAddr
|
||||||
|
{
|
||||||
|
std::string connAddrPort;
|
||||||
|
std::string connAddr;
|
||||||
|
std::string netType;
|
||||||
|
};
|
||||||
|
struct SlbConnAddr
|
||||||
|
{
|
||||||
|
struct ConnAddrInfo
|
||||||
|
{
|
||||||
|
std::string connAddrPort;
|
||||||
|
std::string connAddr;
|
||||||
|
std::string netType;
|
||||||
|
};
|
||||||
|
ConnAddrInfo connAddrInfo;
|
||||||
|
std::string slbType;
|
||||||
|
};
|
||||||
|
struct ServiceConnAddr
|
||||||
|
{
|
||||||
|
struct ConnAddrInfo1
|
||||||
|
{
|
||||||
|
std::string connAddrPort;
|
||||||
|
std::string connAddr;
|
||||||
|
std::string netType;
|
||||||
|
};
|
||||||
|
std::string connType;
|
||||||
|
ConnAddrInfo1 connAddrInfo1;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeClusterConnectionResult();
|
||||||
|
explicit DescribeClusterConnectionResult(const std::string &payload);
|
||||||
|
~DescribeClusterConnectionResult();
|
||||||
|
std::string getIsMultimod()const;
|
||||||
|
UiProxyConnAddrInfo getUiProxyConnAddrInfo()const;
|
||||||
|
std::string getVpcId()const;
|
||||||
|
std::string getVSwitchId()const;
|
||||||
|
std::vector<ServiceConnAddr> getServiceConnAddrs()const;
|
||||||
|
std::string getNetType()const;
|
||||||
|
ThriftConn getThriftConn()const;
|
||||||
|
std::string getDbType()const;
|
||||||
|
std::vector<ZkConnAddr> getZkConnAddrs()const;
|
||||||
|
std::vector<SlbConnAddr> getSlbConnAddrs()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string isMultimod_;
|
||||||
|
UiProxyConnAddrInfo uiProxyConnAddrInfo_;
|
||||||
|
std::string vpcId_;
|
||||||
|
std::string vSwitchId_;
|
||||||
|
std::vector<ServiceConnAddr> serviceConnAddrs_;
|
||||||
|
std::string netType_;
|
||||||
|
ThriftConn thriftConn_;
|
||||||
|
std::string dbType_;
|
||||||
|
std::vector<ZkConnAddr> zkConnAddrs_;
|
||||||
|
std::vector<SlbConnAddr> slbConnAddrs_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_HBASE_MODEL_DESCRIBECLUSTERCONNECTIONRESULT_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_HBASE_MODEL_DESCRIBEDISKWARNINGLINEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_HBASE_MODEL_DESCRIBEDISKWARNINGLINEREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/hbase/HBaseExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace HBase
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_HBASE_EXPORT DescribeDiskWarningLineRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeDiskWarningLineRequest();
|
||||||
|
~DescribeDiskWarningLineRequest();
|
||||||
|
|
||||||
|
std::string getClusterId()const;
|
||||||
|
void setClusterId(const std::string& clusterId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string clusterId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_HBASE_MODEL_DESCRIBEDISKWARNINGLINEREQUEST_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_HBASE_MODEL_DESCRIBEDISKWARNINGLINERESULT_H_
|
||||||
|
#define ALIBABACLOUD_HBASE_MODEL_DESCRIBEDISKWARNINGLINERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/hbase/HBaseExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace HBase
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_HBASE_EXPORT DescribeDiskWarningLineResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DescribeDiskWarningLineResult();
|
||||||
|
explicit DescribeDiskWarningLineResult(const std::string &payload);
|
||||||
|
~DescribeDiskWarningLineResult();
|
||||||
|
std::string getWarningLine()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string warningLine_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_HBASE_MODEL_DESCRIBEDISKWARNINGLINERESULT_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_HBASE_MODEL_MODIFYDISKWARNINGLINEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_HBASE_MODEL_MODIFYDISKWARNINGLINEREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/hbase/HBaseExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace HBase
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_HBASE_EXPORT ModifyDiskWarningLineRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
ModifyDiskWarningLineRequest();
|
||||||
|
~ModifyDiskWarningLineRequest();
|
||||||
|
|
||||||
|
std::string getClusterId()const;
|
||||||
|
void setClusterId(const std::string& clusterId);
|
||||||
|
int getWarningLine()const;
|
||||||
|
void setWarningLine(int warningLine);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string clusterId_;
|
||||||
|
int warningLine_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_HBASE_MODEL_MODIFYDISKWARNINGLINEREQUEST_H_
|
||||||
@@ -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_HBASE_MODEL_MODIFYDISKWARNINGLINERESULT_H_
|
||||||
|
#define ALIBABACLOUD_HBASE_MODEL_MODIFYDISKWARNINGLINERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/hbase/HBaseExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace HBase
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_HBASE_EXPORT ModifyDiskWarningLineResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
ModifyDiskWarningLineResult();
|
||||||
|
explicit ModifyDiskWarningLineResult(const std::string &payload);
|
||||||
|
~ModifyDiskWarningLineResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_HBASE_MODEL_MODIFYDISKWARNINGLINERESULT_H_
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_HBASE_MODEL_MODIFYINSTANCETYPEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_HBASE_MODEL_MODIFYINSTANCETYPEREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/hbase/HBaseExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace HBase
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_HBASE_EXPORT ModifyInstanceTypeRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
ModifyInstanceTypeRequest();
|
||||||
|
~ModifyInstanceTypeRequest();
|
||||||
|
|
||||||
|
std::string getClusterId()const;
|
||||||
|
void setClusterId(const std::string& clusterId);
|
||||||
|
std::string getMasterInstanceType()const;
|
||||||
|
void setMasterInstanceType(const std::string& masterInstanceType);
|
||||||
|
std::string getCoreInstanceType()const;
|
||||||
|
void setCoreInstanceType(const std::string& coreInstanceType);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string clusterId_;
|
||||||
|
std::string masterInstanceType_;
|
||||||
|
std::string coreInstanceType_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_HBASE_MODEL_MODIFYINSTANCETYPEREQUEST_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_HBASE_MODEL_MODIFYINSTANCETYPERESULT_H_
|
||||||
|
#define ALIBABACLOUD_HBASE_MODEL_MODIFYINSTANCETYPERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/hbase/HBaseExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace HBase
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_HBASE_EXPORT ModifyInstanceTypeResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
ModifyInstanceTypeResult();
|
||||||
|
explicit ModifyInstanceTypeResult(const std::string &payload);
|
||||||
|
~ModifyInstanceTypeResult();
|
||||||
|
std::string getOrderId()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string orderId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_HBASE_MODEL_MODIFYINSTANCETYPERESULT_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_HBASE_MODEL_RESIZECOLDSTORAGESIZEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_HBASE_MODEL_RESIZECOLDSTORAGESIZEREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/hbase/HBaseExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace HBase
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_HBASE_EXPORT ResizeColdStorageSizeRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
ResizeColdStorageSizeRequest();
|
||||||
|
~ResizeColdStorageSizeRequest();
|
||||||
|
|
||||||
|
std::string getClusterId()const;
|
||||||
|
void setClusterId(const std::string& clusterId);
|
||||||
|
int getColdStorageSize()const;
|
||||||
|
void setColdStorageSize(int coldStorageSize);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string clusterId_;
|
||||||
|
int coldStorageSize_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_HBASE_MODEL_RESIZECOLDSTORAGESIZEREQUEST_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_HBASE_MODEL_RESIZECOLDSTORAGESIZERESULT_H_
|
||||||
|
#define ALIBABACLOUD_HBASE_MODEL_RESIZECOLDSTORAGESIZERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/hbase/HBaseExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace HBase
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_HBASE_EXPORT ResizeColdStorageSizeResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
ResizeColdStorageSizeResult();
|
||||||
|
explicit ResizeColdStorageSizeResult(const std::string &payload);
|
||||||
|
~ResizeColdStorageSizeResult();
|
||||||
|
std::string getOrderId()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string orderId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_HBASE_MODEL_RESIZECOLDSTORAGESIZERESULT_H_
|
||||||
@@ -735,6 +735,42 @@ HBaseClient::DescribeBackupTablesOutcomeCallable HBaseClient::describeBackupTabl
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HBaseClient::DescribeClusterConnectionOutcome HBaseClient::describeClusterConnection(const DescribeClusterConnectionRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeClusterConnectionOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeClusterConnectionOutcome(DescribeClusterConnectionResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeClusterConnectionOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void HBaseClient::describeClusterConnectionAsync(const DescribeClusterConnectionRequest& request, const DescribeClusterConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeClusterConnection(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
HBaseClient::DescribeClusterConnectionOutcomeCallable HBaseClient::describeClusterConnectionCallable(const DescribeClusterConnectionRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeClusterConnectionOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeClusterConnection(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
HBaseClient::DescribeDBInstanceUsageOutcome HBaseClient::describeDBInstanceUsage(const DescribeDBInstanceUsageRequest &request) const
|
HBaseClient::DescribeDBInstanceUsageOutcome HBaseClient::describeDBInstanceUsage(const DescribeDBInstanceUsageRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -807,6 +843,42 @@ HBaseClient::DescribeDeletedInstancesOutcomeCallable HBaseClient::describeDelete
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HBaseClient::DescribeDiskWarningLineOutcome HBaseClient::describeDiskWarningLine(const DescribeDiskWarningLineRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeDiskWarningLineOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeDiskWarningLineOutcome(DescribeDiskWarningLineResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeDiskWarningLineOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void HBaseClient::describeDiskWarningLineAsync(const DescribeDiskWarningLineRequest& request, const DescribeDiskWarningLineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeDiskWarningLine(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
HBaseClient::DescribeDiskWarningLineOutcomeCallable HBaseClient::describeDiskWarningLineCallable(const DescribeDiskWarningLineRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeDiskWarningLineOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeDiskWarningLine(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
HBaseClient::DescribeEndpointsOutcome HBaseClient::describeEndpoints(const DescribeEndpointsRequest &request) const
|
HBaseClient::DescribeEndpointsOutcome HBaseClient::describeEndpoints(const DescribeEndpointsRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1635,6 +1707,42 @@ HBaseClient::ModifyClusterDeletionProtectionOutcomeCallable HBaseClient::modifyC
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HBaseClient::ModifyDiskWarningLineOutcome HBaseClient::modifyDiskWarningLine(const ModifyDiskWarningLineRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return ModifyDiskWarningLineOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return ModifyDiskWarningLineOutcome(ModifyDiskWarningLineResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return ModifyDiskWarningLineOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void HBaseClient::modifyDiskWarningLineAsync(const ModifyDiskWarningLineRequest& request, const ModifyDiskWarningLineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, modifyDiskWarningLine(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
HBaseClient::ModifyDiskWarningLineOutcomeCallable HBaseClient::modifyDiskWarningLineCallable(const ModifyDiskWarningLineRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<ModifyDiskWarningLineOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->modifyDiskWarningLine(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
HBaseClient::ModifyInstanceMaintainTimeOutcome HBaseClient::modifyInstanceMaintainTime(const ModifyInstanceMaintainTimeRequest &request) const
|
HBaseClient::ModifyInstanceMaintainTimeOutcome HBaseClient::modifyInstanceMaintainTime(const ModifyInstanceMaintainTimeRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1707,6 +1815,42 @@ HBaseClient::ModifyInstanceNameOutcomeCallable HBaseClient::modifyInstanceNameCa
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HBaseClient::ModifyInstanceTypeOutcome HBaseClient::modifyInstanceType(const ModifyInstanceTypeRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return ModifyInstanceTypeOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return ModifyInstanceTypeOutcome(ModifyInstanceTypeResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return ModifyInstanceTypeOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void HBaseClient::modifyInstanceTypeAsync(const ModifyInstanceTypeRequest& request, const ModifyInstanceTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, modifyInstanceType(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
HBaseClient::ModifyInstanceTypeOutcomeCallable HBaseClient::modifyInstanceTypeCallable(const ModifyInstanceTypeRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<ModifyInstanceTypeOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->modifyInstanceType(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
HBaseClient::ModifyIpWhitelistOutcome HBaseClient::modifyIpWhitelist(const ModifyIpWhitelistRequest &request) const
|
HBaseClient::ModifyIpWhitelistOutcome HBaseClient::modifyIpWhitelist(const ModifyIpWhitelistRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1995,6 +2139,42 @@ HBaseClient::RenewInstanceOutcomeCallable HBaseClient::renewInstanceCallable(con
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HBaseClient::ResizeColdStorageSizeOutcome HBaseClient::resizeColdStorageSize(const ResizeColdStorageSizeRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return ResizeColdStorageSizeOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return ResizeColdStorageSizeOutcome(ResizeColdStorageSizeResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return ResizeColdStorageSizeOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void HBaseClient::resizeColdStorageSizeAsync(const ResizeColdStorageSizeRequest& request, const ResizeColdStorageSizeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, resizeColdStorageSize(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
HBaseClient::ResizeColdStorageSizeOutcomeCallable HBaseClient::resizeColdStorageSizeCallable(const ResizeColdStorageSizeRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<ResizeColdStorageSizeOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->resizeColdStorageSize(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
HBaseClient::ResizeDiskSizeOutcome HBaseClient::resizeDiskSize(const ResizeDiskSizeRequest &request) const
|
HBaseClient::ResizeDiskSizeOutcome HBaseClient::resizeDiskSize(const ResizeDiskSizeRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
|||||||
51
hbase/src/model/DescribeClusterConnectionRequest.cc
Normal file
51
hbase/src/model/DescribeClusterConnectionRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/hbase/model/DescribeClusterConnectionRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::HBase::Model::DescribeClusterConnectionRequest;
|
||||||
|
|
||||||
|
DescribeClusterConnectionRequest::DescribeClusterConnectionRequest() :
|
||||||
|
RpcServiceRequest("hbase", "2019-01-01", "DescribeClusterConnection")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeClusterConnectionRequest::~DescribeClusterConnectionRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeClusterConnectionRequest::getClusterId()const
|
||||||
|
{
|
||||||
|
return clusterId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeClusterConnectionRequest::setClusterId(const std::string& clusterId)
|
||||||
|
{
|
||||||
|
clusterId_ = clusterId;
|
||||||
|
setParameter("ClusterId", clusterId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeClusterConnectionRequest::getRegionId()const
|
||||||
|
{
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeClusterConnectionRequest::setRegionId(const std::string& regionId)
|
||||||
|
{
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter("RegionId", regionId);
|
||||||
|
}
|
||||||
|
|
||||||
160
hbase/src/model/DescribeClusterConnectionResult.cc
Normal file
160
hbase/src/model/DescribeClusterConnectionResult.cc
Normal file
@@ -0,0 +1,160 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/hbase/model/DescribeClusterConnectionResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::HBase;
|
||||||
|
using namespace AlibabaCloud::HBase::Model;
|
||||||
|
|
||||||
|
DescribeClusterConnectionResult::DescribeClusterConnectionResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeClusterConnectionResult::DescribeClusterConnectionResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeClusterConnectionResult::~DescribeClusterConnectionResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeClusterConnectionResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allZkConnAddrsNode = value["ZkConnAddrs"]["ZkConnAddr"];
|
||||||
|
for (auto valueZkConnAddrsZkConnAddr : allZkConnAddrsNode)
|
||||||
|
{
|
||||||
|
ZkConnAddr zkConnAddrsObject;
|
||||||
|
if(!valueZkConnAddrsZkConnAddr["ConnAddr"].isNull())
|
||||||
|
zkConnAddrsObject.connAddr = valueZkConnAddrsZkConnAddr["ConnAddr"].asString();
|
||||||
|
if(!valueZkConnAddrsZkConnAddr["ConnAddrPort"].isNull())
|
||||||
|
zkConnAddrsObject.connAddrPort = valueZkConnAddrsZkConnAddr["ConnAddrPort"].asString();
|
||||||
|
if(!valueZkConnAddrsZkConnAddr["NetType"].isNull())
|
||||||
|
zkConnAddrsObject.netType = valueZkConnAddrsZkConnAddr["NetType"].asString();
|
||||||
|
zkConnAddrs_.push_back(zkConnAddrsObject);
|
||||||
|
}
|
||||||
|
auto allSlbConnAddrsNode = value["SlbConnAddrs"]["SlbConnAddr"];
|
||||||
|
for (auto valueSlbConnAddrsSlbConnAddr : allSlbConnAddrsNode)
|
||||||
|
{
|
||||||
|
SlbConnAddr slbConnAddrsObject;
|
||||||
|
if(!valueSlbConnAddrsSlbConnAddr["SlbType"].isNull())
|
||||||
|
slbConnAddrsObject.slbType = valueSlbConnAddrsSlbConnAddr["SlbType"].asString();
|
||||||
|
auto connAddrInfoNode = value["ConnAddrInfo"];
|
||||||
|
if(!connAddrInfoNode["ConnAddr"].isNull())
|
||||||
|
slbConnAddrsObject.connAddrInfo.connAddr = connAddrInfoNode["ConnAddr"].asString();
|
||||||
|
if(!connAddrInfoNode["ConnAddrPort"].isNull())
|
||||||
|
slbConnAddrsObject.connAddrInfo.connAddrPort = connAddrInfoNode["ConnAddrPort"].asString();
|
||||||
|
if(!connAddrInfoNode["NetType"].isNull())
|
||||||
|
slbConnAddrsObject.connAddrInfo.netType = connAddrInfoNode["NetType"].asString();
|
||||||
|
slbConnAddrs_.push_back(slbConnAddrsObject);
|
||||||
|
}
|
||||||
|
auto allServiceConnAddrsNode = value["ServiceConnAddrs"]["ServiceConnAddr"];
|
||||||
|
for (auto valueServiceConnAddrsServiceConnAddr : allServiceConnAddrsNode)
|
||||||
|
{
|
||||||
|
ServiceConnAddr serviceConnAddrsObject;
|
||||||
|
if(!valueServiceConnAddrsServiceConnAddr["ConnType"].isNull())
|
||||||
|
serviceConnAddrsObject.connType = valueServiceConnAddrsServiceConnAddr["ConnType"].asString();
|
||||||
|
auto connAddrInfo1Node = value["ConnAddrInfo"];
|
||||||
|
if(!connAddrInfo1Node["ConnAddr"].isNull())
|
||||||
|
serviceConnAddrsObject.connAddrInfo1.connAddr = connAddrInfo1Node["ConnAddr"].asString();
|
||||||
|
if(!connAddrInfo1Node["ConnAddrPort"].isNull())
|
||||||
|
serviceConnAddrsObject.connAddrInfo1.connAddrPort = connAddrInfo1Node["ConnAddrPort"].asString();
|
||||||
|
if(!connAddrInfo1Node["NetType"].isNull())
|
||||||
|
serviceConnAddrsObject.connAddrInfo1.netType = connAddrInfo1Node["NetType"].asString();
|
||||||
|
serviceConnAddrs_.push_back(serviceConnAddrsObject);
|
||||||
|
}
|
||||||
|
auto uiProxyConnAddrInfoNode = value["UiProxyConnAddrInfo"];
|
||||||
|
if(!uiProxyConnAddrInfoNode["ConnAddr"].isNull())
|
||||||
|
uiProxyConnAddrInfo_.connAddr = uiProxyConnAddrInfoNode["ConnAddr"].asString();
|
||||||
|
if(!uiProxyConnAddrInfoNode["ConnAddrPort"].isNull())
|
||||||
|
uiProxyConnAddrInfo_.connAddrPort = uiProxyConnAddrInfoNode["ConnAddrPort"].asString();
|
||||||
|
if(!uiProxyConnAddrInfoNode["NetType"].isNull())
|
||||||
|
uiProxyConnAddrInfo_.netType = uiProxyConnAddrInfoNode["NetType"].asString();
|
||||||
|
auto thriftConnNode = value["ThriftConn"];
|
||||||
|
if(!thriftConnNode["ConnAddr"].isNull())
|
||||||
|
thriftConn_.connAddr = thriftConnNode["ConnAddr"].asString();
|
||||||
|
if(!thriftConnNode["ConnAddrPort"].isNull())
|
||||||
|
thriftConn_.connAddrPort = thriftConnNode["ConnAddrPort"].asString();
|
||||||
|
if(!thriftConnNode["NetType"].isNull())
|
||||||
|
thriftConn_.netType = thriftConnNode["NetType"].asString();
|
||||||
|
if(!value["NetType"].isNull())
|
||||||
|
netType_ = value["NetType"].asString();
|
||||||
|
if(!value["VpcId"].isNull())
|
||||||
|
vpcId_ = value["VpcId"].asString();
|
||||||
|
if(!value["VSwitchId"].isNull())
|
||||||
|
vSwitchId_ = value["VSwitchId"].asString();
|
||||||
|
if(!value["DbType"].isNull())
|
||||||
|
dbType_ = value["DbType"].asString();
|
||||||
|
if(!value["IsMultimod"].isNull())
|
||||||
|
isMultimod_ = value["IsMultimod"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeClusterConnectionResult::getIsMultimod()const
|
||||||
|
{
|
||||||
|
return isMultimod_;
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeClusterConnectionResult::UiProxyConnAddrInfo DescribeClusterConnectionResult::getUiProxyConnAddrInfo()const
|
||||||
|
{
|
||||||
|
return uiProxyConnAddrInfo_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeClusterConnectionResult::getVpcId()const
|
||||||
|
{
|
||||||
|
return vpcId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeClusterConnectionResult::getVSwitchId()const
|
||||||
|
{
|
||||||
|
return vSwitchId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeClusterConnectionResult::ServiceConnAddr> DescribeClusterConnectionResult::getServiceConnAddrs()const
|
||||||
|
{
|
||||||
|
return serviceConnAddrs_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeClusterConnectionResult::getNetType()const
|
||||||
|
{
|
||||||
|
return netType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeClusterConnectionResult::ThriftConn DescribeClusterConnectionResult::getThriftConn()const
|
||||||
|
{
|
||||||
|
return thriftConn_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeClusterConnectionResult::getDbType()const
|
||||||
|
{
|
||||||
|
return dbType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeClusterConnectionResult::ZkConnAddr> DescribeClusterConnectionResult::getZkConnAddrs()const
|
||||||
|
{
|
||||||
|
return zkConnAddrs_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeClusterConnectionResult::SlbConnAddr> DescribeClusterConnectionResult::getSlbConnAddrs()const
|
||||||
|
{
|
||||||
|
return slbConnAddrs_;
|
||||||
|
}
|
||||||
|
|
||||||
40
hbase/src/model/DescribeDiskWarningLineRequest.cc
Normal file
40
hbase/src/model/DescribeDiskWarningLineRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/hbase/model/DescribeDiskWarningLineRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::HBase::Model::DescribeDiskWarningLineRequest;
|
||||||
|
|
||||||
|
DescribeDiskWarningLineRequest::DescribeDiskWarningLineRequest() :
|
||||||
|
RpcServiceRequest("hbase", "2019-01-01", "DescribeDiskWarningLine")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDiskWarningLineRequest::~DescribeDiskWarningLineRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DescribeDiskWarningLineRequest::getClusterId()const
|
||||||
|
{
|
||||||
|
return clusterId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDiskWarningLineRequest::setClusterId(const std::string& clusterId)
|
||||||
|
{
|
||||||
|
clusterId_ = clusterId;
|
||||||
|
setParameter("ClusterId", clusterId);
|
||||||
|
}
|
||||||
|
|
||||||
51
hbase/src/model/DescribeDiskWarningLineResult.cc
Normal file
51
hbase/src/model/DescribeDiskWarningLineResult.cc
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/hbase/model/DescribeDiskWarningLineResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::HBase;
|
||||||
|
using namespace AlibabaCloud::HBase::Model;
|
||||||
|
|
||||||
|
DescribeDiskWarningLineResult::DescribeDiskWarningLineResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeDiskWarningLineResult::DescribeDiskWarningLineResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeDiskWarningLineResult::~DescribeDiskWarningLineResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeDiskWarningLineResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["WarningLine"].isNull())
|
||||||
|
warningLine_ = value["WarningLine"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDiskWarningLineResult::getWarningLine()const
|
||||||
|
{
|
||||||
|
return warningLine_;
|
||||||
|
}
|
||||||
|
|
||||||
51
hbase/src/model/ModifyDiskWarningLineRequest.cc
Normal file
51
hbase/src/model/ModifyDiskWarningLineRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/hbase/model/ModifyDiskWarningLineRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::HBase::Model::ModifyDiskWarningLineRequest;
|
||||||
|
|
||||||
|
ModifyDiskWarningLineRequest::ModifyDiskWarningLineRequest() :
|
||||||
|
RpcServiceRequest("hbase", "2019-01-01", "ModifyDiskWarningLine")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
ModifyDiskWarningLineRequest::~ModifyDiskWarningLineRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string ModifyDiskWarningLineRequest::getClusterId()const
|
||||||
|
{
|
||||||
|
return clusterId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyDiskWarningLineRequest::setClusterId(const std::string& clusterId)
|
||||||
|
{
|
||||||
|
clusterId_ = clusterId;
|
||||||
|
setParameter("ClusterId", clusterId);
|
||||||
|
}
|
||||||
|
|
||||||
|
int ModifyDiskWarningLineRequest::getWarningLine()const
|
||||||
|
{
|
||||||
|
return warningLine_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyDiskWarningLineRequest::setWarningLine(int warningLine)
|
||||||
|
{
|
||||||
|
warningLine_ = warningLine;
|
||||||
|
setParameter("WarningLine", std::to_string(warningLine));
|
||||||
|
}
|
||||||
|
|
||||||
44
hbase/src/model/ModifyDiskWarningLineResult.cc
Normal file
44
hbase/src/model/ModifyDiskWarningLineResult.cc
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/hbase/model/ModifyDiskWarningLineResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::HBase;
|
||||||
|
using namespace AlibabaCloud::HBase::Model;
|
||||||
|
|
||||||
|
ModifyDiskWarningLineResult::ModifyDiskWarningLineResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
ModifyDiskWarningLineResult::ModifyDiskWarningLineResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
ModifyDiskWarningLineResult::~ModifyDiskWarningLineResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void ModifyDiskWarningLineResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
62
hbase/src/model/ModifyInstanceTypeRequest.cc
Normal file
62
hbase/src/model/ModifyInstanceTypeRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/hbase/model/ModifyInstanceTypeRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::HBase::Model::ModifyInstanceTypeRequest;
|
||||||
|
|
||||||
|
ModifyInstanceTypeRequest::ModifyInstanceTypeRequest() :
|
||||||
|
RpcServiceRequest("hbase", "2019-01-01", "ModifyInstanceType")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
ModifyInstanceTypeRequest::~ModifyInstanceTypeRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string ModifyInstanceTypeRequest::getClusterId()const
|
||||||
|
{
|
||||||
|
return clusterId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyInstanceTypeRequest::setClusterId(const std::string& clusterId)
|
||||||
|
{
|
||||||
|
clusterId_ = clusterId;
|
||||||
|
setParameter("ClusterId", clusterId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ModifyInstanceTypeRequest::getMasterInstanceType()const
|
||||||
|
{
|
||||||
|
return masterInstanceType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyInstanceTypeRequest::setMasterInstanceType(const std::string& masterInstanceType)
|
||||||
|
{
|
||||||
|
masterInstanceType_ = masterInstanceType;
|
||||||
|
setParameter("MasterInstanceType", masterInstanceType);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ModifyInstanceTypeRequest::getCoreInstanceType()const
|
||||||
|
{
|
||||||
|
return coreInstanceType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyInstanceTypeRequest::setCoreInstanceType(const std::string& coreInstanceType)
|
||||||
|
{
|
||||||
|
coreInstanceType_ = coreInstanceType;
|
||||||
|
setParameter("CoreInstanceType", coreInstanceType);
|
||||||
|
}
|
||||||
|
|
||||||
51
hbase/src/model/ModifyInstanceTypeResult.cc
Normal file
51
hbase/src/model/ModifyInstanceTypeResult.cc
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/hbase/model/ModifyInstanceTypeResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::HBase;
|
||||||
|
using namespace AlibabaCloud::HBase::Model;
|
||||||
|
|
||||||
|
ModifyInstanceTypeResult::ModifyInstanceTypeResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
ModifyInstanceTypeResult::ModifyInstanceTypeResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
ModifyInstanceTypeResult::~ModifyInstanceTypeResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void ModifyInstanceTypeResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["OrderId"].isNull())
|
||||||
|
orderId_ = value["OrderId"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ModifyInstanceTypeResult::getOrderId()const
|
||||||
|
{
|
||||||
|
return orderId_;
|
||||||
|
}
|
||||||
|
|
||||||
51
hbase/src/model/ResizeColdStorageSizeRequest.cc
Normal file
51
hbase/src/model/ResizeColdStorageSizeRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/hbase/model/ResizeColdStorageSizeRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::HBase::Model::ResizeColdStorageSizeRequest;
|
||||||
|
|
||||||
|
ResizeColdStorageSizeRequest::ResizeColdStorageSizeRequest() :
|
||||||
|
RpcServiceRequest("hbase", "2019-01-01", "ResizeColdStorageSize")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
ResizeColdStorageSizeRequest::~ResizeColdStorageSizeRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string ResizeColdStorageSizeRequest::getClusterId()const
|
||||||
|
{
|
||||||
|
return clusterId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ResizeColdStorageSizeRequest::setClusterId(const std::string& clusterId)
|
||||||
|
{
|
||||||
|
clusterId_ = clusterId;
|
||||||
|
setParameter("ClusterId", clusterId);
|
||||||
|
}
|
||||||
|
|
||||||
|
int ResizeColdStorageSizeRequest::getColdStorageSize()const
|
||||||
|
{
|
||||||
|
return coldStorageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ResizeColdStorageSizeRequest::setColdStorageSize(int coldStorageSize)
|
||||||
|
{
|
||||||
|
coldStorageSize_ = coldStorageSize;
|
||||||
|
setParameter("ColdStorageSize", std::to_string(coldStorageSize));
|
||||||
|
}
|
||||||
|
|
||||||
51
hbase/src/model/ResizeColdStorageSizeResult.cc
Normal file
51
hbase/src/model/ResizeColdStorageSizeResult.cc
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/hbase/model/ResizeColdStorageSizeResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::HBase;
|
||||||
|
using namespace AlibabaCloud::HBase::Model;
|
||||||
|
|
||||||
|
ResizeColdStorageSizeResult::ResizeColdStorageSizeResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
ResizeColdStorageSizeResult::ResizeColdStorageSizeResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
ResizeColdStorageSizeResult::~ResizeColdStorageSizeResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void ResizeColdStorageSizeResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["OrderId"].isNull())
|
||||||
|
orderId_ = value["OrderId"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ResizeColdStorageSizeResult::getOrderId()const
|
||||||
|
{
|
||||||
|
return orderId_;
|
||||||
|
}
|
||||||
|
|
||||||
318
sae/CMakeLists.txt
Normal file
318
sae/CMakeLists.txt
Normal file
@@ -0,0 +1,318 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
|
||||||
|
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||||
|
|
||||||
|
set(sae_public_header
|
||||||
|
include/alibabacloud/sae/SaeClient.h
|
||||||
|
include/alibabacloud/sae/SaeExport.h )
|
||||||
|
|
||||||
|
set(sae_public_header_model
|
||||||
|
include/alibabacloud/sae/model/AbortAndRollbackChangeOrderRequest.h
|
||||||
|
include/alibabacloud/sae/model/AbortAndRollbackChangeOrderResult.h
|
||||||
|
include/alibabacloud/sae/model/AbortChangeOrderRequest.h
|
||||||
|
include/alibabacloud/sae/model/AbortChangeOrderResult.h
|
||||||
|
include/alibabacloud/sae/model/BatchStartApplicationsRequest.h
|
||||||
|
include/alibabacloud/sae/model/BatchStartApplicationsResult.h
|
||||||
|
include/alibabacloud/sae/model/BatchStopApplicationsRequest.h
|
||||||
|
include/alibabacloud/sae/model/BatchStopApplicationsResult.h
|
||||||
|
include/alibabacloud/sae/model/BindSlbRequest.h
|
||||||
|
include/alibabacloud/sae/model/BindSlbResult.h
|
||||||
|
include/alibabacloud/sae/model/ConfirmPipelineBatchRequest.h
|
||||||
|
include/alibabacloud/sae/model/ConfirmPipelineBatchResult.h
|
||||||
|
include/alibabacloud/sae/model/CreateApplicationRequest.h
|
||||||
|
include/alibabacloud/sae/model/CreateApplicationResult.h
|
||||||
|
include/alibabacloud/sae/model/CreateConfigMapRequest.h
|
||||||
|
include/alibabacloud/sae/model/CreateConfigMapResult.h
|
||||||
|
include/alibabacloud/sae/model/CreateIngressRequest.h
|
||||||
|
include/alibabacloud/sae/model/CreateIngressResult.h
|
||||||
|
include/alibabacloud/sae/model/CreateNamespaceRequest.h
|
||||||
|
include/alibabacloud/sae/model/CreateNamespaceResult.h
|
||||||
|
include/alibabacloud/sae/model/DeleteApplicationRequest.h
|
||||||
|
include/alibabacloud/sae/model/DeleteApplicationResult.h
|
||||||
|
include/alibabacloud/sae/model/DeleteConfigMapRequest.h
|
||||||
|
include/alibabacloud/sae/model/DeleteConfigMapResult.h
|
||||||
|
include/alibabacloud/sae/model/DeleteIngressRequest.h
|
||||||
|
include/alibabacloud/sae/model/DeleteIngressResult.h
|
||||||
|
include/alibabacloud/sae/model/DeleteNamespaceRequest.h
|
||||||
|
include/alibabacloud/sae/model/DeleteNamespaceResult.h
|
||||||
|
include/alibabacloud/sae/model/DeployApplicationRequest.h
|
||||||
|
include/alibabacloud/sae/model/DeployApplicationResult.h
|
||||||
|
include/alibabacloud/sae/model/DescribeApplicationConfigRequest.h
|
||||||
|
include/alibabacloud/sae/model/DescribeApplicationConfigResult.h
|
||||||
|
include/alibabacloud/sae/model/DescribeApplicationGroupsRequest.h
|
||||||
|
include/alibabacloud/sae/model/DescribeApplicationGroupsResult.h
|
||||||
|
include/alibabacloud/sae/model/DescribeApplicationImageRequest.h
|
||||||
|
include/alibabacloud/sae/model/DescribeApplicationImageResult.h
|
||||||
|
include/alibabacloud/sae/model/DescribeApplicationInstancesRequest.h
|
||||||
|
include/alibabacloud/sae/model/DescribeApplicationInstancesResult.h
|
||||||
|
include/alibabacloud/sae/model/DescribeApplicationSlbsRequest.h
|
||||||
|
include/alibabacloud/sae/model/DescribeApplicationSlbsResult.h
|
||||||
|
include/alibabacloud/sae/model/DescribeApplicationStatusRequest.h
|
||||||
|
include/alibabacloud/sae/model/DescribeApplicationStatusResult.h
|
||||||
|
include/alibabacloud/sae/model/DescribeChangeOrderRequest.h
|
||||||
|
include/alibabacloud/sae/model/DescribeChangeOrderResult.h
|
||||||
|
include/alibabacloud/sae/model/DescribeComponentsRequest.h
|
||||||
|
include/alibabacloud/sae/model/DescribeComponentsResult.h
|
||||||
|
include/alibabacloud/sae/model/DescribeConfigMapRequest.h
|
||||||
|
include/alibabacloud/sae/model/DescribeConfigMapResult.h
|
||||||
|
include/alibabacloud/sae/model/DescribeEdasContainersRequest.h
|
||||||
|
include/alibabacloud/sae/model/DescribeEdasContainersResult.h
|
||||||
|
include/alibabacloud/sae/model/DescribeIngressRequest.h
|
||||||
|
include/alibabacloud/sae/model/DescribeIngressResult.h
|
||||||
|
include/alibabacloud/sae/model/DescribeInstanceLogRequest.h
|
||||||
|
include/alibabacloud/sae/model/DescribeInstanceLogResult.h
|
||||||
|
include/alibabacloud/sae/model/DescribeInstanceSpecificationsRequest.h
|
||||||
|
include/alibabacloud/sae/model/DescribeInstanceSpecificationsResult.h
|
||||||
|
include/alibabacloud/sae/model/DescribeNamespaceRequest.h
|
||||||
|
include/alibabacloud/sae/model/DescribeNamespaceResult.h
|
||||||
|
include/alibabacloud/sae/model/DescribeNamespaceListRequest.h
|
||||||
|
include/alibabacloud/sae/model/DescribeNamespaceListResult.h
|
||||||
|
include/alibabacloud/sae/model/DescribeNamespaceResourcesRequest.h
|
||||||
|
include/alibabacloud/sae/model/DescribeNamespaceResourcesResult.h
|
||||||
|
include/alibabacloud/sae/model/DescribeNamespacesRequest.h
|
||||||
|
include/alibabacloud/sae/model/DescribeNamespacesResult.h
|
||||||
|
include/alibabacloud/sae/model/DescribeRegionsRequest.h
|
||||||
|
include/alibabacloud/sae/model/DescribeRegionsResult.h
|
||||||
|
include/alibabacloud/sae/model/ListAppEventsRequest.h
|
||||||
|
include/alibabacloud/sae/model/ListAppEventsResult.h
|
||||||
|
include/alibabacloud/sae/model/ListAppVersionsRequest.h
|
||||||
|
include/alibabacloud/sae/model/ListAppVersionsResult.h
|
||||||
|
include/alibabacloud/sae/model/ListApplicationsRequest.h
|
||||||
|
include/alibabacloud/sae/model/ListApplicationsResult.h
|
||||||
|
include/alibabacloud/sae/model/ListChangeOrdersRequest.h
|
||||||
|
include/alibabacloud/sae/model/ListChangeOrdersResult.h
|
||||||
|
include/alibabacloud/sae/model/ListConsumedServicesRequest.h
|
||||||
|
include/alibabacloud/sae/model/ListConsumedServicesResult.h
|
||||||
|
include/alibabacloud/sae/model/ListIngressesRequest.h
|
||||||
|
include/alibabacloud/sae/model/ListIngressesResult.h
|
||||||
|
include/alibabacloud/sae/model/ListLogConfigsRequest.h
|
||||||
|
include/alibabacloud/sae/model/ListLogConfigsResult.h
|
||||||
|
include/alibabacloud/sae/model/ListNamespaceChangeOrdersRequest.h
|
||||||
|
include/alibabacloud/sae/model/ListNamespaceChangeOrdersResult.h
|
||||||
|
include/alibabacloud/sae/model/ListNamespacedConfigMapsRequest.h
|
||||||
|
include/alibabacloud/sae/model/ListNamespacedConfigMapsResult.h
|
||||||
|
include/alibabacloud/sae/model/ListPublishedServicesRequest.h
|
||||||
|
include/alibabacloud/sae/model/ListPublishedServicesResult.h
|
||||||
|
include/alibabacloud/sae/model/ListTagResourcesRequest.h
|
||||||
|
include/alibabacloud/sae/model/ListTagResourcesResult.h
|
||||||
|
include/alibabacloud/sae/model/QueryResourceStaticsRequest.h
|
||||||
|
include/alibabacloud/sae/model/QueryResourceStaticsResult.h
|
||||||
|
include/alibabacloud/sae/model/RescaleApplicationRequest.h
|
||||||
|
include/alibabacloud/sae/model/RescaleApplicationResult.h
|
||||||
|
include/alibabacloud/sae/model/RescaleApplicationVerticallyRequest.h
|
||||||
|
include/alibabacloud/sae/model/RescaleApplicationVerticallyResult.h
|
||||||
|
include/alibabacloud/sae/model/RestartApplicationRequest.h
|
||||||
|
include/alibabacloud/sae/model/RestartApplicationResult.h
|
||||||
|
include/alibabacloud/sae/model/RollbackApplicationRequest.h
|
||||||
|
include/alibabacloud/sae/model/RollbackApplicationResult.h
|
||||||
|
include/alibabacloud/sae/model/StartApplicationRequest.h
|
||||||
|
include/alibabacloud/sae/model/StartApplicationResult.h
|
||||||
|
include/alibabacloud/sae/model/StopApplicationRequest.h
|
||||||
|
include/alibabacloud/sae/model/StopApplicationResult.h
|
||||||
|
include/alibabacloud/sae/model/TagResourcesRequest.h
|
||||||
|
include/alibabacloud/sae/model/TagResourcesResult.h
|
||||||
|
include/alibabacloud/sae/model/UnbindSlbRequest.h
|
||||||
|
include/alibabacloud/sae/model/UnbindSlbResult.h
|
||||||
|
include/alibabacloud/sae/model/UntagResourcesRequest.h
|
||||||
|
include/alibabacloud/sae/model/UntagResourcesResult.h
|
||||||
|
include/alibabacloud/sae/model/UpdateAppSecurityGroupRequest.h
|
||||||
|
include/alibabacloud/sae/model/UpdateAppSecurityGroupResult.h
|
||||||
|
include/alibabacloud/sae/model/UpdateConfigMapRequest.h
|
||||||
|
include/alibabacloud/sae/model/UpdateConfigMapResult.h
|
||||||
|
include/alibabacloud/sae/model/UpdateIngressRequest.h
|
||||||
|
include/alibabacloud/sae/model/UpdateIngressResult.h
|
||||||
|
include/alibabacloud/sae/model/UpdateNamespaceRequest.h
|
||||||
|
include/alibabacloud/sae/model/UpdateNamespaceResult.h
|
||||||
|
include/alibabacloud/sae/model/UpdateNamespaceVpcRequest.h
|
||||||
|
include/alibabacloud/sae/model/UpdateNamespaceVpcResult.h )
|
||||||
|
|
||||||
|
set(sae_src
|
||||||
|
src/SaeClient.cc
|
||||||
|
src/model/AbortAndRollbackChangeOrderRequest.cc
|
||||||
|
src/model/AbortAndRollbackChangeOrderResult.cc
|
||||||
|
src/model/AbortChangeOrderRequest.cc
|
||||||
|
src/model/AbortChangeOrderResult.cc
|
||||||
|
src/model/BatchStartApplicationsRequest.cc
|
||||||
|
src/model/BatchStartApplicationsResult.cc
|
||||||
|
src/model/BatchStopApplicationsRequest.cc
|
||||||
|
src/model/BatchStopApplicationsResult.cc
|
||||||
|
src/model/BindSlbRequest.cc
|
||||||
|
src/model/BindSlbResult.cc
|
||||||
|
src/model/ConfirmPipelineBatchRequest.cc
|
||||||
|
src/model/ConfirmPipelineBatchResult.cc
|
||||||
|
src/model/CreateApplicationRequest.cc
|
||||||
|
src/model/CreateApplicationResult.cc
|
||||||
|
src/model/CreateConfigMapRequest.cc
|
||||||
|
src/model/CreateConfigMapResult.cc
|
||||||
|
src/model/CreateIngressRequest.cc
|
||||||
|
src/model/CreateIngressResult.cc
|
||||||
|
src/model/CreateNamespaceRequest.cc
|
||||||
|
src/model/CreateNamespaceResult.cc
|
||||||
|
src/model/DeleteApplicationRequest.cc
|
||||||
|
src/model/DeleteApplicationResult.cc
|
||||||
|
src/model/DeleteConfigMapRequest.cc
|
||||||
|
src/model/DeleteConfigMapResult.cc
|
||||||
|
src/model/DeleteIngressRequest.cc
|
||||||
|
src/model/DeleteIngressResult.cc
|
||||||
|
src/model/DeleteNamespaceRequest.cc
|
||||||
|
src/model/DeleteNamespaceResult.cc
|
||||||
|
src/model/DeployApplicationRequest.cc
|
||||||
|
src/model/DeployApplicationResult.cc
|
||||||
|
src/model/DescribeApplicationConfigRequest.cc
|
||||||
|
src/model/DescribeApplicationConfigResult.cc
|
||||||
|
src/model/DescribeApplicationGroupsRequest.cc
|
||||||
|
src/model/DescribeApplicationGroupsResult.cc
|
||||||
|
src/model/DescribeApplicationImageRequest.cc
|
||||||
|
src/model/DescribeApplicationImageResult.cc
|
||||||
|
src/model/DescribeApplicationInstancesRequest.cc
|
||||||
|
src/model/DescribeApplicationInstancesResult.cc
|
||||||
|
src/model/DescribeApplicationSlbsRequest.cc
|
||||||
|
src/model/DescribeApplicationSlbsResult.cc
|
||||||
|
src/model/DescribeApplicationStatusRequest.cc
|
||||||
|
src/model/DescribeApplicationStatusResult.cc
|
||||||
|
src/model/DescribeChangeOrderRequest.cc
|
||||||
|
src/model/DescribeChangeOrderResult.cc
|
||||||
|
src/model/DescribeComponentsRequest.cc
|
||||||
|
src/model/DescribeComponentsResult.cc
|
||||||
|
src/model/DescribeConfigMapRequest.cc
|
||||||
|
src/model/DescribeConfigMapResult.cc
|
||||||
|
src/model/DescribeEdasContainersRequest.cc
|
||||||
|
src/model/DescribeEdasContainersResult.cc
|
||||||
|
src/model/DescribeIngressRequest.cc
|
||||||
|
src/model/DescribeIngressResult.cc
|
||||||
|
src/model/DescribeInstanceLogRequest.cc
|
||||||
|
src/model/DescribeInstanceLogResult.cc
|
||||||
|
src/model/DescribeInstanceSpecificationsRequest.cc
|
||||||
|
src/model/DescribeInstanceSpecificationsResult.cc
|
||||||
|
src/model/DescribeNamespaceRequest.cc
|
||||||
|
src/model/DescribeNamespaceResult.cc
|
||||||
|
src/model/DescribeNamespaceListRequest.cc
|
||||||
|
src/model/DescribeNamespaceListResult.cc
|
||||||
|
src/model/DescribeNamespaceResourcesRequest.cc
|
||||||
|
src/model/DescribeNamespaceResourcesResult.cc
|
||||||
|
src/model/DescribeNamespacesRequest.cc
|
||||||
|
src/model/DescribeNamespacesResult.cc
|
||||||
|
src/model/DescribeRegionsRequest.cc
|
||||||
|
src/model/DescribeRegionsResult.cc
|
||||||
|
src/model/ListAppEventsRequest.cc
|
||||||
|
src/model/ListAppEventsResult.cc
|
||||||
|
src/model/ListAppVersionsRequest.cc
|
||||||
|
src/model/ListAppVersionsResult.cc
|
||||||
|
src/model/ListApplicationsRequest.cc
|
||||||
|
src/model/ListApplicationsResult.cc
|
||||||
|
src/model/ListChangeOrdersRequest.cc
|
||||||
|
src/model/ListChangeOrdersResult.cc
|
||||||
|
src/model/ListConsumedServicesRequest.cc
|
||||||
|
src/model/ListConsumedServicesResult.cc
|
||||||
|
src/model/ListIngressesRequest.cc
|
||||||
|
src/model/ListIngressesResult.cc
|
||||||
|
src/model/ListLogConfigsRequest.cc
|
||||||
|
src/model/ListLogConfigsResult.cc
|
||||||
|
src/model/ListNamespaceChangeOrdersRequest.cc
|
||||||
|
src/model/ListNamespaceChangeOrdersResult.cc
|
||||||
|
src/model/ListNamespacedConfigMapsRequest.cc
|
||||||
|
src/model/ListNamespacedConfigMapsResult.cc
|
||||||
|
src/model/ListPublishedServicesRequest.cc
|
||||||
|
src/model/ListPublishedServicesResult.cc
|
||||||
|
src/model/ListTagResourcesRequest.cc
|
||||||
|
src/model/ListTagResourcesResult.cc
|
||||||
|
src/model/QueryResourceStaticsRequest.cc
|
||||||
|
src/model/QueryResourceStaticsResult.cc
|
||||||
|
src/model/RescaleApplicationRequest.cc
|
||||||
|
src/model/RescaleApplicationResult.cc
|
||||||
|
src/model/RescaleApplicationVerticallyRequest.cc
|
||||||
|
src/model/RescaleApplicationVerticallyResult.cc
|
||||||
|
src/model/RestartApplicationRequest.cc
|
||||||
|
src/model/RestartApplicationResult.cc
|
||||||
|
src/model/RollbackApplicationRequest.cc
|
||||||
|
src/model/RollbackApplicationResult.cc
|
||||||
|
src/model/StartApplicationRequest.cc
|
||||||
|
src/model/StartApplicationResult.cc
|
||||||
|
src/model/StopApplicationRequest.cc
|
||||||
|
src/model/StopApplicationResult.cc
|
||||||
|
src/model/TagResourcesRequest.cc
|
||||||
|
src/model/TagResourcesResult.cc
|
||||||
|
src/model/UnbindSlbRequest.cc
|
||||||
|
src/model/UnbindSlbResult.cc
|
||||||
|
src/model/UntagResourcesRequest.cc
|
||||||
|
src/model/UntagResourcesResult.cc
|
||||||
|
src/model/UpdateAppSecurityGroupRequest.cc
|
||||||
|
src/model/UpdateAppSecurityGroupResult.cc
|
||||||
|
src/model/UpdateConfigMapRequest.cc
|
||||||
|
src/model/UpdateConfigMapResult.cc
|
||||||
|
src/model/UpdateIngressRequest.cc
|
||||||
|
src/model/UpdateIngressResult.cc
|
||||||
|
src/model/UpdateNamespaceRequest.cc
|
||||||
|
src/model/UpdateNamespaceResult.cc
|
||||||
|
src/model/UpdateNamespaceVpcRequest.cc
|
||||||
|
src/model/UpdateNamespaceVpcResult.cc )
|
||||||
|
|
||||||
|
add_library(sae ${LIB_TYPE}
|
||||||
|
${sae_public_header}
|
||||||
|
${sae_public_header_model}
|
||||||
|
${sae_src})
|
||||||
|
|
||||||
|
set_target_properties(sae
|
||||||
|
PROPERTIES
|
||||||
|
LINKER_LANGUAGE CXX
|
||||||
|
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||||
|
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||||
|
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
||||||
|
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}sae
|
||||||
|
)
|
||||||
|
|
||||||
|
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||||
|
set_target_properties(sae
|
||||||
|
PROPERTIES
|
||||||
|
DEFINE_SYMBOL ALIBABACLOUD_SAE_LIBRARY)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
target_include_directories(sae
|
||||||
|
PRIVATE include
|
||||||
|
${CMAKE_SOURCE_DIR}/core/include
|
||||||
|
)
|
||||||
|
target_link_libraries(sae
|
||||||
|
core)
|
||||||
|
|
||||||
|
if(CMAKE_HOST_WIN32)
|
||||||
|
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||||
|
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||||
|
add_dependencies(sae
|
||||||
|
jsoncpp)
|
||||||
|
target_include_directories(sae
|
||||||
|
PRIVATE ${jsoncpp_install_dir}/include)
|
||||||
|
target_link_libraries(sae
|
||||||
|
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||||
|
set_target_properties(sae
|
||||||
|
PROPERTIES
|
||||||
|
COMPILE_OPTIONS "/bigobj")
|
||||||
|
else()
|
||||||
|
target_include_directories(sae
|
||||||
|
PRIVATE /usr/include/jsoncpp)
|
||||||
|
target_link_libraries(sae
|
||||||
|
jsoncpp)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
install(FILES ${sae_public_header}
|
||||||
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/sae)
|
||||||
|
install(FILES ${sae_public_header_model}
|
||||||
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/sae/model)
|
||||||
|
install(TARGETS sae
|
||||||
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||||
|
)
|
||||||
518
sae/include/alibabacloud/sae/SaeClient.h
Normal file
518
sae/include/alibabacloud/sae/SaeClient.h
Normal file
@@ -0,0 +1,518 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_SAE_SAECLIENT_H_
|
||||||
|
#define ALIBABACLOUD_SAE_SAECLIENT_H_
|
||||||
|
|
||||||
|
#include <future>
|
||||||
|
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||||
|
#include <alibabacloud/core/EndpointProvider.h>
|
||||||
|
#include <alibabacloud/core/RoaServiceClient.h>
|
||||||
|
#include "SaeExport.h"
|
||||||
|
#include "model/AbortAndRollbackChangeOrderRequest.h"
|
||||||
|
#include "model/AbortAndRollbackChangeOrderResult.h"
|
||||||
|
#include "model/AbortChangeOrderRequest.h"
|
||||||
|
#include "model/AbortChangeOrderResult.h"
|
||||||
|
#include "model/BatchStartApplicationsRequest.h"
|
||||||
|
#include "model/BatchStartApplicationsResult.h"
|
||||||
|
#include "model/BatchStopApplicationsRequest.h"
|
||||||
|
#include "model/BatchStopApplicationsResult.h"
|
||||||
|
#include "model/BindSlbRequest.h"
|
||||||
|
#include "model/BindSlbResult.h"
|
||||||
|
#include "model/ConfirmPipelineBatchRequest.h"
|
||||||
|
#include "model/ConfirmPipelineBatchResult.h"
|
||||||
|
#include "model/CreateApplicationRequest.h"
|
||||||
|
#include "model/CreateApplicationResult.h"
|
||||||
|
#include "model/CreateConfigMapRequest.h"
|
||||||
|
#include "model/CreateConfigMapResult.h"
|
||||||
|
#include "model/CreateIngressRequest.h"
|
||||||
|
#include "model/CreateIngressResult.h"
|
||||||
|
#include "model/CreateNamespaceRequest.h"
|
||||||
|
#include "model/CreateNamespaceResult.h"
|
||||||
|
#include "model/DeleteApplicationRequest.h"
|
||||||
|
#include "model/DeleteApplicationResult.h"
|
||||||
|
#include "model/DeleteConfigMapRequest.h"
|
||||||
|
#include "model/DeleteConfigMapResult.h"
|
||||||
|
#include "model/DeleteIngressRequest.h"
|
||||||
|
#include "model/DeleteIngressResult.h"
|
||||||
|
#include "model/DeleteNamespaceRequest.h"
|
||||||
|
#include "model/DeleteNamespaceResult.h"
|
||||||
|
#include "model/DeployApplicationRequest.h"
|
||||||
|
#include "model/DeployApplicationResult.h"
|
||||||
|
#include "model/DescribeApplicationConfigRequest.h"
|
||||||
|
#include "model/DescribeApplicationConfigResult.h"
|
||||||
|
#include "model/DescribeApplicationGroupsRequest.h"
|
||||||
|
#include "model/DescribeApplicationGroupsResult.h"
|
||||||
|
#include "model/DescribeApplicationImageRequest.h"
|
||||||
|
#include "model/DescribeApplicationImageResult.h"
|
||||||
|
#include "model/DescribeApplicationInstancesRequest.h"
|
||||||
|
#include "model/DescribeApplicationInstancesResult.h"
|
||||||
|
#include "model/DescribeApplicationSlbsRequest.h"
|
||||||
|
#include "model/DescribeApplicationSlbsResult.h"
|
||||||
|
#include "model/DescribeApplicationStatusRequest.h"
|
||||||
|
#include "model/DescribeApplicationStatusResult.h"
|
||||||
|
#include "model/DescribeChangeOrderRequest.h"
|
||||||
|
#include "model/DescribeChangeOrderResult.h"
|
||||||
|
#include "model/DescribeComponentsRequest.h"
|
||||||
|
#include "model/DescribeComponentsResult.h"
|
||||||
|
#include "model/DescribeConfigMapRequest.h"
|
||||||
|
#include "model/DescribeConfigMapResult.h"
|
||||||
|
#include "model/DescribeEdasContainersRequest.h"
|
||||||
|
#include "model/DescribeEdasContainersResult.h"
|
||||||
|
#include "model/DescribeIngressRequest.h"
|
||||||
|
#include "model/DescribeIngressResult.h"
|
||||||
|
#include "model/DescribeInstanceLogRequest.h"
|
||||||
|
#include "model/DescribeInstanceLogResult.h"
|
||||||
|
#include "model/DescribeInstanceSpecificationsRequest.h"
|
||||||
|
#include "model/DescribeInstanceSpecificationsResult.h"
|
||||||
|
#include "model/DescribeNamespaceRequest.h"
|
||||||
|
#include "model/DescribeNamespaceResult.h"
|
||||||
|
#include "model/DescribeNamespaceListRequest.h"
|
||||||
|
#include "model/DescribeNamespaceListResult.h"
|
||||||
|
#include "model/DescribeNamespaceResourcesRequest.h"
|
||||||
|
#include "model/DescribeNamespaceResourcesResult.h"
|
||||||
|
#include "model/DescribeNamespacesRequest.h"
|
||||||
|
#include "model/DescribeNamespacesResult.h"
|
||||||
|
#include "model/DescribeRegionsRequest.h"
|
||||||
|
#include "model/DescribeRegionsResult.h"
|
||||||
|
#include "model/ListAppEventsRequest.h"
|
||||||
|
#include "model/ListAppEventsResult.h"
|
||||||
|
#include "model/ListAppVersionsRequest.h"
|
||||||
|
#include "model/ListAppVersionsResult.h"
|
||||||
|
#include "model/ListApplicationsRequest.h"
|
||||||
|
#include "model/ListApplicationsResult.h"
|
||||||
|
#include "model/ListChangeOrdersRequest.h"
|
||||||
|
#include "model/ListChangeOrdersResult.h"
|
||||||
|
#include "model/ListConsumedServicesRequest.h"
|
||||||
|
#include "model/ListConsumedServicesResult.h"
|
||||||
|
#include "model/ListIngressesRequest.h"
|
||||||
|
#include "model/ListIngressesResult.h"
|
||||||
|
#include "model/ListLogConfigsRequest.h"
|
||||||
|
#include "model/ListLogConfigsResult.h"
|
||||||
|
#include "model/ListNamespaceChangeOrdersRequest.h"
|
||||||
|
#include "model/ListNamespaceChangeOrdersResult.h"
|
||||||
|
#include "model/ListNamespacedConfigMapsRequest.h"
|
||||||
|
#include "model/ListNamespacedConfigMapsResult.h"
|
||||||
|
#include "model/ListPublishedServicesRequest.h"
|
||||||
|
#include "model/ListPublishedServicesResult.h"
|
||||||
|
#include "model/ListTagResourcesRequest.h"
|
||||||
|
#include "model/ListTagResourcesResult.h"
|
||||||
|
#include "model/QueryResourceStaticsRequest.h"
|
||||||
|
#include "model/QueryResourceStaticsResult.h"
|
||||||
|
#include "model/RescaleApplicationRequest.h"
|
||||||
|
#include "model/RescaleApplicationResult.h"
|
||||||
|
#include "model/RescaleApplicationVerticallyRequest.h"
|
||||||
|
#include "model/RescaleApplicationVerticallyResult.h"
|
||||||
|
#include "model/RestartApplicationRequest.h"
|
||||||
|
#include "model/RestartApplicationResult.h"
|
||||||
|
#include "model/RollbackApplicationRequest.h"
|
||||||
|
#include "model/RollbackApplicationResult.h"
|
||||||
|
#include "model/StartApplicationRequest.h"
|
||||||
|
#include "model/StartApplicationResult.h"
|
||||||
|
#include "model/StopApplicationRequest.h"
|
||||||
|
#include "model/StopApplicationResult.h"
|
||||||
|
#include "model/TagResourcesRequest.h"
|
||||||
|
#include "model/TagResourcesResult.h"
|
||||||
|
#include "model/UnbindSlbRequest.h"
|
||||||
|
#include "model/UnbindSlbResult.h"
|
||||||
|
#include "model/UntagResourcesRequest.h"
|
||||||
|
#include "model/UntagResourcesResult.h"
|
||||||
|
#include "model/UpdateAppSecurityGroupRequest.h"
|
||||||
|
#include "model/UpdateAppSecurityGroupResult.h"
|
||||||
|
#include "model/UpdateConfigMapRequest.h"
|
||||||
|
#include "model/UpdateConfigMapResult.h"
|
||||||
|
#include "model/UpdateIngressRequest.h"
|
||||||
|
#include "model/UpdateIngressResult.h"
|
||||||
|
#include "model/UpdateNamespaceRequest.h"
|
||||||
|
#include "model/UpdateNamespaceResult.h"
|
||||||
|
#include "model/UpdateNamespaceVpcRequest.h"
|
||||||
|
#include "model/UpdateNamespaceVpcResult.h"
|
||||||
|
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT SaeClient : public RoaServiceClient
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
typedef Outcome<Error, Model::AbortAndRollbackChangeOrderResult> AbortAndRollbackChangeOrderOutcome;
|
||||||
|
typedef std::future<AbortAndRollbackChangeOrderOutcome> AbortAndRollbackChangeOrderOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::AbortAndRollbackChangeOrderRequest&, const AbortAndRollbackChangeOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AbortAndRollbackChangeOrderAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::AbortChangeOrderResult> AbortChangeOrderOutcome;
|
||||||
|
typedef std::future<AbortChangeOrderOutcome> AbortChangeOrderOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::AbortChangeOrderRequest&, const AbortChangeOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AbortChangeOrderAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::BatchStartApplicationsResult> BatchStartApplicationsOutcome;
|
||||||
|
typedef std::future<BatchStartApplicationsOutcome> BatchStartApplicationsOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::BatchStartApplicationsRequest&, const BatchStartApplicationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchStartApplicationsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::BatchStopApplicationsResult> BatchStopApplicationsOutcome;
|
||||||
|
typedef std::future<BatchStopApplicationsOutcome> BatchStopApplicationsOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::BatchStopApplicationsRequest&, const BatchStopApplicationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchStopApplicationsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::BindSlbResult> BindSlbOutcome;
|
||||||
|
typedef std::future<BindSlbOutcome> BindSlbOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::BindSlbRequest&, const BindSlbOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindSlbAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ConfirmPipelineBatchResult> ConfirmPipelineBatchOutcome;
|
||||||
|
typedef std::future<ConfirmPipelineBatchOutcome> ConfirmPipelineBatchOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::ConfirmPipelineBatchRequest&, const ConfirmPipelineBatchOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfirmPipelineBatchAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::CreateApplicationResult> CreateApplicationOutcome;
|
||||||
|
typedef std::future<CreateApplicationOutcome> CreateApplicationOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::CreateApplicationRequest&, const CreateApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateApplicationAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::CreateConfigMapResult> CreateConfigMapOutcome;
|
||||||
|
typedef std::future<CreateConfigMapOutcome> CreateConfigMapOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::CreateConfigMapRequest&, const CreateConfigMapOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateConfigMapAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::CreateIngressResult> CreateIngressOutcome;
|
||||||
|
typedef std::future<CreateIngressOutcome> CreateIngressOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::CreateIngressRequest&, const CreateIngressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateIngressAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::CreateNamespaceResult> CreateNamespaceOutcome;
|
||||||
|
typedef std::future<CreateNamespaceOutcome> CreateNamespaceOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::CreateNamespaceRequest&, const CreateNamespaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateNamespaceAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DeleteApplicationResult> DeleteApplicationOutcome;
|
||||||
|
typedef std::future<DeleteApplicationOutcome> DeleteApplicationOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::DeleteApplicationRequest&, const DeleteApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteApplicationAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DeleteConfigMapResult> DeleteConfigMapOutcome;
|
||||||
|
typedef std::future<DeleteConfigMapOutcome> DeleteConfigMapOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::DeleteConfigMapRequest&, const DeleteConfigMapOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteConfigMapAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DeleteIngressResult> DeleteIngressOutcome;
|
||||||
|
typedef std::future<DeleteIngressOutcome> DeleteIngressOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::DeleteIngressRequest&, const DeleteIngressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteIngressAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DeleteNamespaceResult> DeleteNamespaceOutcome;
|
||||||
|
typedef std::future<DeleteNamespaceOutcome> DeleteNamespaceOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::DeleteNamespaceRequest&, const DeleteNamespaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteNamespaceAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DeployApplicationResult> DeployApplicationOutcome;
|
||||||
|
typedef std::future<DeployApplicationOutcome> DeployApplicationOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::DeployApplicationRequest&, const DeployApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeployApplicationAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeApplicationConfigResult> DescribeApplicationConfigOutcome;
|
||||||
|
typedef std::future<DescribeApplicationConfigOutcome> DescribeApplicationConfigOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::DescribeApplicationConfigRequest&, const DescribeApplicationConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeApplicationConfigAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeApplicationGroupsResult> DescribeApplicationGroupsOutcome;
|
||||||
|
typedef std::future<DescribeApplicationGroupsOutcome> DescribeApplicationGroupsOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::DescribeApplicationGroupsRequest&, const DescribeApplicationGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeApplicationGroupsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeApplicationImageResult> DescribeApplicationImageOutcome;
|
||||||
|
typedef std::future<DescribeApplicationImageOutcome> DescribeApplicationImageOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::DescribeApplicationImageRequest&, const DescribeApplicationImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeApplicationImageAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeApplicationInstancesResult> DescribeApplicationInstancesOutcome;
|
||||||
|
typedef std::future<DescribeApplicationInstancesOutcome> DescribeApplicationInstancesOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::DescribeApplicationInstancesRequest&, const DescribeApplicationInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeApplicationInstancesAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeApplicationSlbsResult> DescribeApplicationSlbsOutcome;
|
||||||
|
typedef std::future<DescribeApplicationSlbsOutcome> DescribeApplicationSlbsOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::DescribeApplicationSlbsRequest&, const DescribeApplicationSlbsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeApplicationSlbsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeApplicationStatusResult> DescribeApplicationStatusOutcome;
|
||||||
|
typedef std::future<DescribeApplicationStatusOutcome> DescribeApplicationStatusOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::DescribeApplicationStatusRequest&, const DescribeApplicationStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeApplicationStatusAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeChangeOrderResult> DescribeChangeOrderOutcome;
|
||||||
|
typedef std::future<DescribeChangeOrderOutcome> DescribeChangeOrderOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::DescribeChangeOrderRequest&, const DescribeChangeOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeChangeOrderAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeComponentsResult> DescribeComponentsOutcome;
|
||||||
|
typedef std::future<DescribeComponentsOutcome> DescribeComponentsOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::DescribeComponentsRequest&, const DescribeComponentsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeComponentsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeConfigMapResult> DescribeConfigMapOutcome;
|
||||||
|
typedef std::future<DescribeConfigMapOutcome> DescribeConfigMapOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::DescribeConfigMapRequest&, const DescribeConfigMapOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeConfigMapAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeEdasContainersResult> DescribeEdasContainersOutcome;
|
||||||
|
typedef std::future<DescribeEdasContainersOutcome> DescribeEdasContainersOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::DescribeEdasContainersRequest&, const DescribeEdasContainersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEdasContainersAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeIngressResult> DescribeIngressOutcome;
|
||||||
|
typedef std::future<DescribeIngressOutcome> DescribeIngressOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::DescribeIngressRequest&, const DescribeIngressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeIngressAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeInstanceLogResult> DescribeInstanceLogOutcome;
|
||||||
|
typedef std::future<DescribeInstanceLogOutcome> DescribeInstanceLogOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::DescribeInstanceLogRequest&, const DescribeInstanceLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInstanceLogAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeInstanceSpecificationsResult> DescribeInstanceSpecificationsOutcome;
|
||||||
|
typedef std::future<DescribeInstanceSpecificationsOutcome> DescribeInstanceSpecificationsOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::DescribeInstanceSpecificationsRequest&, const DescribeInstanceSpecificationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInstanceSpecificationsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeNamespaceResult> DescribeNamespaceOutcome;
|
||||||
|
typedef std::future<DescribeNamespaceOutcome> DescribeNamespaceOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::DescribeNamespaceRequest&, const DescribeNamespaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNamespaceAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeNamespaceListResult> DescribeNamespaceListOutcome;
|
||||||
|
typedef std::future<DescribeNamespaceListOutcome> DescribeNamespaceListOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::DescribeNamespaceListRequest&, const DescribeNamespaceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNamespaceListAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeNamespaceResourcesResult> DescribeNamespaceResourcesOutcome;
|
||||||
|
typedef std::future<DescribeNamespaceResourcesOutcome> DescribeNamespaceResourcesOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::DescribeNamespaceResourcesRequest&, const DescribeNamespaceResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNamespaceResourcesAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeNamespacesResult> DescribeNamespacesOutcome;
|
||||||
|
typedef std::future<DescribeNamespacesOutcome> DescribeNamespacesOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::DescribeNamespacesRequest&, const DescribeNamespacesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNamespacesAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome;
|
||||||
|
typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ListAppEventsResult> ListAppEventsOutcome;
|
||||||
|
typedef std::future<ListAppEventsOutcome> ListAppEventsOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::ListAppEventsRequest&, const ListAppEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAppEventsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ListAppVersionsResult> ListAppVersionsOutcome;
|
||||||
|
typedef std::future<ListAppVersionsOutcome> ListAppVersionsOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::ListAppVersionsRequest&, const ListAppVersionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAppVersionsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ListApplicationsResult> ListApplicationsOutcome;
|
||||||
|
typedef std::future<ListApplicationsOutcome> ListApplicationsOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::ListApplicationsRequest&, const ListApplicationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListApplicationsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ListChangeOrdersResult> ListChangeOrdersOutcome;
|
||||||
|
typedef std::future<ListChangeOrdersOutcome> ListChangeOrdersOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::ListChangeOrdersRequest&, const ListChangeOrdersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListChangeOrdersAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ListConsumedServicesResult> ListConsumedServicesOutcome;
|
||||||
|
typedef std::future<ListConsumedServicesOutcome> ListConsumedServicesOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::ListConsumedServicesRequest&, const ListConsumedServicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListConsumedServicesAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ListIngressesResult> ListIngressesOutcome;
|
||||||
|
typedef std::future<ListIngressesOutcome> ListIngressesOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::ListIngressesRequest&, const ListIngressesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListIngressesAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ListLogConfigsResult> ListLogConfigsOutcome;
|
||||||
|
typedef std::future<ListLogConfigsOutcome> ListLogConfigsOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::ListLogConfigsRequest&, const ListLogConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListLogConfigsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ListNamespaceChangeOrdersResult> ListNamespaceChangeOrdersOutcome;
|
||||||
|
typedef std::future<ListNamespaceChangeOrdersOutcome> ListNamespaceChangeOrdersOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::ListNamespaceChangeOrdersRequest&, const ListNamespaceChangeOrdersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListNamespaceChangeOrdersAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ListNamespacedConfigMapsResult> ListNamespacedConfigMapsOutcome;
|
||||||
|
typedef std::future<ListNamespacedConfigMapsOutcome> ListNamespacedConfigMapsOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::ListNamespacedConfigMapsRequest&, const ListNamespacedConfigMapsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListNamespacedConfigMapsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ListPublishedServicesResult> ListPublishedServicesOutcome;
|
||||||
|
typedef std::future<ListPublishedServicesOutcome> ListPublishedServicesOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::ListPublishedServicesRequest&, const ListPublishedServicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPublishedServicesAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
|
||||||
|
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::QueryResourceStaticsResult> QueryResourceStaticsOutcome;
|
||||||
|
typedef std::future<QueryResourceStaticsOutcome> QueryResourceStaticsOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::QueryResourceStaticsRequest&, const QueryResourceStaticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryResourceStaticsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::RescaleApplicationResult> RescaleApplicationOutcome;
|
||||||
|
typedef std::future<RescaleApplicationOutcome> RescaleApplicationOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::RescaleApplicationRequest&, const RescaleApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RescaleApplicationAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::RescaleApplicationVerticallyResult> RescaleApplicationVerticallyOutcome;
|
||||||
|
typedef std::future<RescaleApplicationVerticallyOutcome> RescaleApplicationVerticallyOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::RescaleApplicationVerticallyRequest&, const RescaleApplicationVerticallyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RescaleApplicationVerticallyAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::RestartApplicationResult> RestartApplicationOutcome;
|
||||||
|
typedef std::future<RestartApplicationOutcome> RestartApplicationOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::RestartApplicationRequest&, const RestartApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestartApplicationAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::RollbackApplicationResult> RollbackApplicationOutcome;
|
||||||
|
typedef std::future<RollbackApplicationOutcome> RollbackApplicationOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::RollbackApplicationRequest&, const RollbackApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RollbackApplicationAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::StartApplicationResult> StartApplicationOutcome;
|
||||||
|
typedef std::future<StartApplicationOutcome> StartApplicationOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::StartApplicationRequest&, const StartApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartApplicationAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::StopApplicationResult> StopApplicationOutcome;
|
||||||
|
typedef std::future<StopApplicationOutcome> StopApplicationOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::StopApplicationRequest&, const StopApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopApplicationAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
|
||||||
|
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::UnbindSlbResult> UnbindSlbOutcome;
|
||||||
|
typedef std::future<UnbindSlbOutcome> UnbindSlbOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::UnbindSlbRequest&, const UnbindSlbOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindSlbAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::UntagResourcesResult> UntagResourcesOutcome;
|
||||||
|
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::UpdateAppSecurityGroupResult> UpdateAppSecurityGroupOutcome;
|
||||||
|
typedef std::future<UpdateAppSecurityGroupOutcome> UpdateAppSecurityGroupOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::UpdateAppSecurityGroupRequest&, const UpdateAppSecurityGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAppSecurityGroupAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::UpdateConfigMapResult> UpdateConfigMapOutcome;
|
||||||
|
typedef std::future<UpdateConfigMapOutcome> UpdateConfigMapOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::UpdateConfigMapRequest&, const UpdateConfigMapOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateConfigMapAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::UpdateIngressResult> UpdateIngressOutcome;
|
||||||
|
typedef std::future<UpdateIngressOutcome> UpdateIngressOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::UpdateIngressRequest&, const UpdateIngressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateIngressAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::UpdateNamespaceResult> UpdateNamespaceOutcome;
|
||||||
|
typedef std::future<UpdateNamespaceOutcome> UpdateNamespaceOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::UpdateNamespaceRequest&, const UpdateNamespaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateNamespaceAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::UpdateNamespaceVpcResult> UpdateNamespaceVpcOutcome;
|
||||||
|
typedef std::future<UpdateNamespaceVpcOutcome> UpdateNamespaceVpcOutcomeCallable;
|
||||||
|
typedef std::function<void(const SaeClient*, const Model::UpdateNamespaceVpcRequest&, const UpdateNamespaceVpcOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateNamespaceVpcAsyncHandler;
|
||||||
|
|
||||||
|
SaeClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||||
|
SaeClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||||
|
SaeClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||||
|
~SaeClient();
|
||||||
|
AbortAndRollbackChangeOrderOutcome abortAndRollbackChangeOrder(const Model::AbortAndRollbackChangeOrderRequest &request)const;
|
||||||
|
void abortAndRollbackChangeOrderAsync(const Model::AbortAndRollbackChangeOrderRequest& request, const AbortAndRollbackChangeOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
AbortAndRollbackChangeOrderOutcomeCallable abortAndRollbackChangeOrderCallable(const Model::AbortAndRollbackChangeOrderRequest& request) const;
|
||||||
|
AbortChangeOrderOutcome abortChangeOrder(const Model::AbortChangeOrderRequest &request)const;
|
||||||
|
void abortChangeOrderAsync(const Model::AbortChangeOrderRequest& request, const AbortChangeOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
AbortChangeOrderOutcomeCallable abortChangeOrderCallable(const Model::AbortChangeOrderRequest& request) const;
|
||||||
|
BatchStartApplicationsOutcome batchStartApplications(const Model::BatchStartApplicationsRequest &request)const;
|
||||||
|
void batchStartApplicationsAsync(const Model::BatchStartApplicationsRequest& request, const BatchStartApplicationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
BatchStartApplicationsOutcomeCallable batchStartApplicationsCallable(const Model::BatchStartApplicationsRequest& request) const;
|
||||||
|
BatchStopApplicationsOutcome batchStopApplications(const Model::BatchStopApplicationsRequest &request)const;
|
||||||
|
void batchStopApplicationsAsync(const Model::BatchStopApplicationsRequest& request, const BatchStopApplicationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
BatchStopApplicationsOutcomeCallable batchStopApplicationsCallable(const Model::BatchStopApplicationsRequest& request) const;
|
||||||
|
BindSlbOutcome bindSlb(const Model::BindSlbRequest &request)const;
|
||||||
|
void bindSlbAsync(const Model::BindSlbRequest& request, const BindSlbAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
BindSlbOutcomeCallable bindSlbCallable(const Model::BindSlbRequest& request) const;
|
||||||
|
ConfirmPipelineBatchOutcome confirmPipelineBatch(const Model::ConfirmPipelineBatchRequest &request)const;
|
||||||
|
void confirmPipelineBatchAsync(const Model::ConfirmPipelineBatchRequest& request, const ConfirmPipelineBatchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ConfirmPipelineBatchOutcomeCallable confirmPipelineBatchCallable(const Model::ConfirmPipelineBatchRequest& request) const;
|
||||||
|
CreateApplicationOutcome createApplication(const Model::CreateApplicationRequest &request)const;
|
||||||
|
void createApplicationAsync(const Model::CreateApplicationRequest& request, const CreateApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
CreateApplicationOutcomeCallable createApplicationCallable(const Model::CreateApplicationRequest& request) const;
|
||||||
|
CreateConfigMapOutcome createConfigMap(const Model::CreateConfigMapRequest &request)const;
|
||||||
|
void createConfigMapAsync(const Model::CreateConfigMapRequest& request, const CreateConfigMapAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
CreateConfigMapOutcomeCallable createConfigMapCallable(const Model::CreateConfigMapRequest& request) const;
|
||||||
|
CreateIngressOutcome createIngress(const Model::CreateIngressRequest &request)const;
|
||||||
|
void createIngressAsync(const Model::CreateIngressRequest& request, const CreateIngressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
CreateIngressOutcomeCallable createIngressCallable(const Model::CreateIngressRequest& request) const;
|
||||||
|
CreateNamespaceOutcome createNamespace(const Model::CreateNamespaceRequest &request)const;
|
||||||
|
void createNamespaceAsync(const Model::CreateNamespaceRequest& request, const CreateNamespaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
CreateNamespaceOutcomeCallable createNamespaceCallable(const Model::CreateNamespaceRequest& request) const;
|
||||||
|
DeleteApplicationOutcome deleteApplication(const Model::DeleteApplicationRequest &request)const;
|
||||||
|
void deleteApplicationAsync(const Model::DeleteApplicationRequest& request, const DeleteApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DeleteApplicationOutcomeCallable deleteApplicationCallable(const Model::DeleteApplicationRequest& request) const;
|
||||||
|
DeleteConfigMapOutcome deleteConfigMap(const Model::DeleteConfigMapRequest &request)const;
|
||||||
|
void deleteConfigMapAsync(const Model::DeleteConfigMapRequest& request, const DeleteConfigMapAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DeleteConfigMapOutcomeCallable deleteConfigMapCallable(const Model::DeleteConfigMapRequest& request) const;
|
||||||
|
DeleteIngressOutcome deleteIngress(const Model::DeleteIngressRequest &request)const;
|
||||||
|
void deleteIngressAsync(const Model::DeleteIngressRequest& request, const DeleteIngressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DeleteIngressOutcomeCallable deleteIngressCallable(const Model::DeleteIngressRequest& request) const;
|
||||||
|
DeleteNamespaceOutcome deleteNamespace(const Model::DeleteNamespaceRequest &request)const;
|
||||||
|
void deleteNamespaceAsync(const Model::DeleteNamespaceRequest& request, const DeleteNamespaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DeleteNamespaceOutcomeCallable deleteNamespaceCallable(const Model::DeleteNamespaceRequest& request) const;
|
||||||
|
DeployApplicationOutcome deployApplication(const Model::DeployApplicationRequest &request)const;
|
||||||
|
void deployApplicationAsync(const Model::DeployApplicationRequest& request, const DeployApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DeployApplicationOutcomeCallable deployApplicationCallable(const Model::DeployApplicationRequest& request) const;
|
||||||
|
DescribeApplicationConfigOutcome describeApplicationConfig(const Model::DescribeApplicationConfigRequest &request)const;
|
||||||
|
void describeApplicationConfigAsync(const Model::DescribeApplicationConfigRequest& request, const DescribeApplicationConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeApplicationConfigOutcomeCallable describeApplicationConfigCallable(const Model::DescribeApplicationConfigRequest& request) const;
|
||||||
|
DescribeApplicationGroupsOutcome describeApplicationGroups(const Model::DescribeApplicationGroupsRequest &request)const;
|
||||||
|
void describeApplicationGroupsAsync(const Model::DescribeApplicationGroupsRequest& request, const DescribeApplicationGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeApplicationGroupsOutcomeCallable describeApplicationGroupsCallable(const Model::DescribeApplicationGroupsRequest& request) const;
|
||||||
|
DescribeApplicationImageOutcome describeApplicationImage(const Model::DescribeApplicationImageRequest &request)const;
|
||||||
|
void describeApplicationImageAsync(const Model::DescribeApplicationImageRequest& request, const DescribeApplicationImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeApplicationImageOutcomeCallable describeApplicationImageCallable(const Model::DescribeApplicationImageRequest& request) const;
|
||||||
|
DescribeApplicationInstancesOutcome describeApplicationInstances(const Model::DescribeApplicationInstancesRequest &request)const;
|
||||||
|
void describeApplicationInstancesAsync(const Model::DescribeApplicationInstancesRequest& request, const DescribeApplicationInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeApplicationInstancesOutcomeCallable describeApplicationInstancesCallable(const Model::DescribeApplicationInstancesRequest& request) const;
|
||||||
|
DescribeApplicationSlbsOutcome describeApplicationSlbs(const Model::DescribeApplicationSlbsRequest &request)const;
|
||||||
|
void describeApplicationSlbsAsync(const Model::DescribeApplicationSlbsRequest& request, const DescribeApplicationSlbsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeApplicationSlbsOutcomeCallable describeApplicationSlbsCallable(const Model::DescribeApplicationSlbsRequest& request) const;
|
||||||
|
DescribeApplicationStatusOutcome describeApplicationStatus(const Model::DescribeApplicationStatusRequest &request)const;
|
||||||
|
void describeApplicationStatusAsync(const Model::DescribeApplicationStatusRequest& request, const DescribeApplicationStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeApplicationStatusOutcomeCallable describeApplicationStatusCallable(const Model::DescribeApplicationStatusRequest& request) const;
|
||||||
|
DescribeChangeOrderOutcome describeChangeOrder(const Model::DescribeChangeOrderRequest &request)const;
|
||||||
|
void describeChangeOrderAsync(const Model::DescribeChangeOrderRequest& request, const DescribeChangeOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeChangeOrderOutcomeCallable describeChangeOrderCallable(const Model::DescribeChangeOrderRequest& request) const;
|
||||||
|
DescribeComponentsOutcome describeComponents(const Model::DescribeComponentsRequest &request)const;
|
||||||
|
void describeComponentsAsync(const Model::DescribeComponentsRequest& request, const DescribeComponentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeComponentsOutcomeCallable describeComponentsCallable(const Model::DescribeComponentsRequest& request) const;
|
||||||
|
DescribeConfigMapOutcome describeConfigMap(const Model::DescribeConfigMapRequest &request)const;
|
||||||
|
void describeConfigMapAsync(const Model::DescribeConfigMapRequest& request, const DescribeConfigMapAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeConfigMapOutcomeCallable describeConfigMapCallable(const Model::DescribeConfigMapRequest& request) const;
|
||||||
|
DescribeEdasContainersOutcome describeEdasContainers(const Model::DescribeEdasContainersRequest &request)const;
|
||||||
|
void describeEdasContainersAsync(const Model::DescribeEdasContainersRequest& request, const DescribeEdasContainersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeEdasContainersOutcomeCallable describeEdasContainersCallable(const Model::DescribeEdasContainersRequest& request) const;
|
||||||
|
DescribeIngressOutcome describeIngress(const Model::DescribeIngressRequest &request)const;
|
||||||
|
void describeIngressAsync(const Model::DescribeIngressRequest& request, const DescribeIngressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeIngressOutcomeCallable describeIngressCallable(const Model::DescribeIngressRequest& request) const;
|
||||||
|
DescribeInstanceLogOutcome describeInstanceLog(const Model::DescribeInstanceLogRequest &request)const;
|
||||||
|
void describeInstanceLogAsync(const Model::DescribeInstanceLogRequest& request, const DescribeInstanceLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeInstanceLogOutcomeCallable describeInstanceLogCallable(const Model::DescribeInstanceLogRequest& request) const;
|
||||||
|
DescribeInstanceSpecificationsOutcome describeInstanceSpecifications(const Model::DescribeInstanceSpecificationsRequest &request)const;
|
||||||
|
void describeInstanceSpecificationsAsync(const Model::DescribeInstanceSpecificationsRequest& request, const DescribeInstanceSpecificationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeInstanceSpecificationsOutcomeCallable describeInstanceSpecificationsCallable(const Model::DescribeInstanceSpecificationsRequest& request) const;
|
||||||
|
DescribeNamespaceOutcome describeNamespace(const Model::DescribeNamespaceRequest &request)const;
|
||||||
|
void describeNamespaceAsync(const Model::DescribeNamespaceRequest& request, const DescribeNamespaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeNamespaceOutcomeCallable describeNamespaceCallable(const Model::DescribeNamespaceRequest& request) const;
|
||||||
|
DescribeNamespaceListOutcome describeNamespaceList(const Model::DescribeNamespaceListRequest &request)const;
|
||||||
|
void describeNamespaceListAsync(const Model::DescribeNamespaceListRequest& request, const DescribeNamespaceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeNamespaceListOutcomeCallable describeNamespaceListCallable(const Model::DescribeNamespaceListRequest& request) const;
|
||||||
|
DescribeNamespaceResourcesOutcome describeNamespaceResources(const Model::DescribeNamespaceResourcesRequest &request)const;
|
||||||
|
void describeNamespaceResourcesAsync(const Model::DescribeNamespaceResourcesRequest& request, const DescribeNamespaceResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeNamespaceResourcesOutcomeCallable describeNamespaceResourcesCallable(const Model::DescribeNamespaceResourcesRequest& request) const;
|
||||||
|
DescribeNamespacesOutcome describeNamespaces(const Model::DescribeNamespacesRequest &request)const;
|
||||||
|
void describeNamespacesAsync(const Model::DescribeNamespacesRequest& request, const DescribeNamespacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeNamespacesOutcomeCallable describeNamespacesCallable(const Model::DescribeNamespacesRequest& request) const;
|
||||||
|
DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const;
|
||||||
|
void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeRegionsOutcomeCallable describeRegionsCallable(const Model::DescribeRegionsRequest& request) const;
|
||||||
|
ListAppEventsOutcome listAppEvents(const Model::ListAppEventsRequest &request)const;
|
||||||
|
void listAppEventsAsync(const Model::ListAppEventsRequest& request, const ListAppEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ListAppEventsOutcomeCallable listAppEventsCallable(const Model::ListAppEventsRequest& request) const;
|
||||||
|
ListAppVersionsOutcome listAppVersions(const Model::ListAppVersionsRequest &request)const;
|
||||||
|
void listAppVersionsAsync(const Model::ListAppVersionsRequest& request, const ListAppVersionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ListAppVersionsOutcomeCallable listAppVersionsCallable(const Model::ListAppVersionsRequest& request) const;
|
||||||
|
ListApplicationsOutcome listApplications(const Model::ListApplicationsRequest &request)const;
|
||||||
|
void listApplicationsAsync(const Model::ListApplicationsRequest& request, const ListApplicationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ListApplicationsOutcomeCallable listApplicationsCallable(const Model::ListApplicationsRequest& request) const;
|
||||||
|
ListChangeOrdersOutcome listChangeOrders(const Model::ListChangeOrdersRequest &request)const;
|
||||||
|
void listChangeOrdersAsync(const Model::ListChangeOrdersRequest& request, const ListChangeOrdersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ListChangeOrdersOutcomeCallable listChangeOrdersCallable(const Model::ListChangeOrdersRequest& request) const;
|
||||||
|
ListConsumedServicesOutcome listConsumedServices(const Model::ListConsumedServicesRequest &request)const;
|
||||||
|
void listConsumedServicesAsync(const Model::ListConsumedServicesRequest& request, const ListConsumedServicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ListConsumedServicesOutcomeCallable listConsumedServicesCallable(const Model::ListConsumedServicesRequest& request) const;
|
||||||
|
ListIngressesOutcome listIngresses(const Model::ListIngressesRequest &request)const;
|
||||||
|
void listIngressesAsync(const Model::ListIngressesRequest& request, const ListIngressesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ListIngressesOutcomeCallable listIngressesCallable(const Model::ListIngressesRequest& request) const;
|
||||||
|
ListLogConfigsOutcome listLogConfigs(const Model::ListLogConfigsRequest &request)const;
|
||||||
|
void listLogConfigsAsync(const Model::ListLogConfigsRequest& request, const ListLogConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ListLogConfigsOutcomeCallable listLogConfigsCallable(const Model::ListLogConfigsRequest& request) const;
|
||||||
|
ListNamespaceChangeOrdersOutcome listNamespaceChangeOrders(const Model::ListNamespaceChangeOrdersRequest &request)const;
|
||||||
|
void listNamespaceChangeOrdersAsync(const Model::ListNamespaceChangeOrdersRequest& request, const ListNamespaceChangeOrdersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ListNamespaceChangeOrdersOutcomeCallable listNamespaceChangeOrdersCallable(const Model::ListNamespaceChangeOrdersRequest& request) const;
|
||||||
|
ListNamespacedConfigMapsOutcome listNamespacedConfigMaps(const Model::ListNamespacedConfigMapsRequest &request)const;
|
||||||
|
void listNamespacedConfigMapsAsync(const Model::ListNamespacedConfigMapsRequest& request, const ListNamespacedConfigMapsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ListNamespacedConfigMapsOutcomeCallable listNamespacedConfigMapsCallable(const Model::ListNamespacedConfigMapsRequest& request) const;
|
||||||
|
ListPublishedServicesOutcome listPublishedServices(const Model::ListPublishedServicesRequest &request)const;
|
||||||
|
void listPublishedServicesAsync(const Model::ListPublishedServicesRequest& request, const ListPublishedServicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ListPublishedServicesOutcomeCallable listPublishedServicesCallable(const Model::ListPublishedServicesRequest& request) const;
|
||||||
|
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
|
||||||
|
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
|
||||||
|
QueryResourceStaticsOutcome queryResourceStatics(const Model::QueryResourceStaticsRequest &request)const;
|
||||||
|
void queryResourceStaticsAsync(const Model::QueryResourceStaticsRequest& request, const QueryResourceStaticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
QueryResourceStaticsOutcomeCallable queryResourceStaticsCallable(const Model::QueryResourceStaticsRequest& request) const;
|
||||||
|
RescaleApplicationOutcome rescaleApplication(const Model::RescaleApplicationRequest &request)const;
|
||||||
|
void rescaleApplicationAsync(const Model::RescaleApplicationRequest& request, const RescaleApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
RescaleApplicationOutcomeCallable rescaleApplicationCallable(const Model::RescaleApplicationRequest& request) const;
|
||||||
|
RescaleApplicationVerticallyOutcome rescaleApplicationVertically(const Model::RescaleApplicationVerticallyRequest &request)const;
|
||||||
|
void rescaleApplicationVerticallyAsync(const Model::RescaleApplicationVerticallyRequest& request, const RescaleApplicationVerticallyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
RescaleApplicationVerticallyOutcomeCallable rescaleApplicationVerticallyCallable(const Model::RescaleApplicationVerticallyRequest& request) const;
|
||||||
|
RestartApplicationOutcome restartApplication(const Model::RestartApplicationRequest &request)const;
|
||||||
|
void restartApplicationAsync(const Model::RestartApplicationRequest& request, const RestartApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
RestartApplicationOutcomeCallable restartApplicationCallable(const Model::RestartApplicationRequest& request) const;
|
||||||
|
RollbackApplicationOutcome rollbackApplication(const Model::RollbackApplicationRequest &request)const;
|
||||||
|
void rollbackApplicationAsync(const Model::RollbackApplicationRequest& request, const RollbackApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
RollbackApplicationOutcomeCallable rollbackApplicationCallable(const Model::RollbackApplicationRequest& request) const;
|
||||||
|
StartApplicationOutcome startApplication(const Model::StartApplicationRequest &request)const;
|
||||||
|
void startApplicationAsync(const Model::StartApplicationRequest& request, const StartApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
StartApplicationOutcomeCallable startApplicationCallable(const Model::StartApplicationRequest& request) const;
|
||||||
|
StopApplicationOutcome stopApplication(const Model::StopApplicationRequest &request)const;
|
||||||
|
void stopApplicationAsync(const Model::StopApplicationRequest& request, const StopApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
StopApplicationOutcomeCallable stopApplicationCallable(const Model::StopApplicationRequest& request) const;
|
||||||
|
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
|
||||||
|
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
|
||||||
|
UnbindSlbOutcome unbindSlb(const Model::UnbindSlbRequest &request)const;
|
||||||
|
void unbindSlbAsync(const Model::UnbindSlbRequest& request, const UnbindSlbAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
UnbindSlbOutcomeCallable unbindSlbCallable(const Model::UnbindSlbRequest& request) const;
|
||||||
|
UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const;
|
||||||
|
void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const;
|
||||||
|
UpdateAppSecurityGroupOutcome updateAppSecurityGroup(const Model::UpdateAppSecurityGroupRequest &request)const;
|
||||||
|
void updateAppSecurityGroupAsync(const Model::UpdateAppSecurityGroupRequest& request, const UpdateAppSecurityGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
UpdateAppSecurityGroupOutcomeCallable updateAppSecurityGroupCallable(const Model::UpdateAppSecurityGroupRequest& request) const;
|
||||||
|
UpdateConfigMapOutcome updateConfigMap(const Model::UpdateConfigMapRequest &request)const;
|
||||||
|
void updateConfigMapAsync(const Model::UpdateConfigMapRequest& request, const UpdateConfigMapAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
UpdateConfigMapOutcomeCallable updateConfigMapCallable(const Model::UpdateConfigMapRequest& request) const;
|
||||||
|
UpdateIngressOutcome updateIngress(const Model::UpdateIngressRequest &request)const;
|
||||||
|
void updateIngressAsync(const Model::UpdateIngressRequest& request, const UpdateIngressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
UpdateIngressOutcomeCallable updateIngressCallable(const Model::UpdateIngressRequest& request) const;
|
||||||
|
UpdateNamespaceOutcome updateNamespace(const Model::UpdateNamespaceRequest &request)const;
|
||||||
|
void updateNamespaceAsync(const Model::UpdateNamespaceRequest& request, const UpdateNamespaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
UpdateNamespaceOutcomeCallable updateNamespaceCallable(const Model::UpdateNamespaceRequest& request) const;
|
||||||
|
UpdateNamespaceVpcOutcome updateNamespaceVpc(const Model::UpdateNamespaceVpcRequest &request)const;
|
||||||
|
void updateNamespaceVpcAsync(const Model::UpdateNamespaceVpcRequest& request, const UpdateNamespaceVpcAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
UpdateNamespaceVpcOutcomeCallable updateNamespaceVpcCallable(const Model::UpdateNamespaceVpcRequest& request) const;
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif // !ALIBABACLOUD_SAE_SAECLIENT_H_
|
||||||
32
sae/include/alibabacloud/sae/SaeExport.h
Normal file
32
sae/include/alibabacloud/sae/SaeExport.h
Normal 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_SAE_SAEEXPORT_H_
|
||||||
|
#define ALIBABACLOUD_SAE_SAEEXPORT_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/core/Global.h>
|
||||||
|
|
||||||
|
#if defined(ALIBABACLOUD_SHARED)
|
||||||
|
# if defined(ALIBABACLOUD_SAE_LIBRARY)
|
||||||
|
# define ALIBABACLOUD_SAE_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||||
|
# else
|
||||||
|
# define ALIBABACLOUD_SAE_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||||
|
# endif
|
||||||
|
#else
|
||||||
|
# define ALIBABACLOUD_SAE_EXPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif // !ALIBABACLOUD_SAE_SAEEXPORT_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_SAE_MODEL_ABORTANDROLLBACKCHANGEORDERREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_ABORTANDROLLBACKCHANGEORDERREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT AbortAndRollbackChangeOrderRequest : public RoaServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
AbortAndRollbackChangeOrderRequest();
|
||||||
|
~AbortAndRollbackChangeOrderRequest();
|
||||||
|
|
||||||
|
std::string getChangeOrderId()const;
|
||||||
|
void setChangeOrderId(const std::string& changeOrderId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string changeOrderId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_ABORTANDROLLBACKCHANGEORDERREQUEST_H_
|
||||||
@@ -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_SAE_MODEL_ABORTANDROLLBACKCHANGEORDERRESULT_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_ABORTANDROLLBACKCHANGEORDERRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT AbortAndRollbackChangeOrderResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string changeOrderId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
AbortAndRollbackChangeOrderResult();
|
||||||
|
explicit AbortAndRollbackChangeOrderResult(const std::string &payload);
|
||||||
|
~AbortAndRollbackChangeOrderResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getTraceId()const;
|
||||||
|
Data getData()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string traceId_;
|
||||||
|
Data data_;
|
||||||
|
std::string errorCode_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_ABORTANDROLLBACKCHANGEORDERRESULT_H_
|
||||||
48
sae/include/alibabacloud/sae/model/AbortChangeOrderRequest.h
Normal file
48
sae/include/alibabacloud/sae/model/AbortChangeOrderRequest.h
Normal 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_SAE_MODEL_ABORTCHANGEORDERREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_ABORTCHANGEORDERREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT AbortChangeOrderRequest : public RoaServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
AbortChangeOrderRequest();
|
||||||
|
~AbortChangeOrderRequest();
|
||||||
|
|
||||||
|
std::string getChangeOrderId()const;
|
||||||
|
void setChangeOrderId(const std::string& changeOrderId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string changeOrderId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_ABORTCHANGEORDERREQUEST_H_
|
||||||
65
sae/include/alibabacloud/sae/model/AbortChangeOrderResult.h
Normal file
65
sae/include/alibabacloud/sae/model/AbortChangeOrderResult.h
Normal 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_SAE_MODEL_ABORTCHANGEORDERRESULT_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_ABORTCHANGEORDERRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT AbortChangeOrderResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string changeOrderId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
AbortChangeOrderResult();
|
||||||
|
explicit AbortChangeOrderResult(const std::string &payload);
|
||||||
|
~AbortChangeOrderResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getTraceId()const;
|
||||||
|
Data getData()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string traceId_;
|
||||||
|
Data data_;
|
||||||
|
std::string errorCode_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_ABORTCHANGEORDERRESULT_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_SAE_MODEL_BATCHSTARTAPPLICATIONSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_BATCHSTARTAPPLICATIONSREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT BatchStartApplicationsRequest : public RoaServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
BatchStartApplicationsRequest();
|
||||||
|
~BatchStartApplicationsRequest();
|
||||||
|
|
||||||
|
std::string getAppIds()const;
|
||||||
|
void setAppIds(const std::string& appIds);
|
||||||
|
std::string getNamespaceId()const;
|
||||||
|
void setNamespaceId(const std::string& namespaceId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string appIds_;
|
||||||
|
std::string namespaceId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_BATCHSTARTAPPLICATIONSREQUEST_H_
|
||||||
@@ -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_SAE_MODEL_BATCHSTARTAPPLICATIONSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_BATCHSTARTAPPLICATIONSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT BatchStartApplicationsResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string changeOrderId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
BatchStartApplicationsResult();
|
||||||
|
explicit BatchStartApplicationsResult(const std::string &payload);
|
||||||
|
~BatchStartApplicationsResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getTraceId()const;
|
||||||
|
Data getData()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string traceId_;
|
||||||
|
Data data_;
|
||||||
|
std::string errorCode_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_BATCHSTARTAPPLICATIONSRESULT_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_SAE_MODEL_BATCHSTOPAPPLICATIONSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_BATCHSTOPAPPLICATIONSREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT BatchStopApplicationsRequest : public RoaServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
BatchStopApplicationsRequest();
|
||||||
|
~BatchStopApplicationsRequest();
|
||||||
|
|
||||||
|
std::string getAppIds()const;
|
||||||
|
void setAppIds(const std::string& appIds);
|
||||||
|
std::string getNamespaceId()const;
|
||||||
|
void setNamespaceId(const std::string& namespaceId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string appIds_;
|
||||||
|
std::string namespaceId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_BATCHSTOPAPPLICATIONSREQUEST_H_
|
||||||
@@ -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_SAE_MODEL_BATCHSTOPAPPLICATIONSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_BATCHSTOPAPPLICATIONSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT BatchStopApplicationsResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string changeOrderId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
BatchStopApplicationsResult();
|
||||||
|
explicit BatchStopApplicationsResult(const std::string &payload);
|
||||||
|
~BatchStopApplicationsResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getTraceId()const;
|
||||||
|
Data getData()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string traceId_;
|
||||||
|
Data data_;
|
||||||
|
std::string errorCode_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_BATCHSTOPAPPLICATIONSRESULT_H_
|
||||||
60
sae/include/alibabacloud/sae/model/BindSlbRequest.h
Normal file
60
sae/include/alibabacloud/sae/model/BindSlbRequest.h
Normal 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_SAE_MODEL_BINDSLBREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_BINDSLBREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT BindSlbRequest : public RoaServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
BindSlbRequest();
|
||||||
|
~BindSlbRequest();
|
||||||
|
|
||||||
|
std::string getIntranet()const;
|
||||||
|
void setIntranet(const std::string& intranet);
|
||||||
|
std::string getIntranetSlbId()const;
|
||||||
|
void setIntranetSlbId(const std::string& intranetSlbId);
|
||||||
|
std::string getInternetSlbId()const;
|
||||||
|
void setInternetSlbId(const std::string& internetSlbId);
|
||||||
|
std::string getAppId()const;
|
||||||
|
void setAppId(const std::string& appId);
|
||||||
|
std::string getInternet()const;
|
||||||
|
void setInternet(const std::string& internet);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string intranet_;
|
||||||
|
std::string intranetSlbId_;
|
||||||
|
std::string internetSlbId_;
|
||||||
|
std::string appId_;
|
||||||
|
std::string internet_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_BINDSLBREQUEST_H_
|
||||||
65
sae/include/alibabacloud/sae/model/BindSlbResult.h
Normal file
65
sae/include/alibabacloud/sae/model/BindSlbResult.h
Normal 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_SAE_MODEL_BINDSLBRESULT_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_BINDSLBRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT BindSlbResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string changeOrderId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
BindSlbResult();
|
||||||
|
explicit BindSlbResult(const std::string &payload);
|
||||||
|
~BindSlbResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getTraceId()const;
|
||||||
|
Data getData()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string traceId_;
|
||||||
|
Data data_;
|
||||||
|
std::string errorCode_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_BINDSLBRESULT_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_SAE_MODEL_CONFIRMPIPELINEBATCHREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_CONFIRMPIPELINEBATCHREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT ConfirmPipelineBatchRequest : public RoaServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
ConfirmPipelineBatchRequest();
|
||||||
|
~ConfirmPipelineBatchRequest();
|
||||||
|
|
||||||
|
bool getConfirm()const;
|
||||||
|
void setConfirm(bool confirm);
|
||||||
|
std::string getPipelineId()const;
|
||||||
|
void setPipelineId(const std::string& pipelineId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
bool confirm_;
|
||||||
|
std::string pipelineId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_CONFIRMPIPELINEBATCHREQUEST_H_
|
||||||
@@ -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_SAE_MODEL_CONFIRMPIPELINEBATCHRESULT_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_CONFIRMPIPELINEBATCHRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT ConfirmPipelineBatchResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string pipelineId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
ConfirmPipelineBatchResult();
|
||||||
|
explicit ConfirmPipelineBatchResult(const std::string &payload);
|
||||||
|
~ConfirmPipelineBatchResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getTraceId()const;
|
||||||
|
Data getData()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string traceId_;
|
||||||
|
Data data_;
|
||||||
|
std::string errorCode_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_CONFIRMPIPELINEBATCHRESULT_H_
|
||||||
165
sae/include/alibabacloud/sae/model/CreateApplicationRequest.h
Normal file
165
sae/include/alibabacloud/sae/model/CreateApplicationRequest.h
Normal file
@@ -0,0 +1,165 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_SAE_MODEL_CREATEAPPLICATIONREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_CREATEAPPLICATIONREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT CreateApplicationRequest : public RoaServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
CreateApplicationRequest();
|
||||||
|
~CreateApplicationRequest();
|
||||||
|
|
||||||
|
std::string getNasId()const;
|
||||||
|
void setNasId(const std::string& nasId);
|
||||||
|
std::string getWebContainer()const;
|
||||||
|
void setWebContainer(const std::string& webContainer);
|
||||||
|
std::string getJarStartArgs()const;
|
||||||
|
void setJarStartArgs(const std::string& jarStartArgs);
|
||||||
|
int getMemory()const;
|
||||||
|
void setMemory(int memory);
|
||||||
|
std::string getSlsConfigs()const;
|
||||||
|
void setSlsConfigs(const std::string& slsConfigs);
|
||||||
|
std::string getCommandArgs()const;
|
||||||
|
void setCommandArgs(const std::string& commandArgs);
|
||||||
|
std::string getReadiness()const;
|
||||||
|
void setReadiness(const std::string& readiness);
|
||||||
|
std::string getTimezone()const;
|
||||||
|
void setTimezone(const std::string& timezone);
|
||||||
|
std::string getMountHost()const;
|
||||||
|
void setMountHost(const std::string& mountHost);
|
||||||
|
bool getAutoConfig()const;
|
||||||
|
void setAutoConfig(bool autoConfig);
|
||||||
|
std::string getLiveness()const;
|
||||||
|
void setLiveness(const std::string& liveness);
|
||||||
|
std::string getSecurityGroupId()const;
|
||||||
|
void setSecurityGroupId(const std::string& securityGroupId);
|
||||||
|
std::string getEnvs()const;
|
||||||
|
void setEnvs(const std::string& envs);
|
||||||
|
std::string getPhpArmsConfigLocation()const;
|
||||||
|
void setPhpArmsConfigLocation(const std::string& phpArmsConfigLocation);
|
||||||
|
std::string getPackageVersion()const;
|
||||||
|
void setPackageVersion(const std::string& packageVersion);
|
||||||
|
std::string getTomcatConfig()const;
|
||||||
|
void setTomcatConfig(const std::string& tomcatConfig);
|
||||||
|
std::string getCustomHostAlias()const;
|
||||||
|
void setCustomHostAlias(const std::string& customHostAlias);
|
||||||
|
bool getDeploy()const;
|
||||||
|
void setDeploy(bool deploy);
|
||||||
|
std::string getWarStartOptions()const;
|
||||||
|
void setWarStartOptions(const std::string& warStartOptions);
|
||||||
|
std::string getJarStartOptions()const;
|
||||||
|
void setJarStartOptions(const std::string& jarStartOptions);
|
||||||
|
std::string getEdasContainerVersion()const;
|
||||||
|
void setEdasContainerVersion(const std::string& edasContainerVersion);
|
||||||
|
std::string getAppName()const;
|
||||||
|
void setAppName(const std::string& appName);
|
||||||
|
std::string getNamespaceId()const;
|
||||||
|
void setNamespaceId(const std::string& namespaceId);
|
||||||
|
std::string getPackageUrl()const;
|
||||||
|
void setPackageUrl(const std::string& packageUrl);
|
||||||
|
int getTerminationGracePeriodSeconds()const;
|
||||||
|
void setTerminationGracePeriodSeconds(int terminationGracePeriodSeconds);
|
||||||
|
std::string getConfigMapMountDesc()const;
|
||||||
|
void setConfigMapMountDesc(const std::string& configMapMountDesc);
|
||||||
|
std::string getPhpConfig()const;
|
||||||
|
void setPhpConfig(const std::string& phpConfig);
|
||||||
|
std::string getPreStop()const;
|
||||||
|
void setPreStop(const std::string& preStop);
|
||||||
|
int getReplicas()const;
|
||||||
|
void setReplicas(int replicas);
|
||||||
|
int getCpu()const;
|
||||||
|
void setCpu(int cpu);
|
||||||
|
std::string getCommand()const;
|
||||||
|
void setCommand(const std::string& command);
|
||||||
|
std::string getMountDesc()const;
|
||||||
|
void setMountDesc(const std::string& mountDesc);
|
||||||
|
std::string getVSwitchId()const;
|
||||||
|
void setVSwitchId(const std::string& vSwitchId);
|
||||||
|
std::string getJdk()const;
|
||||||
|
void setJdk(const std::string& jdk);
|
||||||
|
std::string getAppDescription()const;
|
||||||
|
void setAppDescription(const std::string& appDescription);
|
||||||
|
std::string getVpcId()const;
|
||||||
|
void setVpcId(const std::string& vpcId);
|
||||||
|
std::string getImageUrl()const;
|
||||||
|
void setImageUrl(const std::string& imageUrl);
|
||||||
|
std::string getPackageType()const;
|
||||||
|
void setPackageType(const std::string& packageType);
|
||||||
|
std::string getPhpConfigLocation()const;
|
||||||
|
void setPhpConfigLocation(const std::string& phpConfigLocation);
|
||||||
|
std::string getPostStart()const;
|
||||||
|
void setPostStart(const std::string& postStart);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string nasId_;
|
||||||
|
std::string webContainer_;
|
||||||
|
std::string jarStartArgs_;
|
||||||
|
int memory_;
|
||||||
|
std::string slsConfigs_;
|
||||||
|
std::string commandArgs_;
|
||||||
|
std::string readiness_;
|
||||||
|
std::string timezone_;
|
||||||
|
std::string mountHost_;
|
||||||
|
bool autoConfig_;
|
||||||
|
std::string liveness_;
|
||||||
|
std::string securityGroupId_;
|
||||||
|
std::string envs_;
|
||||||
|
std::string phpArmsConfigLocation_;
|
||||||
|
std::string packageVersion_;
|
||||||
|
std::string tomcatConfig_;
|
||||||
|
std::string customHostAlias_;
|
||||||
|
bool deploy_;
|
||||||
|
std::string warStartOptions_;
|
||||||
|
std::string jarStartOptions_;
|
||||||
|
std::string edasContainerVersion_;
|
||||||
|
std::string appName_;
|
||||||
|
std::string namespaceId_;
|
||||||
|
std::string packageUrl_;
|
||||||
|
int terminationGracePeriodSeconds_;
|
||||||
|
std::string configMapMountDesc_;
|
||||||
|
std::string phpConfig_;
|
||||||
|
std::string preStop_;
|
||||||
|
int replicas_;
|
||||||
|
int cpu_;
|
||||||
|
std::string command_;
|
||||||
|
std::string mountDesc_;
|
||||||
|
std::string vSwitchId_;
|
||||||
|
std::string jdk_;
|
||||||
|
std::string appDescription_;
|
||||||
|
std::string vpcId_;
|
||||||
|
std::string imageUrl_;
|
||||||
|
std::string packageType_;
|
||||||
|
std::string phpConfigLocation_;
|
||||||
|
std::string postStart_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_CREATEAPPLICATIONREQUEST_H_
|
||||||
66
sae/include/alibabacloud/sae/model/CreateApplicationResult.h
Normal file
66
sae/include/alibabacloud/sae/model/CreateApplicationResult.h
Normal 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_SAE_MODEL_CREATEAPPLICATIONRESULT_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_CREATEAPPLICATIONRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT CreateApplicationResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string appId;
|
||||||
|
std::string changeOrderId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
CreateApplicationResult();
|
||||||
|
explicit CreateApplicationResult(const std::string &payload);
|
||||||
|
~CreateApplicationResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getTraceId()const;
|
||||||
|
Data getData()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string traceId_;
|
||||||
|
Data data_;
|
||||||
|
std::string errorCode_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_CREATEAPPLICATIONRESULT_H_
|
||||||
57
sae/include/alibabacloud/sae/model/CreateConfigMapRequest.h
Normal file
57
sae/include/alibabacloud/sae/model/CreateConfigMapRequest.h
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_SAE_MODEL_CREATECONFIGMAPREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_CREATECONFIGMAPREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT CreateConfigMapRequest : public RoaServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
CreateConfigMapRequest();
|
||||||
|
~CreateConfigMapRequest();
|
||||||
|
|
||||||
|
std::string getData()const;
|
||||||
|
void setData(const std::string& data);
|
||||||
|
std::string getNamespaceId()const;
|
||||||
|
void setNamespaceId(const std::string& namespaceId);
|
||||||
|
std::string getName()const;
|
||||||
|
void setName(const std::string& name);
|
||||||
|
std::string getDescription()const;
|
||||||
|
void setDescription(const std::string& description);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string data_;
|
||||||
|
std::string namespaceId_;
|
||||||
|
std::string name_;
|
||||||
|
std::string description_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_CREATECONFIGMAPREQUEST_H_
|
||||||
65
sae/include/alibabacloud/sae/model/CreateConfigMapResult.h
Normal file
65
sae/include/alibabacloud/sae/model/CreateConfigMapResult.h
Normal 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_SAE_MODEL_CREATECONFIGMAPRESULT_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_CREATECONFIGMAPRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT CreateConfigMapResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
long configMapId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
CreateConfigMapResult();
|
||||||
|
explicit CreateConfigMapResult(const std::string &payload);
|
||||||
|
~CreateConfigMapResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getTraceId()const;
|
||||||
|
Data getData()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string traceId_;
|
||||||
|
Data data_;
|
||||||
|
std::string errorCode_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_CREATECONFIGMAPRESULT_H_
|
||||||
66
sae/include/alibabacloud/sae/model/CreateIngressRequest.h
Normal file
66
sae/include/alibabacloud/sae/model/CreateIngressRequest.h
Normal 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_SAE_MODEL_CREATEINGRESSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_CREATEINGRESSREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT CreateIngressRequest : public RoaServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
CreateIngressRequest();
|
||||||
|
~CreateIngressRequest();
|
||||||
|
|
||||||
|
int getListenerPort()const;
|
||||||
|
void setListenerPort(int listenerPort);
|
||||||
|
std::string getSlbId()const;
|
||||||
|
void setSlbId(const std::string& slbId);
|
||||||
|
std::string getNamespaceId()const;
|
||||||
|
void setNamespaceId(const std::string& namespaceId);
|
||||||
|
std::string getDescription()const;
|
||||||
|
void setDescription(const std::string& description);
|
||||||
|
std::string getRules()const;
|
||||||
|
void setRules(const std::string& rules);
|
||||||
|
std::string getCertId()const;
|
||||||
|
void setCertId(const std::string& certId);
|
||||||
|
std::string getDefaultRule()const;
|
||||||
|
void setDefaultRule(const std::string& defaultRule);
|
||||||
|
|
||||||
|
private:
|
||||||
|
int listenerPort_;
|
||||||
|
std::string slbId_;
|
||||||
|
std::string namespaceId_;
|
||||||
|
std::string description_;
|
||||||
|
std::string rules_;
|
||||||
|
std::string certId_;
|
||||||
|
std::string defaultRule_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_CREATEINGRESSREQUEST_H_
|
||||||
65
sae/include/alibabacloud/sae/model/CreateIngressResult.h
Normal file
65
sae/include/alibabacloud/sae/model/CreateIngressResult.h
Normal 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_SAE_MODEL_CREATEINGRESSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_CREATEINGRESSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT CreateIngressResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
long ingressId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
CreateIngressResult();
|
||||||
|
explicit CreateIngressResult(const std::string &payload);
|
||||||
|
~CreateIngressResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getTraceId()const;
|
||||||
|
Data getData()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string traceId_;
|
||||||
|
Data data_;
|
||||||
|
std::string errorCode_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_CREATEINGRESSRESULT_H_
|
||||||
54
sae/include/alibabacloud/sae/model/CreateNamespaceRequest.h
Normal file
54
sae/include/alibabacloud/sae/model/CreateNamespaceRequest.h
Normal 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_SAE_MODEL_CREATENAMESPACEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_CREATENAMESPACEREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT CreateNamespaceRequest : public RoaServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
CreateNamespaceRequest();
|
||||||
|
~CreateNamespaceRequest();
|
||||||
|
|
||||||
|
std::string getNamespaceName()const;
|
||||||
|
void setNamespaceName(const std::string& namespaceName);
|
||||||
|
std::string getNamespaceDescription()const;
|
||||||
|
void setNamespaceDescription(const std::string& namespaceDescription);
|
||||||
|
std::string getNamespaceId()const;
|
||||||
|
void setNamespaceId(const std::string& namespaceId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string namespaceName_;
|
||||||
|
std::string namespaceDescription_;
|
||||||
|
std::string namespaceId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_CREATENAMESPACEREQUEST_H_
|
||||||
68
sae/include/alibabacloud/sae/model/CreateNamespaceResult.h
Normal file
68
sae/include/alibabacloud/sae/model/CreateNamespaceResult.h
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_SAE_MODEL_CREATENAMESPACERESULT_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_CREATENAMESPACERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT CreateNamespaceResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string namespaceName;
|
||||||
|
std::string regionId;
|
||||||
|
std::string namespaceId;
|
||||||
|
std::string namespaceDescription;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
CreateNamespaceResult();
|
||||||
|
explicit CreateNamespaceResult(const std::string &payload);
|
||||||
|
~CreateNamespaceResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getTraceId()const;
|
||||||
|
Data getData()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string traceId_;
|
||||||
|
Data data_;
|
||||||
|
std::string errorCode_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_CREATENAMESPACERESULT_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_SAE_MODEL_DELETEAPPLICATIONREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_DELETEAPPLICATIONREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT DeleteApplicationRequest : public RoaServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DeleteApplicationRequest();
|
||||||
|
~DeleteApplicationRequest();
|
||||||
|
|
||||||
|
std::string getAppId()const;
|
||||||
|
void setAppId(const std::string& appId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string appId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_DELETEAPPLICATIONREQUEST_H_
|
||||||
65
sae/include/alibabacloud/sae/model/DeleteApplicationResult.h
Normal file
65
sae/include/alibabacloud/sae/model/DeleteApplicationResult.h
Normal 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_SAE_MODEL_DELETEAPPLICATIONRESULT_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_DELETEAPPLICATIONRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT DeleteApplicationResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string changeOrderId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DeleteApplicationResult();
|
||||||
|
explicit DeleteApplicationResult(const std::string &payload);
|
||||||
|
~DeleteApplicationResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getTraceId()const;
|
||||||
|
Data getData()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string traceId_;
|
||||||
|
Data data_;
|
||||||
|
std::string errorCode_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_DELETEAPPLICATIONRESULT_H_
|
||||||
48
sae/include/alibabacloud/sae/model/DeleteConfigMapRequest.h
Normal file
48
sae/include/alibabacloud/sae/model/DeleteConfigMapRequest.h
Normal 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_SAE_MODEL_DELETECONFIGMAPREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_DELETECONFIGMAPREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT DeleteConfigMapRequest : public RoaServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DeleteConfigMapRequest();
|
||||||
|
~DeleteConfigMapRequest();
|
||||||
|
|
||||||
|
long getConfigMapId()const;
|
||||||
|
void setConfigMapId(long configMapId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
long configMapId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_DELETECONFIGMAPREQUEST_H_
|
||||||
65
sae/include/alibabacloud/sae/model/DeleteConfigMapResult.h
Normal file
65
sae/include/alibabacloud/sae/model/DeleteConfigMapResult.h
Normal 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_SAE_MODEL_DELETECONFIGMAPRESULT_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_DELETECONFIGMAPRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT DeleteConfigMapResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
long configMapId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DeleteConfigMapResult();
|
||||||
|
explicit DeleteConfigMapResult(const std::string &payload);
|
||||||
|
~DeleteConfigMapResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getTraceId()const;
|
||||||
|
Data getData()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string traceId_;
|
||||||
|
Data data_;
|
||||||
|
std::string errorCode_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_DELETECONFIGMAPRESULT_H_
|
||||||
48
sae/include/alibabacloud/sae/model/DeleteIngressRequest.h
Normal file
48
sae/include/alibabacloud/sae/model/DeleteIngressRequest.h
Normal 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_SAE_MODEL_DELETEINGRESSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_DELETEINGRESSREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT DeleteIngressRequest : public RoaServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DeleteIngressRequest();
|
||||||
|
~DeleteIngressRequest();
|
||||||
|
|
||||||
|
long getIngressId()const;
|
||||||
|
void setIngressId(long ingressId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
long ingressId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_DELETEINGRESSREQUEST_H_
|
||||||
65
sae/include/alibabacloud/sae/model/DeleteIngressResult.h
Normal file
65
sae/include/alibabacloud/sae/model/DeleteIngressResult.h
Normal 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_SAE_MODEL_DELETEINGRESSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_DELETEINGRESSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT DeleteIngressResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
long ingressId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DeleteIngressResult();
|
||||||
|
explicit DeleteIngressResult(const std::string &payload);
|
||||||
|
~DeleteIngressResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getTraceId()const;
|
||||||
|
Data getData()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string traceId_;
|
||||||
|
Data data_;
|
||||||
|
std::string errorCode_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_DELETEINGRESSRESULT_H_
|
||||||
48
sae/include/alibabacloud/sae/model/DeleteNamespaceRequest.h
Normal file
48
sae/include/alibabacloud/sae/model/DeleteNamespaceRequest.h
Normal 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_SAE_MODEL_DELETENAMESPACEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_DELETENAMESPACEREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT DeleteNamespaceRequest : public RoaServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DeleteNamespaceRequest();
|
||||||
|
~DeleteNamespaceRequest();
|
||||||
|
|
||||||
|
std::string getNamespaceId()const;
|
||||||
|
void setNamespaceId(const std::string& namespaceId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string namespaceId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_DELETENAMESPACEREQUEST_H_
|
||||||
59
sae/include/alibabacloud/sae/model/DeleteNamespaceResult.h
Normal file
59
sae/include/alibabacloud/sae/model/DeleteNamespaceResult.h
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_SAE_MODEL_DELETENAMESPACERESULT_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_DELETENAMESPACERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT DeleteNamespaceResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DeleteNamespaceResult();
|
||||||
|
explicit DeleteNamespaceResult(const std::string &payload);
|
||||||
|
~DeleteNamespaceResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getTraceId()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string traceId_;
|
||||||
|
std::string errorCode_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_DELETENAMESPACERESULT_H_
|
||||||
150
sae/include/alibabacloud/sae/model/DeployApplicationRequest.h
Normal file
150
sae/include/alibabacloud/sae/model/DeployApplicationRequest.h
Normal file
@@ -0,0 +1,150 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_SAE_MODEL_DEPLOYAPPLICATIONREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_DEPLOYAPPLICATIONREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT DeployApplicationRequest : public RoaServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DeployApplicationRequest();
|
||||||
|
~DeployApplicationRequest();
|
||||||
|
|
||||||
|
std::string getNasId()const;
|
||||||
|
void setNasId(const std::string& nasId);
|
||||||
|
std::string getWebContainer()const;
|
||||||
|
void setWebContainer(const std::string& webContainer);
|
||||||
|
std::string getJarStartArgs()const;
|
||||||
|
void setJarStartArgs(const std::string& jarStartArgs);
|
||||||
|
std::string getEnableAhas()const;
|
||||||
|
void setEnableAhas(const std::string& enableAhas);
|
||||||
|
std::string getSlsConfigs()const;
|
||||||
|
void setSlsConfigs(const std::string& slsConfigs);
|
||||||
|
std::string getCommandArgs()const;
|
||||||
|
void setCommandArgs(const std::string& commandArgs);
|
||||||
|
std::string getReadiness()const;
|
||||||
|
void setReadiness(const std::string& readiness);
|
||||||
|
std::string getTimezone()const;
|
||||||
|
void setTimezone(const std::string& timezone);
|
||||||
|
std::string getMountHost()const;
|
||||||
|
void setMountHost(const std::string& mountHost);
|
||||||
|
int getBatchWaitTime()const;
|
||||||
|
void setBatchWaitTime(int batchWaitTime);
|
||||||
|
std::string getLiveness()const;
|
||||||
|
void setLiveness(const std::string& liveness);
|
||||||
|
std::string getEnvs()const;
|
||||||
|
void setEnvs(const std::string& envs);
|
||||||
|
std::string getPhpArmsConfigLocation()const;
|
||||||
|
void setPhpArmsConfigLocation(const std::string& phpArmsConfigLocation);
|
||||||
|
std::string getPackageVersion()const;
|
||||||
|
void setPackageVersion(const std::string& packageVersion);
|
||||||
|
std::string getTomcatConfig()const;
|
||||||
|
void setTomcatConfig(const std::string& tomcatConfig);
|
||||||
|
std::string getCustomHostAlias()const;
|
||||||
|
void setCustomHostAlias(const std::string& customHostAlias);
|
||||||
|
std::string getWarStartOptions()const;
|
||||||
|
void setWarStartOptions(const std::string& warStartOptions);
|
||||||
|
std::string getJarStartOptions()const;
|
||||||
|
void setJarStartOptions(const std::string& jarStartOptions);
|
||||||
|
std::string getEdasContainerVersion()const;
|
||||||
|
void setEdasContainerVersion(const std::string& edasContainerVersion);
|
||||||
|
std::string getPackageUrl()const;
|
||||||
|
void setPackageUrl(const std::string& packageUrl);
|
||||||
|
int getTerminationGracePeriodSeconds()const;
|
||||||
|
void setTerminationGracePeriodSeconds(int terminationGracePeriodSeconds);
|
||||||
|
std::string getConfigMapMountDesc()const;
|
||||||
|
void setConfigMapMountDesc(const std::string& configMapMountDesc);
|
||||||
|
std::string getPhpConfig()const;
|
||||||
|
void setPhpConfig(const std::string& phpConfig);
|
||||||
|
std::string getPreStop()const;
|
||||||
|
void setPreStop(const std::string& preStop);
|
||||||
|
std::string getCommand()const;
|
||||||
|
void setCommand(const std::string& command);
|
||||||
|
std::string getUpdateStrategy()const;
|
||||||
|
void setUpdateStrategy(const std::string& updateStrategy);
|
||||||
|
std::string getMountDesc()const;
|
||||||
|
void setMountDesc(const std::string& mountDesc);
|
||||||
|
std::string getJdk()const;
|
||||||
|
void setJdk(const std::string& jdk);
|
||||||
|
int getMinReadyInstances()const;
|
||||||
|
void setMinReadyInstances(int minReadyInstances);
|
||||||
|
std::string getChangeOrderDesc()const;
|
||||||
|
void setChangeOrderDesc(const std::string& changeOrderDesc);
|
||||||
|
std::string getAppId()const;
|
||||||
|
void setAppId(const std::string& appId);
|
||||||
|
std::string getImageUrl()const;
|
||||||
|
void setImageUrl(const std::string& imageUrl);
|
||||||
|
bool getAutoEnableApplicationScalingRule()const;
|
||||||
|
void setAutoEnableApplicationScalingRule(bool autoEnableApplicationScalingRule);
|
||||||
|
std::string getPhpConfigLocation()const;
|
||||||
|
void setPhpConfigLocation(const std::string& phpConfigLocation);
|
||||||
|
std::string getPostStart()const;
|
||||||
|
void setPostStart(const std::string& postStart);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string nasId_;
|
||||||
|
std::string webContainer_;
|
||||||
|
std::string jarStartArgs_;
|
||||||
|
std::string enableAhas_;
|
||||||
|
std::string slsConfigs_;
|
||||||
|
std::string commandArgs_;
|
||||||
|
std::string readiness_;
|
||||||
|
std::string timezone_;
|
||||||
|
std::string mountHost_;
|
||||||
|
int batchWaitTime_;
|
||||||
|
std::string liveness_;
|
||||||
|
std::string envs_;
|
||||||
|
std::string phpArmsConfigLocation_;
|
||||||
|
std::string packageVersion_;
|
||||||
|
std::string tomcatConfig_;
|
||||||
|
std::string customHostAlias_;
|
||||||
|
std::string warStartOptions_;
|
||||||
|
std::string jarStartOptions_;
|
||||||
|
std::string edasContainerVersion_;
|
||||||
|
std::string packageUrl_;
|
||||||
|
int terminationGracePeriodSeconds_;
|
||||||
|
std::string configMapMountDesc_;
|
||||||
|
std::string phpConfig_;
|
||||||
|
std::string preStop_;
|
||||||
|
std::string command_;
|
||||||
|
std::string updateStrategy_;
|
||||||
|
std::string mountDesc_;
|
||||||
|
std::string jdk_;
|
||||||
|
int minReadyInstances_;
|
||||||
|
std::string changeOrderDesc_;
|
||||||
|
std::string appId_;
|
||||||
|
std::string imageUrl_;
|
||||||
|
bool autoEnableApplicationScalingRule_;
|
||||||
|
std::string phpConfigLocation_;
|
||||||
|
std::string postStart_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_DEPLOYAPPLICATIONREQUEST_H_
|
||||||
66
sae/include/alibabacloud/sae/model/DeployApplicationResult.h
Normal file
66
sae/include/alibabacloud/sae/model/DeployApplicationResult.h
Normal 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_SAE_MODEL_DEPLOYAPPLICATIONRESULT_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_DEPLOYAPPLICATIONRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT DeployApplicationResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string appId;
|
||||||
|
std::string changeOrderId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DeployApplicationResult();
|
||||||
|
explicit DeployApplicationResult(const std::string &payload);
|
||||||
|
~DeployApplicationResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getTraceId()const;
|
||||||
|
Data getData()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string traceId_;
|
||||||
|
Data data_;
|
||||||
|
std::string errorCode_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_DEPLOYAPPLICATIONRESULT_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_SAE_MODEL_DESCRIBEAPPLICATIONCONFIGREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONCONFIGREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT DescribeApplicationConfigRequest : public RoaServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeApplicationConfigRequest();
|
||||||
|
~DescribeApplicationConfigRequest();
|
||||||
|
|
||||||
|
std::string getVersionId()const;
|
||||||
|
void setVersionId(const std::string& versionId);
|
||||||
|
std::string getAppId()const;
|
||||||
|
void setAppId(const std::string& appId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string versionId_;
|
||||||
|
std::string appId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONCONFIGREQUEST_H_
|
||||||
@@ -0,0 +1,125 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_SAE_MODEL_DESCRIBEAPPLICATIONCONFIGRESULT_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONCONFIGRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT DescribeApplicationConfigResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
struct MountDescItem
|
||||||
|
{
|
||||||
|
std::string mountPath;
|
||||||
|
std::string nasPath;
|
||||||
|
};
|
||||||
|
struct Tag
|
||||||
|
{
|
||||||
|
std::string value;
|
||||||
|
std::string key;
|
||||||
|
};
|
||||||
|
struct ConfigMapMountDescItem
|
||||||
|
{
|
||||||
|
std::string mountPath;
|
||||||
|
long configMapId;
|
||||||
|
std::string configMapName;
|
||||||
|
std::string key;
|
||||||
|
};
|
||||||
|
std::string timezone;
|
||||||
|
std::string appDescription;
|
||||||
|
std::string phpConfig;
|
||||||
|
std::vector<MountDescItem> mountDesc;
|
||||||
|
std::string nasId;
|
||||||
|
std::string liveness;
|
||||||
|
std::string warStartOptions;
|
||||||
|
int memory;
|
||||||
|
std::string webContainer;
|
||||||
|
std::string slsConfigs;
|
||||||
|
int cpu;
|
||||||
|
std::string packageVersion;
|
||||||
|
std::string appName;
|
||||||
|
std::string jdk;
|
||||||
|
std::string jarStartArgs;
|
||||||
|
std::string readiness;
|
||||||
|
int minReadyInstances;
|
||||||
|
std::string preStop;
|
||||||
|
std::string phpArmsConfigLocation;
|
||||||
|
std::string packageType;
|
||||||
|
std::vector<Tag> tags;
|
||||||
|
std::string commandArgs;
|
||||||
|
int terminationGracePeriodSeconds;
|
||||||
|
std::string vSwitchId;
|
||||||
|
std::string envs;
|
||||||
|
std::string securityGroupId;
|
||||||
|
std::string imageUrl;
|
||||||
|
std::string postStart;
|
||||||
|
std::string jarStartOptions;
|
||||||
|
std::string mountHost;
|
||||||
|
int replicas;
|
||||||
|
std::string customHostAlias;
|
||||||
|
std::vector<ConfigMapMountDescItem> configMapMountDesc;
|
||||||
|
std::string appId;
|
||||||
|
std::string vpcId;
|
||||||
|
std::string command;
|
||||||
|
std::string edasContainerVersion;
|
||||||
|
std::string packageUrl;
|
||||||
|
std::string phpConfigLocation;
|
||||||
|
int batchWaitTime;
|
||||||
|
std::string namespaceId;
|
||||||
|
std::string regionId;
|
||||||
|
std::string enableAhas;
|
||||||
|
std::string tomcatConfig;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeApplicationConfigResult();
|
||||||
|
explicit DescribeApplicationConfigResult(const std::string &payload);
|
||||||
|
~DescribeApplicationConfigResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getTraceId()const;
|
||||||
|
Data getData()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string traceId_;
|
||||||
|
Data data_;
|
||||||
|
std::string errorCode_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONCONFIGRESULT_H_
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONGROUPSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONGROUPSREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT DescribeApplicationGroupsRequest : public RoaServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeApplicationGroupsRequest();
|
||||||
|
~DescribeApplicationGroupsRequest();
|
||||||
|
|
||||||
|
std::string getAppId()const;
|
||||||
|
void setAppId(const std::string& appId);
|
||||||
|
int getPageSize()const;
|
||||||
|
void setPageSize(int pageSize);
|
||||||
|
int getCurrentPage()const;
|
||||||
|
void setCurrentPage(int currentPage);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string appId_;
|
||||||
|
int pageSize_;
|
||||||
|
int currentPage_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONGROUPSREQUEST_H_
|
||||||
@@ -0,0 +1,76 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT 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_SAE_MODEL_DESCRIBEAPPLICATIONGROUPSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONGROUPSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT DescribeApplicationGroupsResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct ApplicationGroup
|
||||||
|
{
|
||||||
|
std::string groupName;
|
||||||
|
std::string jdk;
|
||||||
|
int groupType;
|
||||||
|
std::string edasContainerVersion;
|
||||||
|
std::string packageType;
|
||||||
|
std::string webContainer;
|
||||||
|
std::string packageUrl;
|
||||||
|
std::string imageUrl;
|
||||||
|
int runningInstances;
|
||||||
|
int replicas;
|
||||||
|
std::string packageVersion;
|
||||||
|
std::string groupId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeApplicationGroupsResult();
|
||||||
|
explicit DescribeApplicationGroupsResult(const std::string &payload);
|
||||||
|
~DescribeApplicationGroupsResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getTraceId()const;
|
||||||
|
std::vector<ApplicationGroup> getData()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string traceId_;
|
||||||
|
std::vector<ApplicationGroup> data_;
|
||||||
|
std::string errorCode_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONGROUPSRESULT_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_SAE_MODEL_DESCRIBEAPPLICATIONIMAGEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONIMAGEREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT DescribeApplicationImageRequest : public RoaServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeApplicationImageRequest();
|
||||||
|
~DescribeApplicationImageRequest();
|
||||||
|
|
||||||
|
std::string getAppId()const;
|
||||||
|
void setAppId(const std::string& appId);
|
||||||
|
std::string getImageUrl()const;
|
||||||
|
void setImageUrl(const std::string& imageUrl);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string appId_;
|
||||||
|
std::string imageUrl_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONIMAGEREQUEST_H_
|
||||||
@@ -0,0 +1,73 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONIMAGERESULT_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONIMAGERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT DescribeApplicationImageResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
std::string repoNamespace;
|
||||||
|
std::string repoOriginType;
|
||||||
|
std::string repoType;
|
||||||
|
std::string crUrl;
|
||||||
|
std::string repoName;
|
||||||
|
std::string regionId;
|
||||||
|
int repoId;
|
||||||
|
std::string repoTag;
|
||||||
|
std::string logo;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeApplicationImageResult();
|
||||||
|
explicit DescribeApplicationImageResult(const std::string &payload);
|
||||||
|
~DescribeApplicationImageResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getTraceId()const;
|
||||||
|
Data getData()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string traceId_;
|
||||||
|
Data data_;
|
||||||
|
std::string errorCode_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONIMAGERESULT_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_SAE_MODEL_DESCRIBEAPPLICATIONINSTANCESREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONINSTANCESREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT DescribeApplicationInstancesRequest : public RoaServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeApplicationInstancesRequest();
|
||||||
|
~DescribeApplicationInstancesRequest();
|
||||||
|
|
||||||
|
std::string getAppId()const;
|
||||||
|
void setAppId(const std::string& appId);
|
||||||
|
std::string getGroupId()const;
|
||||||
|
void setGroupId(const std::string& groupId);
|
||||||
|
int getPageSize()const;
|
||||||
|
void setPageSize(int pageSize);
|
||||||
|
int getCurrentPage()const;
|
||||||
|
void setCurrentPage(int currentPage);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string appId_;
|
||||||
|
std::string groupId_;
|
||||||
|
int pageSize_;
|
||||||
|
int currentPage_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONINSTANCESREQUEST_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_SAE_MODEL_DESCRIBEAPPLICATIONINSTANCESRESULT_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONINSTANCESRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT DescribeApplicationInstancesResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
struct Instance
|
||||||
|
{
|
||||||
|
std::string instanceContainerIp;
|
||||||
|
std::string instanceId;
|
||||||
|
std::string vSwitchId;
|
||||||
|
long instanceContainerRestarts;
|
||||||
|
std::string instanceContainerStatus;
|
||||||
|
long createTimeStamp;
|
||||||
|
std::string groupId;
|
||||||
|
std::string groupId1;
|
||||||
|
};
|
||||||
|
std::vector<Instance> instances;
|
||||||
|
int pageSize;
|
||||||
|
int currentPage;
|
||||||
|
int totalSize;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeApplicationInstancesResult();
|
||||||
|
explicit DescribeApplicationInstancesResult(const std::string &payload);
|
||||||
|
~DescribeApplicationInstancesResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getTraceId()const;
|
||||||
|
Data getData()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string traceId_;
|
||||||
|
Data data_;
|
||||||
|
std::string errorCode_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONINSTANCESRESULT_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_SAE_MODEL_DESCRIBEAPPLICATIONSLBSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSLBSREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT DescribeApplicationSlbsRequest : public RoaServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeApplicationSlbsRequest();
|
||||||
|
~DescribeApplicationSlbsRequest();
|
||||||
|
|
||||||
|
std::string getAppId()const;
|
||||||
|
void setAppId(const std::string& appId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string appId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSLBSREQUEST_H_
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSLBSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSLBSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT DescribeApplicationSlbsResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Data
|
||||||
|
{
|
||||||
|
struct InternetItem
|
||||||
|
{
|
||||||
|
int targetPort;
|
||||||
|
int port;
|
||||||
|
std::string protocol;
|
||||||
|
std::string httpsCertId;
|
||||||
|
};
|
||||||
|
struct IntranetItem
|
||||||
|
{
|
||||||
|
int targetPort;
|
||||||
|
int port;
|
||||||
|
std::string protocol;
|
||||||
|
std::string httpsCertId;
|
||||||
|
};
|
||||||
|
std::string internetSlbId;
|
||||||
|
std::string internetIp;
|
||||||
|
std::vector<IntranetItem> intranet;
|
||||||
|
std::string intranetSlbId;
|
||||||
|
std::vector<InternetItem> internet;
|
||||||
|
std::string intranetIp;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeApplicationSlbsResult();
|
||||||
|
explicit DescribeApplicationSlbsResult(const std::string &payload);
|
||||||
|
~DescribeApplicationSlbsResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getTraceId()const;
|
||||||
|
Data getData()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string traceId_;
|
||||||
|
Data data_;
|
||||||
|
std::string errorCode_;
|
||||||
|
std::string code_;
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSLBSRESULT_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_SAE_MODEL_DESCRIBEAPPLICATIONSTATUSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSTATUSREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <alibabacloud/sae/SaeExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Sae
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_SAE_EXPORT DescribeApplicationStatusRequest : public RoaServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DescribeApplicationStatusRequest();
|
||||||
|
~DescribeApplicationStatusRequest();
|
||||||
|
|
||||||
|
std::string getAppId()const;
|
||||||
|
void setAppId(const std::string& appId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string appId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSTATUSREQUEST_H_
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user