Compare commits
8 Commits
waf-openap
...
retailclou
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
38eb8f243a | ||
|
|
caf80426a4 | ||
|
|
9b90cedcbb | ||
|
|
99cbb7279f | ||
|
|
9c94805a97 | ||
|
|
198969d4d9 | ||
|
|
eaa6b3cb18 | ||
|
|
32dccef2ae |
24
CHANGELOG
24
CHANGELOG
@@ -1,3 +1,27 @@
|
||||
2021-01-28 Version: patch
|
||||
- Generated 2018-03-13 for `retailcloud`.
|
||||
|
||||
2021-01-27 Version: patch
|
||||
- Add New BatchTranslate API.
|
||||
|
||||
2021-01-27 Version: patch
|
||||
- Add New BatchTranslate API.
|
||||
|
||||
2021-01-27 Version: patch
|
||||
- DetectFaceAttributes Add Score.
|
||||
|
||||
2021-01-26 Version: patch
|
||||
- Support ModifyDBClusterPrimaryZone timer task.
|
||||
|
||||
2021-01-25 Version: patch
|
||||
- Regenerate SDK to override list implement.
|
||||
|
||||
2021-01-25 Version: patch
|
||||
- Update Open API.
|
||||
|
||||
2021-01-21 Version: patch
|
||||
- Modify some field types.
|
||||
|
||||
2021-01-21 Version: patch
|
||||
- Generated 2019-09-10 for `waf-openapi`.
|
||||
|
||||
|
||||
@@ -25,6 +25,8 @@ set(alimt_public_header_model
|
||||
include/alibabacloud/alimt/model/CreateDocTranslateTaskResult.h
|
||||
include/alibabacloud/alimt/model/CreateImageTranslateTaskRequest.h
|
||||
include/alibabacloud/alimt/model/CreateImageTranslateTaskResult.h
|
||||
include/alibabacloud/alimt/model/GetBatchTranslateRequest.h
|
||||
include/alibabacloud/alimt/model/GetBatchTranslateResult.h
|
||||
include/alibabacloud/alimt/model/GetDetectLanguageRequest.h
|
||||
include/alibabacloud/alimt/model/GetDetectLanguageResult.h
|
||||
include/alibabacloud/alimt/model/GetDocTranslateTaskRequest.h
|
||||
@@ -58,6 +60,8 @@ set(alimt_src
|
||||
src/model/CreateDocTranslateTaskResult.cc
|
||||
src/model/CreateImageTranslateTaskRequest.cc
|
||||
src/model/CreateImageTranslateTaskResult.cc
|
||||
src/model/GetBatchTranslateRequest.cc
|
||||
src/model/GetBatchTranslateResult.cc
|
||||
src/model/GetDetectLanguageRequest.cc
|
||||
src/model/GetDetectLanguageResult.cc
|
||||
src/model/GetDocTranslateTaskRequest.cc
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
#include "model/CreateDocTranslateTaskResult.h"
|
||||
#include "model/CreateImageTranslateTaskRequest.h"
|
||||
#include "model/CreateImageTranslateTaskResult.h"
|
||||
#include "model/GetBatchTranslateRequest.h"
|
||||
#include "model/GetBatchTranslateResult.h"
|
||||
#include "model/GetDetectLanguageRequest.h"
|
||||
#include "model/GetDetectLanguageResult.h"
|
||||
#include "model/GetDocTranslateTaskRequest.h"
|
||||
@@ -67,6 +69,9 @@ namespace AlibabaCloud
|
||||
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::GetBatchTranslateResult> GetBatchTranslateOutcome;
|
||||
typedef std::future<GetBatchTranslateOutcome> GetBatchTranslateOutcomeCallable;
|
||||
typedef std::function<void(const AlimtClient*, const Model::GetBatchTranslateRequest&, const GetBatchTranslateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetBatchTranslateAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDetectLanguageResult> GetDetectLanguageOutcome;
|
||||
typedef std::future<GetDetectLanguageOutcome> GetDetectLanguageOutcomeCallable;
|
||||
typedef std::function<void(const AlimtClient*, const Model::GetDetectLanguageRequest&, const GetDetectLanguageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDetectLanguageAsyncHandler;
|
||||
@@ -117,6 +122,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
GetBatchTranslateOutcome getBatchTranslate(const Model::GetBatchTranslateRequest &request)const;
|
||||
void getBatchTranslateAsync(const Model::GetBatchTranslateRequest& request, const GetBatchTranslateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetBatchTranslateOutcomeCallable getBatchTranslateCallable(const Model::GetBatchTranslateRequest& 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;
|
||||
GetDetectLanguageOutcomeCallable getDetectLanguageCallable(const Model::GetDetectLanguageRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETBATCHTRANSLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETBATCHTRANSLATEREQUEST_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 GetBatchTranslateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetBatchTranslateRequest();
|
||||
~GetBatchTranslateRequest();
|
||||
|
||||
std::string getSourceLanguage()const;
|
||||
void setSourceLanguage(const std::string& sourceLanguage);
|
||||
std::string getSourceText()const;
|
||||
void setSourceText(const std::string& sourceText);
|
||||
std::string getFormatType()const;
|
||||
void setFormatType(const std::string& formatType);
|
||||
std::string getApiType()const;
|
||||
void setApiType(const std::string& apiType);
|
||||
std::string getScene()const;
|
||||
void setScene(const std::string& scene);
|
||||
std::string getTargetLanguage()const;
|
||||
void setTargetLanguage(const std::string& targetLanguage);
|
||||
|
||||
private:
|
||||
std::string sourceLanguage_;
|
||||
std::string sourceText_;
|
||||
std::string formatType_;
|
||||
std::string apiType_;
|
||||
std::string scene_;
|
||||
std::string targetLanguage_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETBATCHTRANSLATEREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIMT_MODEL_GETBATCHTRANSLATERESULT_H_
|
||||
#define ALIBABACLOUD_ALIMT_MODEL_GETBATCHTRANSLATERESULT_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 GetBatchTranslateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetBatchTranslateResult();
|
||||
explicit GetBatchTranslateResult(const std::string &payload);
|
||||
~GetBatchTranslateResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<std::string> getTranslatedList()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<std::string> translatedList_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIMT_MODEL_GETBATCHTRANSLATERESULT_H_
|
||||
@@ -123,6 +123,42 @@ AlimtClient::CreateImageTranslateTaskOutcomeCallable AlimtClient::createImageTra
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlimtClient::GetBatchTranslateOutcome AlimtClient::getBatchTranslate(const GetBatchTranslateRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetBatchTranslateOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetBatchTranslateOutcome(GetBatchTranslateResult(outcome.result()));
|
||||
else
|
||||
return GetBatchTranslateOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlimtClient::getBatchTranslateAsync(const GetBatchTranslateRequest& request, const GetBatchTranslateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getBatchTranslate(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlimtClient::GetBatchTranslateOutcomeCallable AlimtClient::getBatchTranslateCallable(const GetBatchTranslateRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetBatchTranslateOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getBatchTranslate(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlimtClient::GetDetectLanguageOutcome AlimtClient::getDetectLanguage(const GetDetectLanguageRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
95
alimt/src/model/GetBatchTranslateRequest.cc
Normal file
95
alimt/src/model/GetBatchTranslateRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/GetBatchTranslateRequest.h>
|
||||
|
||||
using AlibabaCloud::Alimt::Model::GetBatchTranslateRequest;
|
||||
|
||||
GetBatchTranslateRequest::GetBatchTranslateRequest() :
|
||||
RpcServiceRequest("alimt", "2018-10-12", "GetBatchTranslate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetBatchTranslateRequest::~GetBatchTranslateRequest()
|
||||
{}
|
||||
|
||||
std::string GetBatchTranslateRequest::getSourceLanguage()const
|
||||
{
|
||||
return sourceLanguage_;
|
||||
}
|
||||
|
||||
void GetBatchTranslateRequest::setSourceLanguage(const std::string& sourceLanguage)
|
||||
{
|
||||
sourceLanguage_ = sourceLanguage;
|
||||
setBodyParameter("SourceLanguage", sourceLanguage);
|
||||
}
|
||||
|
||||
std::string GetBatchTranslateRequest::getSourceText()const
|
||||
{
|
||||
return sourceText_;
|
||||
}
|
||||
|
||||
void GetBatchTranslateRequest::setSourceText(const std::string& sourceText)
|
||||
{
|
||||
sourceText_ = sourceText;
|
||||
setBodyParameter("SourceText", sourceText);
|
||||
}
|
||||
|
||||
std::string GetBatchTranslateRequest::getFormatType()const
|
||||
{
|
||||
return formatType_;
|
||||
}
|
||||
|
||||
void GetBatchTranslateRequest::setFormatType(const std::string& formatType)
|
||||
{
|
||||
formatType_ = formatType;
|
||||
setBodyParameter("FormatType", formatType);
|
||||
}
|
||||
|
||||
std::string GetBatchTranslateRequest::getApiType()const
|
||||
{
|
||||
return apiType_;
|
||||
}
|
||||
|
||||
void GetBatchTranslateRequest::setApiType(const std::string& apiType)
|
||||
{
|
||||
apiType_ = apiType;
|
||||
setBodyParameter("ApiType", apiType);
|
||||
}
|
||||
|
||||
std::string GetBatchTranslateRequest::getScene()const
|
||||
{
|
||||
return scene_;
|
||||
}
|
||||
|
||||
void GetBatchTranslateRequest::setScene(const std::string& scene)
|
||||
{
|
||||
scene_ = scene;
|
||||
setBodyParameter("Scene", scene);
|
||||
}
|
||||
|
||||
std::string GetBatchTranslateRequest::getTargetLanguage()const
|
||||
{
|
||||
return targetLanguage_;
|
||||
}
|
||||
|
||||
void GetBatchTranslateRequest::setTargetLanguage(const std::string& targetLanguage)
|
||||
{
|
||||
targetLanguage_ = targetLanguage;
|
||||
setBodyParameter("TargetLanguage", targetLanguage);
|
||||
}
|
||||
|
||||
66
alimt/src/model/GetBatchTranslateResult.cc
Normal file
66
alimt/src/model/GetBatchTranslateResult.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/GetBatchTranslateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alimt;
|
||||
using namespace AlibabaCloud::Alimt::Model;
|
||||
|
||||
GetBatchTranslateResult::GetBatchTranslateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetBatchTranslateResult::GetBatchTranslateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetBatchTranslateResult::~GetBatchTranslateResult()
|
||||
{}
|
||||
|
||||
void GetBatchTranslateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTranslatedList = value["TranslatedList"]["Translated"];
|
||||
for (const auto &item : allTranslatedList)
|
||||
translatedList_.push_back(item.asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetBatchTranslateResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<std::string> GetBatchTranslateResult::getTranslatedList()const
|
||||
{
|
||||
return translatedList_;
|
||||
}
|
||||
|
||||
int GetBatchTranslateResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -27,6 +27,8 @@ set(cloudauth_public_header_model
|
||||
include/alibabacloud/cloudauth/model/CompareFacesResult.h
|
||||
include/alibabacloud/cloudauth/model/ContrastFaceVerifyRequest.h
|
||||
include/alibabacloud/cloudauth/model/ContrastFaceVerifyResult.h
|
||||
include/alibabacloud/cloudauth/model/ContrastSmartVerifyRequest.h
|
||||
include/alibabacloud/cloudauth/model/ContrastSmartVerifyResult.h
|
||||
include/alibabacloud/cloudauth/model/CreateAuthKeyRequest.h
|
||||
include/alibabacloud/cloudauth/model/CreateAuthKeyResult.h
|
||||
include/alibabacloud/cloudauth/model/CreateFaceConfigRequest.h
|
||||
@@ -37,6 +39,10 @@ set(cloudauth_public_header_model
|
||||
include/alibabacloud/cloudauth/model/CreateVerifySDKResult.h
|
||||
include/alibabacloud/cloudauth/model/CreateVerifySettingRequest.h
|
||||
include/alibabacloud/cloudauth/model/CreateVerifySettingResult.h
|
||||
include/alibabacloud/cloudauth/model/CreateWhitelistRequest.h
|
||||
include/alibabacloud/cloudauth/model/CreateWhitelistResult.h
|
||||
include/alibabacloud/cloudauth/model/DeleteWhitelistRequest.h
|
||||
include/alibabacloud/cloudauth/model/DeleteWhitelistResult.h
|
||||
include/alibabacloud/cloudauth/model/DescribeAppInfoRequest.h
|
||||
include/alibabacloud/cloudauth/model/DescribeAppInfoResult.h
|
||||
include/alibabacloud/cloudauth/model/DescribeDeviceInfoRequest.h
|
||||
@@ -73,6 +79,8 @@ set(cloudauth_public_header_model
|
||||
include/alibabacloud/cloudauth/model/DescribeVerifyTokenResult.h
|
||||
include/alibabacloud/cloudauth/model/DescribeVerifyUsageRequest.h
|
||||
include/alibabacloud/cloudauth/model/DescribeVerifyUsageResult.h
|
||||
include/alibabacloud/cloudauth/model/DescribeWhitelistRequest.h
|
||||
include/alibabacloud/cloudauth/model/DescribeWhitelistResult.h
|
||||
include/alibabacloud/cloudauth/model/DetectFaceAttributesRequest.h
|
||||
include/alibabacloud/cloudauth/model/DetectFaceAttributesResult.h
|
||||
include/alibabacloud/cloudauth/model/ElementSmartVerifyRequest.h
|
||||
@@ -118,6 +126,8 @@ set(cloudauth_src
|
||||
src/model/CompareFacesResult.cc
|
||||
src/model/ContrastFaceVerifyRequest.cc
|
||||
src/model/ContrastFaceVerifyResult.cc
|
||||
src/model/ContrastSmartVerifyRequest.cc
|
||||
src/model/ContrastSmartVerifyResult.cc
|
||||
src/model/CreateAuthKeyRequest.cc
|
||||
src/model/CreateAuthKeyResult.cc
|
||||
src/model/CreateFaceConfigRequest.cc
|
||||
@@ -128,6 +138,10 @@ set(cloudauth_src
|
||||
src/model/CreateVerifySDKResult.cc
|
||||
src/model/CreateVerifySettingRequest.cc
|
||||
src/model/CreateVerifySettingResult.cc
|
||||
src/model/CreateWhitelistRequest.cc
|
||||
src/model/CreateWhitelistResult.cc
|
||||
src/model/DeleteWhitelistRequest.cc
|
||||
src/model/DeleteWhitelistResult.cc
|
||||
src/model/DescribeAppInfoRequest.cc
|
||||
src/model/DescribeAppInfoResult.cc
|
||||
src/model/DescribeDeviceInfoRequest.cc
|
||||
@@ -164,6 +178,8 @@ set(cloudauth_src
|
||||
src/model/DescribeVerifyTokenResult.cc
|
||||
src/model/DescribeVerifyUsageRequest.cc
|
||||
src/model/DescribeVerifyUsageResult.cc
|
||||
src/model/DescribeWhitelistRequest.cc
|
||||
src/model/DescribeWhitelistResult.cc
|
||||
src/model/DetectFaceAttributesRequest.cc
|
||||
src/model/DetectFaceAttributesResult.cc
|
||||
src/model/ElementSmartVerifyRequest.cc
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
#include "model/CompareFacesResult.h"
|
||||
#include "model/ContrastFaceVerifyRequest.h"
|
||||
#include "model/ContrastFaceVerifyResult.h"
|
||||
#include "model/ContrastSmartVerifyRequest.h"
|
||||
#include "model/ContrastSmartVerifyResult.h"
|
||||
#include "model/CreateAuthKeyRequest.h"
|
||||
#include "model/CreateAuthKeyResult.h"
|
||||
#include "model/CreateFaceConfigRequest.h"
|
||||
@@ -38,6 +40,10 @@
|
||||
#include "model/CreateVerifySDKResult.h"
|
||||
#include "model/CreateVerifySettingRequest.h"
|
||||
#include "model/CreateVerifySettingResult.h"
|
||||
#include "model/CreateWhitelistRequest.h"
|
||||
#include "model/CreateWhitelistResult.h"
|
||||
#include "model/DeleteWhitelistRequest.h"
|
||||
#include "model/DeleteWhitelistResult.h"
|
||||
#include "model/DescribeAppInfoRequest.h"
|
||||
#include "model/DescribeAppInfoResult.h"
|
||||
#include "model/DescribeDeviceInfoRequest.h"
|
||||
@@ -74,6 +80,8 @@
|
||||
#include "model/DescribeVerifyTokenResult.h"
|
||||
#include "model/DescribeVerifyUsageRequest.h"
|
||||
#include "model/DescribeVerifyUsageResult.h"
|
||||
#include "model/DescribeWhitelistRequest.h"
|
||||
#include "model/DescribeWhitelistResult.h"
|
||||
#include "model/DetectFaceAttributesRequest.h"
|
||||
#include "model/DetectFaceAttributesResult.h"
|
||||
#include "model/ElementSmartVerifyRequest.h"
|
||||
@@ -128,6 +136,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ContrastFaceVerifyResult> ContrastFaceVerifyOutcome;
|
||||
typedef std::future<ContrastFaceVerifyOutcome> ContrastFaceVerifyOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::ContrastFaceVerifyRequest&, const ContrastFaceVerifyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ContrastFaceVerifyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ContrastSmartVerifyResult> ContrastSmartVerifyOutcome;
|
||||
typedef std::future<ContrastSmartVerifyOutcome> ContrastSmartVerifyOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::ContrastSmartVerifyRequest&, const ContrastSmartVerifyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ContrastSmartVerifyAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateAuthKeyResult> CreateAuthKeyOutcome;
|
||||
typedef std::future<CreateAuthKeyOutcome> CreateAuthKeyOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::CreateAuthKeyRequest&, const CreateAuthKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAuthKeyAsyncHandler;
|
||||
@@ -143,6 +154,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateVerifySettingResult> CreateVerifySettingOutcome;
|
||||
typedef std::future<CreateVerifySettingOutcome> CreateVerifySettingOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::CreateVerifySettingRequest&, const CreateVerifySettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateVerifySettingAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateWhitelistResult> CreateWhitelistOutcome;
|
||||
typedef std::future<CreateWhitelistOutcome> CreateWhitelistOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::CreateWhitelistRequest&, const CreateWhitelistOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateWhitelistAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteWhitelistResult> DeleteWhitelistOutcome;
|
||||
typedef std::future<DeleteWhitelistOutcome> DeleteWhitelistOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::DeleteWhitelistRequest&, const DeleteWhitelistOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteWhitelistAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAppInfoResult> DescribeAppInfoOutcome;
|
||||
typedef std::future<DescribeAppInfoOutcome> DescribeAppInfoOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::DescribeAppInfoRequest&, const DescribeAppInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAppInfoAsyncHandler;
|
||||
@@ -197,6 +214,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeVerifyUsageResult> DescribeVerifyUsageOutcome;
|
||||
typedef std::future<DescribeVerifyUsageOutcome> DescribeVerifyUsageOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::DescribeVerifyUsageRequest&, const DescribeVerifyUsageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVerifyUsageAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeWhitelistResult> DescribeWhitelistOutcome;
|
||||
typedef std::future<DescribeWhitelistOutcome> DescribeWhitelistOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::DescribeWhitelistRequest&, const DescribeWhitelistOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeWhitelistAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetectFaceAttributesResult> DetectFaceAttributesOutcome;
|
||||
typedef std::future<DetectFaceAttributesOutcome> DetectFaceAttributesOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::DetectFaceAttributesRequest&, const DetectFaceAttributesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectFaceAttributesAsyncHandler;
|
||||
@@ -265,6 +285,9 @@ namespace AlibabaCloud
|
||||
ContrastFaceVerifyOutcome contrastFaceVerify(const Model::ContrastFaceVerifyRequest &request)const;
|
||||
void contrastFaceVerifyAsync(const Model::ContrastFaceVerifyRequest& request, const ContrastFaceVerifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ContrastFaceVerifyOutcomeCallable contrastFaceVerifyCallable(const Model::ContrastFaceVerifyRequest& request) const;
|
||||
ContrastSmartVerifyOutcome contrastSmartVerify(const Model::ContrastSmartVerifyRequest &request)const;
|
||||
void contrastSmartVerifyAsync(const Model::ContrastSmartVerifyRequest& request, const ContrastSmartVerifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ContrastSmartVerifyOutcomeCallable contrastSmartVerifyCallable(const Model::ContrastSmartVerifyRequest& request) const;
|
||||
CreateAuthKeyOutcome createAuthKey(const Model::CreateAuthKeyRequest &request)const;
|
||||
void createAuthKeyAsync(const Model::CreateAuthKeyRequest& request, const CreateAuthKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateAuthKeyOutcomeCallable createAuthKeyCallable(const Model::CreateAuthKeyRequest& request) const;
|
||||
@@ -280,6 +303,12 @@ namespace AlibabaCloud
|
||||
CreateVerifySettingOutcome createVerifySetting(const Model::CreateVerifySettingRequest &request)const;
|
||||
void createVerifySettingAsync(const Model::CreateVerifySettingRequest& request, const CreateVerifySettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateVerifySettingOutcomeCallable createVerifySettingCallable(const Model::CreateVerifySettingRequest& request) const;
|
||||
CreateWhitelistOutcome createWhitelist(const Model::CreateWhitelistRequest &request)const;
|
||||
void createWhitelistAsync(const Model::CreateWhitelistRequest& request, const CreateWhitelistAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateWhitelistOutcomeCallable createWhitelistCallable(const Model::CreateWhitelistRequest& request) const;
|
||||
DeleteWhitelistOutcome deleteWhitelist(const Model::DeleteWhitelistRequest &request)const;
|
||||
void deleteWhitelistAsync(const Model::DeleteWhitelistRequest& request, const DeleteWhitelistAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteWhitelistOutcomeCallable deleteWhitelistCallable(const Model::DeleteWhitelistRequest& request) const;
|
||||
DescribeAppInfoOutcome describeAppInfo(const Model::DescribeAppInfoRequest &request)const;
|
||||
void describeAppInfoAsync(const Model::DescribeAppInfoRequest& request, const DescribeAppInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAppInfoOutcomeCallable describeAppInfoCallable(const Model::DescribeAppInfoRequest& request) const;
|
||||
@@ -334,6 +363,9 @@ namespace AlibabaCloud
|
||||
DescribeVerifyUsageOutcome describeVerifyUsage(const Model::DescribeVerifyUsageRequest &request)const;
|
||||
void describeVerifyUsageAsync(const Model::DescribeVerifyUsageRequest& request, const DescribeVerifyUsageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeVerifyUsageOutcomeCallable describeVerifyUsageCallable(const Model::DescribeVerifyUsageRequest& request) const;
|
||||
DescribeWhitelistOutcome describeWhitelist(const Model::DescribeWhitelistRequest &request)const;
|
||||
void describeWhitelistAsync(const Model::DescribeWhitelistRequest& request, const DescribeWhitelistAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeWhitelistOutcomeCallable describeWhitelistCallable(const Model::DescribeWhitelistRequest& request) const;
|
||||
DetectFaceAttributesOutcome detectFaceAttributes(const Model::DetectFaceAttributesRequest &request)const;
|
||||
void detectFaceAttributesAsync(const Model::DetectFaceAttributesRequest& request, const DetectFaceAttributesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetectFaceAttributesOutcomeCallable detectFaceAttributesCallable(const Model::DetectFaceAttributesRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_CONTRASTSMARTVERIFYREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_CONTRASTSMARTVERIFYREQUEST_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 ContrastSmartVerifyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ContrastSmartVerifyRequest();
|
||||
~ContrastSmartVerifyRequest();
|
||||
|
||||
std::string getFacePicFile()const;
|
||||
void setFacePicFile(const std::string& facePicFile);
|
||||
std::string getIp()const;
|
||||
void setIp(const std::string& ip);
|
||||
std::string getCertName()const;
|
||||
void setCertName(const std::string& certName);
|
||||
std::string getFacePicString()const;
|
||||
void setFacePicString(const std::string& facePicString);
|
||||
std::string getMobile()const;
|
||||
void setMobile(const std::string& mobile);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getMode()const;
|
||||
void setMode(const std::string& mode);
|
||||
std::string getCertNo()const;
|
||||
void setCertNo(const std::string& certNo);
|
||||
std::string getOuterOrderNo()const;
|
||||
void setOuterOrderNo(const std::string& outerOrderNo);
|
||||
std::string getFacePicUrl()const;
|
||||
void setFacePicUrl(const std::string& facePicUrl);
|
||||
std::string getCertType()const;
|
||||
void setCertType(const std::string& certType);
|
||||
long getSceneId()const;
|
||||
void setSceneId(long sceneId);
|
||||
|
||||
private:
|
||||
std::string facePicFile_;
|
||||
std::string ip_;
|
||||
std::string certName_;
|
||||
std::string facePicString_;
|
||||
std::string mobile_;
|
||||
std::string userId_;
|
||||
std::string mode_;
|
||||
std::string certNo_;
|
||||
std::string outerOrderNo_;
|
||||
std::string facePicUrl_;
|
||||
std::string certType_;
|
||||
long sceneId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_CONTRASTSMARTVERIFYREQUEST_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_CONTRASTSMARTVERIFYRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_CONTRASTSMARTVERIFYRESULT_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 ContrastSmartVerifyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ResultObject
|
||||
{
|
||||
std::string passed;
|
||||
std::string certifyId;
|
||||
std::string subCode;
|
||||
std::string verifyInfo;
|
||||
std::string riskInfo;
|
||||
};
|
||||
|
||||
|
||||
ContrastSmartVerifyResult();
|
||||
explicit ContrastSmartVerifyResult(const std::string &payload);
|
||||
~ContrastSmartVerifyResult();
|
||||
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_CONTRASTSMARTVERIFYRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_CREATEWHITELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_CREATEWHITELISTREQUEST_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 CreateWhitelistRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateWhitelistRequest();
|
||||
~CreateWhitelistRequest();
|
||||
|
||||
std::string getValidDay()const;
|
||||
void setValidDay(const std::string& validDay);
|
||||
std::string getBizType()const;
|
||||
void setBizType(const std::string& bizType);
|
||||
std::string getIdCardNum()const;
|
||||
void setIdCardNum(const std::string& idCardNum);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getBizId()const;
|
||||
void setBizId(const std::string& bizId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string validDay_;
|
||||
std::string bizType_;
|
||||
std::string idCardNum_;
|
||||
std::string sourceIp_;
|
||||
std::string bizId_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_CREATEWHITELISTREQUEST_H_
|
||||
@@ -14,29 +14,29 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_DROPDEDICATEDHOSTUSERRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DROPDEDICATEDHOSTUSERRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_CREATEWHITELISTRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_CREATEWHITELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DropDedicatedHostUserResult : public ServiceResult
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT CreateWhitelistResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DropDedicatedHostUserResult();
|
||||
explicit DropDedicatedHostUserResult(const std::string &payload);
|
||||
~DropDedicatedHostUserResult();
|
||||
CreateWhitelistResult();
|
||||
explicit CreateWhitelistResult(const std::string &payload);
|
||||
~CreateWhitelistResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DROPDEDICATEDHOSTUSERRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_CREATEWHITELISTRESULT_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_CLOUDAUTH_MODEL_DELETEWHITELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DELETEWHITELISTREQUEST_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 DeleteWhitelistRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteWhitelistRequest();
|
||||
~DeleteWhitelistRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getIds()const;
|
||||
void setIds(const std::string& ids);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string ids_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DELETEWHITELISTREQUEST_H_
|
||||
@@ -14,29 +14,29 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_CREATEDEDICATEDHOSTUSERRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_CREATEDEDICATEDHOSTUSERRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DELETEWHITELISTRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DELETEWHITELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT CreateDedicatedHostUserResult : public ServiceResult
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT DeleteWhitelistResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDedicatedHostUserResult();
|
||||
explicit CreateDedicatedHostUserResult(const std::string &payload);
|
||||
~CreateDedicatedHostUserResult();
|
||||
DeleteWhitelistResult();
|
||||
explicit DeleteWhitelistResult(const std::string &payload);
|
||||
~DeleteWhitelistResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEDEDICATEDHOSTUSERRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DELETEWHITELISTRESULT_H_
|
||||
@@ -35,14 +35,17 @@ namespace AlibabaCloud
|
||||
DescribeFaceVerifyRequest();
|
||||
~DescribeFaceVerifyRequest();
|
||||
|
||||
long getSceneId()const;
|
||||
void setSceneId(long sceneId);
|
||||
std::string getCertifyId()const;
|
||||
void setCertifyId(const std::string& certifyId);
|
||||
std::string getPictureReturnType()const;
|
||||
void setPictureReturnType(const std::string& pictureReturnType);
|
||||
long getSceneId()const;
|
||||
void setSceneId(long sceneId);
|
||||
|
||||
private:
|
||||
long sceneId_;
|
||||
std::string certifyId_;
|
||||
std::string pictureReturnType_;
|
||||
long sceneId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,14 +35,17 @@ namespace AlibabaCloud
|
||||
DescribeSmartVerifyRequest();
|
||||
~DescribeSmartVerifyRequest();
|
||||
|
||||
long getSceneId()const;
|
||||
void setSceneId(long sceneId);
|
||||
std::string getCertifyId()const;
|
||||
void setCertifyId(const std::string& certifyId);
|
||||
std::string getPictureReturnType()const;
|
||||
void setPictureReturnType(const std::string& pictureReturnType);
|
||||
long getSceneId()const;
|
||||
void setSceneId(long sceneId);
|
||||
|
||||
private:
|
||||
long sceneId_;
|
||||
std::string certifyId_;
|
||||
std::string pictureReturnType_;
|
||||
long sceneId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR 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_DESCRIBEWHITELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEWHITELISTREQUEST_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 DescribeWhitelistRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeWhitelistRequest();
|
||||
~DescribeWhitelistRequest();
|
||||
|
||||
std::string getValidEndDate()const;
|
||||
void setValidEndDate(const std::string& validEndDate);
|
||||
std::string getValid()const;
|
||||
void setValid(const std::string& valid);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getBizType()const;
|
||||
void setBizType(const std::string& bizType);
|
||||
std::string getIdCardNum()const;
|
||||
void setIdCardNum(const std::string& idCardNum);
|
||||
std::string getBizId()const;
|
||||
void setBizId(const std::string& bizId);
|
||||
std::string getValidStartDate()const;
|
||||
void setValidStartDate(const std::string& validStartDate);
|
||||
|
||||
private:
|
||||
std::string validEndDate_;
|
||||
std::string valid_;
|
||||
std::string sourceIp_;
|
||||
int pageSize_;
|
||||
std::string lang_;
|
||||
int currentPage_;
|
||||
std::string bizType_;
|
||||
std::string idCardNum_;
|
||||
std::string bizId_;
|
||||
std::string validStartDate_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEWHITELISTREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEWHITELISTRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEWHITELISTRESULT_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 DescribeWhitelistResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Item
|
||||
{
|
||||
long startDate;
|
||||
long uid;
|
||||
long gmtCreate;
|
||||
int valid;
|
||||
long gmtModified;
|
||||
std::string bizType;
|
||||
long id;
|
||||
long endDate;
|
||||
std::string bizId;
|
||||
std::string idCardNum;
|
||||
};
|
||||
|
||||
|
||||
DescribeWhitelistResult();
|
||||
explicit DescribeWhitelistResult(const std::string &payload);
|
||||
~DescribeWhitelistResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getCurrentPage()const;
|
||||
std::vector<Item> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int currentPage_;
|
||||
std::vector<Item> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEWHITELISTRESULT_H_
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
void setCertifyData(const std::string& certifyData);
|
||||
std::string getAppVersion()const;
|
||||
void setAppVersion(const std::string& appVersion);
|
||||
std::string getDeviceToken()const;
|
||||
void setDeviceToken(const std::string& deviceToken);
|
||||
std::string getCertifyId()const;
|
||||
void setCertifyId(const std::string& certifyId);
|
||||
|
||||
@@ -48,6 +50,7 @@ namespace AlibabaCloud
|
||||
std::string extInfo_;
|
||||
std::string certifyData_;
|
||||
std::string appVersion_;
|
||||
std::string deviceToken_;
|
||||
std::string certifyId_;
|
||||
|
||||
};
|
||||
|
||||
@@ -159,6 +159,42 @@ CloudauthClient::ContrastFaceVerifyOutcomeCallable CloudauthClient::contrastFace
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudauthClient::ContrastSmartVerifyOutcome CloudauthClient::contrastSmartVerify(const ContrastSmartVerifyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ContrastSmartVerifyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ContrastSmartVerifyOutcome(ContrastSmartVerifyResult(outcome.result()));
|
||||
else
|
||||
return ContrastSmartVerifyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudauthClient::contrastSmartVerifyAsync(const ContrastSmartVerifyRequest& request, const ContrastSmartVerifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, contrastSmartVerify(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudauthClient::ContrastSmartVerifyOutcomeCallable CloudauthClient::contrastSmartVerifyCallable(const ContrastSmartVerifyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ContrastSmartVerifyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->contrastSmartVerify(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudauthClient::CreateAuthKeyOutcome CloudauthClient::createAuthKey(const CreateAuthKeyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -339,6 +375,78 @@ CloudauthClient::CreateVerifySettingOutcomeCallable CloudauthClient::createVerif
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudauthClient::CreateWhitelistOutcome CloudauthClient::createWhitelist(const CreateWhitelistRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateWhitelistOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateWhitelistOutcome(CreateWhitelistResult(outcome.result()));
|
||||
else
|
||||
return CreateWhitelistOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudauthClient::createWhitelistAsync(const CreateWhitelistRequest& request, const CreateWhitelistAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createWhitelist(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudauthClient::CreateWhitelistOutcomeCallable CloudauthClient::createWhitelistCallable(const CreateWhitelistRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateWhitelistOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createWhitelist(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudauthClient::DeleteWhitelistOutcome CloudauthClient::deleteWhitelist(const DeleteWhitelistRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteWhitelistOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteWhitelistOutcome(DeleteWhitelistResult(outcome.result()));
|
||||
else
|
||||
return DeleteWhitelistOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudauthClient::deleteWhitelistAsync(const DeleteWhitelistRequest& request, const DeleteWhitelistAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteWhitelist(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudauthClient::DeleteWhitelistOutcomeCallable CloudauthClient::deleteWhitelistCallable(const DeleteWhitelistRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteWhitelistOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteWhitelist(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudauthClient::DescribeAppInfoOutcome CloudauthClient::describeAppInfo(const DescribeAppInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -987,6 +1095,42 @@ CloudauthClient::DescribeVerifyUsageOutcomeCallable CloudauthClient::describeVer
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudauthClient::DescribeWhitelistOutcome CloudauthClient::describeWhitelist(const DescribeWhitelistRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeWhitelistOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeWhitelistOutcome(DescribeWhitelistResult(outcome.result()));
|
||||
else
|
||||
return DescribeWhitelistOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudauthClient::describeWhitelistAsync(const DescribeWhitelistRequest& request, const DescribeWhitelistAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeWhitelist(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudauthClient::DescribeWhitelistOutcomeCallable CloudauthClient::describeWhitelistCallable(const DescribeWhitelistRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeWhitelistOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeWhitelist(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudauthClient::DetectFaceAttributesOutcome CloudauthClient::detectFaceAttributes(const DetectFaceAttributesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
161
cloudauth/src/model/ContrastSmartVerifyRequest.cc
Normal file
161
cloudauth/src/model/ContrastSmartVerifyRequest.cc
Normal file
@@ -0,0 +1,161 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/ContrastSmartVerifyRequest.h>
|
||||
|
||||
using AlibabaCloud::Cloudauth::Model::ContrastSmartVerifyRequest;
|
||||
|
||||
ContrastSmartVerifyRequest::ContrastSmartVerifyRequest() :
|
||||
RpcServiceRequest("cloudauth", "2020-06-18", "ContrastSmartVerify")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ContrastSmartVerifyRequest::~ContrastSmartVerifyRequest()
|
||||
{}
|
||||
|
||||
std::string ContrastSmartVerifyRequest::getFacePicFile()const
|
||||
{
|
||||
return facePicFile_;
|
||||
}
|
||||
|
||||
void ContrastSmartVerifyRequest::setFacePicFile(const std::string& facePicFile)
|
||||
{
|
||||
facePicFile_ = facePicFile;
|
||||
setBodyParameter("FacePicFile", facePicFile);
|
||||
}
|
||||
|
||||
std::string ContrastSmartVerifyRequest::getIp()const
|
||||
{
|
||||
return ip_;
|
||||
}
|
||||
|
||||
void ContrastSmartVerifyRequest::setIp(const std::string& ip)
|
||||
{
|
||||
ip_ = ip;
|
||||
setBodyParameter("Ip", ip);
|
||||
}
|
||||
|
||||
std::string ContrastSmartVerifyRequest::getCertName()const
|
||||
{
|
||||
return certName_;
|
||||
}
|
||||
|
||||
void ContrastSmartVerifyRequest::setCertName(const std::string& certName)
|
||||
{
|
||||
certName_ = certName;
|
||||
setBodyParameter("CertName", certName);
|
||||
}
|
||||
|
||||
std::string ContrastSmartVerifyRequest::getFacePicString()const
|
||||
{
|
||||
return facePicString_;
|
||||
}
|
||||
|
||||
void ContrastSmartVerifyRequest::setFacePicString(const std::string& facePicString)
|
||||
{
|
||||
facePicString_ = facePicString;
|
||||
setBodyParameter("FacePicString", facePicString);
|
||||
}
|
||||
|
||||
std::string ContrastSmartVerifyRequest::getMobile()const
|
||||
{
|
||||
return mobile_;
|
||||
}
|
||||
|
||||
void ContrastSmartVerifyRequest::setMobile(const std::string& mobile)
|
||||
{
|
||||
mobile_ = mobile;
|
||||
setBodyParameter("Mobile", mobile);
|
||||
}
|
||||
|
||||
std::string ContrastSmartVerifyRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void ContrastSmartVerifyRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setBodyParameter("UserId", userId);
|
||||
}
|
||||
|
||||
std::string ContrastSmartVerifyRequest::getMode()const
|
||||
{
|
||||
return mode_;
|
||||
}
|
||||
|
||||
void ContrastSmartVerifyRequest::setMode(const std::string& mode)
|
||||
{
|
||||
mode_ = mode;
|
||||
setBodyParameter("Mode", mode);
|
||||
}
|
||||
|
||||
std::string ContrastSmartVerifyRequest::getCertNo()const
|
||||
{
|
||||
return certNo_;
|
||||
}
|
||||
|
||||
void ContrastSmartVerifyRequest::setCertNo(const std::string& certNo)
|
||||
{
|
||||
certNo_ = certNo;
|
||||
setBodyParameter("CertNo", certNo);
|
||||
}
|
||||
|
||||
std::string ContrastSmartVerifyRequest::getOuterOrderNo()const
|
||||
{
|
||||
return outerOrderNo_;
|
||||
}
|
||||
|
||||
void ContrastSmartVerifyRequest::setOuterOrderNo(const std::string& outerOrderNo)
|
||||
{
|
||||
outerOrderNo_ = outerOrderNo;
|
||||
setBodyParameter("OuterOrderNo", outerOrderNo);
|
||||
}
|
||||
|
||||
std::string ContrastSmartVerifyRequest::getFacePicUrl()const
|
||||
{
|
||||
return facePicUrl_;
|
||||
}
|
||||
|
||||
void ContrastSmartVerifyRequest::setFacePicUrl(const std::string& facePicUrl)
|
||||
{
|
||||
facePicUrl_ = facePicUrl;
|
||||
setBodyParameter("FacePicUrl", facePicUrl);
|
||||
}
|
||||
|
||||
std::string ContrastSmartVerifyRequest::getCertType()const
|
||||
{
|
||||
return certType_;
|
||||
}
|
||||
|
||||
void ContrastSmartVerifyRequest::setCertType(const std::string& certType)
|
||||
{
|
||||
certType_ = certType;
|
||||
setBodyParameter("CertType", certType);
|
||||
}
|
||||
|
||||
long ContrastSmartVerifyRequest::getSceneId()const
|
||||
{
|
||||
return sceneId_;
|
||||
}
|
||||
|
||||
void ContrastSmartVerifyRequest::setSceneId(long sceneId)
|
||||
{
|
||||
sceneId_ = sceneId;
|
||||
setBodyParameter("SceneId", std::to_string(sceneId));
|
||||
}
|
||||
|
||||
74
cloudauth/src/model/ContrastSmartVerifyResult.cc
Normal file
74
cloudauth/src/model/ContrastSmartVerifyResult.cc
Normal file
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudauth/model/ContrastSmartVerifyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cloudauth;
|
||||
using namespace AlibabaCloud::Cloudauth::Model;
|
||||
|
||||
ContrastSmartVerifyResult::ContrastSmartVerifyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ContrastSmartVerifyResult::ContrastSmartVerifyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ContrastSmartVerifyResult::~ContrastSmartVerifyResult()
|
||||
{}
|
||||
|
||||
void ContrastSmartVerifyResult::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["CertifyId"].isNull())
|
||||
resultObject_.certifyId = resultObjectNode["CertifyId"].asString();
|
||||
if(!resultObjectNode["Passed"].isNull())
|
||||
resultObject_.passed = resultObjectNode["Passed"].asString();
|
||||
if(!resultObjectNode["SubCode"].isNull())
|
||||
resultObject_.subCode = resultObjectNode["SubCode"].asString();
|
||||
if(!resultObjectNode["VerifyInfo"].isNull())
|
||||
resultObject_.verifyInfo = resultObjectNode["VerifyInfo"].asString();
|
||||
if(!resultObjectNode["RiskInfo"].isNull())
|
||||
resultObject_.riskInfo = resultObjectNode["RiskInfo"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
|
||||
}
|
||||
|
||||
ContrastSmartVerifyResult::ResultObject ContrastSmartVerifyResult::getResultObject()const
|
||||
{
|
||||
return resultObject_;
|
||||
}
|
||||
|
||||
std::string ContrastSmartVerifyResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string ContrastSmartVerifyResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
95
cloudauth/src/model/CreateWhitelistRequest.cc
Normal file
95
cloudauth/src/model/CreateWhitelistRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/CreateWhitelistRequest.h>
|
||||
|
||||
using AlibabaCloud::Cloudauth::Model::CreateWhitelistRequest;
|
||||
|
||||
CreateWhitelistRequest::CreateWhitelistRequest() :
|
||||
RpcServiceRequest("cloudauth", "2019-03-07", "CreateWhitelist")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateWhitelistRequest::~CreateWhitelistRequest()
|
||||
{}
|
||||
|
||||
std::string CreateWhitelistRequest::getValidDay()const
|
||||
{
|
||||
return validDay_;
|
||||
}
|
||||
|
||||
void CreateWhitelistRequest::setValidDay(const std::string& validDay)
|
||||
{
|
||||
validDay_ = validDay;
|
||||
setParameter("ValidDay", validDay);
|
||||
}
|
||||
|
||||
std::string CreateWhitelistRequest::getBizType()const
|
||||
{
|
||||
return bizType_;
|
||||
}
|
||||
|
||||
void CreateWhitelistRequest::setBizType(const std::string& bizType)
|
||||
{
|
||||
bizType_ = bizType;
|
||||
setParameter("BizType", bizType);
|
||||
}
|
||||
|
||||
std::string CreateWhitelistRequest::getIdCardNum()const
|
||||
{
|
||||
return idCardNum_;
|
||||
}
|
||||
|
||||
void CreateWhitelistRequest::setIdCardNum(const std::string& idCardNum)
|
||||
{
|
||||
idCardNum_ = idCardNum;
|
||||
setParameter("IdCardNum", idCardNum);
|
||||
}
|
||||
|
||||
std::string CreateWhitelistRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void CreateWhitelistRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string CreateWhitelistRequest::getBizId()const
|
||||
{
|
||||
return bizId_;
|
||||
}
|
||||
|
||||
void CreateWhitelistRequest::setBizId(const std::string& bizId)
|
||||
{
|
||||
bizId_ = bizId;
|
||||
setParameter("BizId", bizId);
|
||||
}
|
||||
|
||||
std::string CreateWhitelistRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void CreateWhitelistRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/DropDedicatedHostUserResult.h>
|
||||
#include <alibabacloud/cloudauth/model/CreateWhitelistResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
using namespace AlibabaCloud::Cloudauth;
|
||||
using namespace AlibabaCloud::Cloudauth::Model;
|
||||
|
||||
DropDedicatedHostUserResult::DropDedicatedHostUserResult() :
|
||||
CreateWhitelistResult::CreateWhitelistResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DropDedicatedHostUserResult::DropDedicatedHostUserResult(const std::string &payload) :
|
||||
CreateWhitelistResult::CreateWhitelistResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DropDedicatedHostUserResult::~DropDedicatedHostUserResult()
|
||||
CreateWhitelistResult::~CreateWhitelistResult()
|
||||
{}
|
||||
|
||||
void DropDedicatedHostUserResult::parse(const std::string &payload)
|
||||
void CreateWhitelistResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
62
cloudauth/src/model/DeleteWhitelistRequest.cc
Normal file
62
cloudauth/src/model/DeleteWhitelistRequest.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/cloudauth/model/DeleteWhitelistRequest.h>
|
||||
|
||||
using AlibabaCloud::Cloudauth::Model::DeleteWhitelistRequest;
|
||||
|
||||
DeleteWhitelistRequest::DeleteWhitelistRequest() :
|
||||
RpcServiceRequest("cloudauth", "2019-03-07", "DeleteWhitelist")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteWhitelistRequest::~DeleteWhitelistRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteWhitelistRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DeleteWhitelistRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DeleteWhitelistRequest::getIds()const
|
||||
{
|
||||
return ids_;
|
||||
}
|
||||
|
||||
void DeleteWhitelistRequest::setIds(const std::string& ids)
|
||||
{
|
||||
ids_ = ids;
|
||||
setParameter("Ids", ids);
|
||||
}
|
||||
|
||||
std::string DeleteWhitelistRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DeleteWhitelistRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/ModifyDedicatedHostUserResult.h>
|
||||
#include <alibabacloud/cloudauth/model/DeleteWhitelistResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
using namespace AlibabaCloud::Cloudauth;
|
||||
using namespace AlibabaCloud::Cloudauth::Model;
|
||||
|
||||
ModifyDedicatedHostUserResult::ModifyDedicatedHostUserResult() :
|
||||
DeleteWhitelistResult::DeleteWhitelistResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyDedicatedHostUserResult::ModifyDedicatedHostUserResult(const std::string &payload) :
|
||||
DeleteWhitelistResult::DeleteWhitelistResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyDedicatedHostUserResult::~ModifyDedicatedHostUserResult()
|
||||
DeleteWhitelistResult::~DeleteWhitelistResult()
|
||||
{}
|
||||
|
||||
void ModifyDedicatedHostUserResult::parse(const std::string &payload)
|
||||
void DeleteWhitelistResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -27,17 +27,6 @@ DescribeFaceVerifyRequest::DescribeFaceVerifyRequest() :
|
||||
DescribeFaceVerifyRequest::~DescribeFaceVerifyRequest()
|
||||
{}
|
||||
|
||||
long DescribeFaceVerifyRequest::getSceneId()const
|
||||
{
|
||||
return sceneId_;
|
||||
}
|
||||
|
||||
void DescribeFaceVerifyRequest::setSceneId(long sceneId)
|
||||
{
|
||||
sceneId_ = sceneId;
|
||||
setParameter("SceneId", std::to_string(sceneId));
|
||||
}
|
||||
|
||||
std::string DescribeFaceVerifyRequest::getCertifyId()const
|
||||
{
|
||||
return certifyId_;
|
||||
@@ -49,3 +38,25 @@ void DescribeFaceVerifyRequest::setCertifyId(const std::string& certifyId)
|
||||
setParameter("CertifyId", certifyId);
|
||||
}
|
||||
|
||||
std::string DescribeFaceVerifyRequest::getPictureReturnType()const
|
||||
{
|
||||
return pictureReturnType_;
|
||||
}
|
||||
|
||||
void DescribeFaceVerifyRequest::setPictureReturnType(const std::string& pictureReturnType)
|
||||
{
|
||||
pictureReturnType_ = pictureReturnType;
|
||||
setParameter("PictureReturnType", pictureReturnType);
|
||||
}
|
||||
|
||||
long DescribeFaceVerifyRequest::getSceneId()const
|
||||
{
|
||||
return sceneId_;
|
||||
}
|
||||
|
||||
void DescribeFaceVerifyRequest::setSceneId(long sceneId)
|
||||
{
|
||||
sceneId_ = sceneId;
|
||||
setParameter("SceneId", std::to_string(sceneId));
|
||||
}
|
||||
|
||||
|
||||
@@ -27,17 +27,6 @@ DescribeSmartVerifyRequest::DescribeSmartVerifyRequest() :
|
||||
DescribeSmartVerifyRequest::~DescribeSmartVerifyRequest()
|
||||
{}
|
||||
|
||||
long DescribeSmartVerifyRequest::getSceneId()const
|
||||
{
|
||||
return sceneId_;
|
||||
}
|
||||
|
||||
void DescribeSmartVerifyRequest::setSceneId(long sceneId)
|
||||
{
|
||||
sceneId_ = sceneId;
|
||||
setBodyParameter("SceneId", std::to_string(sceneId));
|
||||
}
|
||||
|
||||
std::string DescribeSmartVerifyRequest::getCertifyId()const
|
||||
{
|
||||
return certifyId_;
|
||||
@@ -49,3 +38,25 @@ void DescribeSmartVerifyRequest::setCertifyId(const std::string& certifyId)
|
||||
setBodyParameter("CertifyId", certifyId);
|
||||
}
|
||||
|
||||
std::string DescribeSmartVerifyRequest::getPictureReturnType()const
|
||||
{
|
||||
return pictureReturnType_;
|
||||
}
|
||||
|
||||
void DescribeSmartVerifyRequest::setPictureReturnType(const std::string& pictureReturnType)
|
||||
{
|
||||
pictureReturnType_ = pictureReturnType;
|
||||
setBodyParameter("PictureReturnType", pictureReturnType);
|
||||
}
|
||||
|
||||
long DescribeSmartVerifyRequest::getSceneId()const
|
||||
{
|
||||
return sceneId_;
|
||||
}
|
||||
|
||||
void DescribeSmartVerifyRequest::setSceneId(long sceneId)
|
||||
{
|
||||
sceneId_ = sceneId;
|
||||
setBodyParameter("SceneId", std::to_string(sceneId));
|
||||
}
|
||||
|
||||
|
||||
139
cloudauth/src/model/DescribeWhitelistRequest.cc
Normal file
139
cloudauth/src/model/DescribeWhitelistRequest.cc
Normal file
@@ -0,0 +1,139 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeWhitelistRequest.h>
|
||||
|
||||
using AlibabaCloud::Cloudauth::Model::DescribeWhitelistRequest;
|
||||
|
||||
DescribeWhitelistRequest::DescribeWhitelistRequest() :
|
||||
RpcServiceRequest("cloudauth", "2019-03-07", "DescribeWhitelist")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeWhitelistRequest::~DescribeWhitelistRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeWhitelistRequest::getValidEndDate()const
|
||||
{
|
||||
return validEndDate_;
|
||||
}
|
||||
|
||||
void DescribeWhitelistRequest::setValidEndDate(const std::string& validEndDate)
|
||||
{
|
||||
validEndDate_ = validEndDate;
|
||||
setParameter("ValidEndDate", validEndDate);
|
||||
}
|
||||
|
||||
std::string DescribeWhitelistRequest::getValid()const
|
||||
{
|
||||
return valid_;
|
||||
}
|
||||
|
||||
void DescribeWhitelistRequest::setValid(const std::string& valid)
|
||||
{
|
||||
valid_ = valid;
|
||||
setParameter("Valid", valid);
|
||||
}
|
||||
|
||||
std::string DescribeWhitelistRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DescribeWhitelistRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeWhitelistRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeWhitelistRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeWhitelistRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeWhitelistRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
int DescribeWhitelistRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void DescribeWhitelistRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribeWhitelistRequest::getBizType()const
|
||||
{
|
||||
return bizType_;
|
||||
}
|
||||
|
||||
void DescribeWhitelistRequest::setBizType(const std::string& bizType)
|
||||
{
|
||||
bizType_ = bizType;
|
||||
setParameter("BizType", bizType);
|
||||
}
|
||||
|
||||
std::string DescribeWhitelistRequest::getIdCardNum()const
|
||||
{
|
||||
return idCardNum_;
|
||||
}
|
||||
|
||||
void DescribeWhitelistRequest::setIdCardNum(const std::string& idCardNum)
|
||||
{
|
||||
idCardNum_ = idCardNum;
|
||||
setParameter("IdCardNum", idCardNum);
|
||||
}
|
||||
|
||||
std::string DescribeWhitelistRequest::getBizId()const
|
||||
{
|
||||
return bizId_;
|
||||
}
|
||||
|
||||
void DescribeWhitelistRequest::setBizId(const std::string& bizId)
|
||||
{
|
||||
bizId_ = bizId;
|
||||
setParameter("BizId", bizId);
|
||||
}
|
||||
|
||||
std::string DescribeWhitelistRequest::getValidStartDate()const
|
||||
{
|
||||
return validStartDate_;
|
||||
}
|
||||
|
||||
void DescribeWhitelistRequest::setValidStartDate(const std::string& validStartDate)
|
||||
{
|
||||
validStartDate_ = validStartDate;
|
||||
setParameter("ValidStartDate", validStartDate);
|
||||
}
|
||||
|
||||
96
cloudauth/src/model/DescribeWhitelistResult.cc
Normal file
96
cloudauth/src/model/DescribeWhitelistResult.cc
Normal file
@@ -0,0 +1,96 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeWhitelistResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cloudauth;
|
||||
using namespace AlibabaCloud::Cloudauth::Model;
|
||||
|
||||
DescribeWhitelistResult::DescribeWhitelistResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeWhitelistResult::DescribeWhitelistResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeWhitelistResult::~DescribeWhitelistResult()
|
||||
{}
|
||||
|
||||
void DescribeWhitelistResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["Item"];
|
||||
for (auto valueItemsItem : allItemsNode)
|
||||
{
|
||||
Item itemsObject;
|
||||
if(!valueItemsItem["Id"].isNull())
|
||||
itemsObject.id = std::stol(valueItemsItem["Id"].asString());
|
||||
if(!valueItemsItem["Uid"].isNull())
|
||||
itemsObject.uid = std::stol(valueItemsItem["Uid"].asString());
|
||||
if(!valueItemsItem["BizType"].isNull())
|
||||
itemsObject.bizType = valueItemsItem["BizType"].asString();
|
||||
if(!valueItemsItem["StartDate"].isNull())
|
||||
itemsObject.startDate = std::stol(valueItemsItem["StartDate"].asString());
|
||||
if(!valueItemsItem["EndDate"].isNull())
|
||||
itemsObject.endDate = std::stol(valueItemsItem["EndDate"].asString());
|
||||
if(!valueItemsItem["IdCardNum"].isNull())
|
||||
itemsObject.idCardNum = valueItemsItem["IdCardNum"].asString();
|
||||
if(!valueItemsItem["BizId"].isNull())
|
||||
itemsObject.bizId = valueItemsItem["BizId"].asString();
|
||||
if(!valueItemsItem["Valid"].isNull())
|
||||
itemsObject.valid = std::stoi(valueItemsItem["Valid"].asString());
|
||||
if(!valueItemsItem["GmtCreate"].isNull())
|
||||
itemsObject.gmtCreate = std::stol(valueItemsItem["GmtCreate"].asString());
|
||||
if(!valueItemsItem["GmtModified"].isNull())
|
||||
itemsObject.gmtModified = std::stol(valueItemsItem["GmtModified"].asString());
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["CurrentPage"].isNull())
|
||||
currentPage_ = std::stoi(value["CurrentPage"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeWhitelistResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
int DescribeWhitelistResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeWhitelistResult::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
std::vector<DescribeWhitelistResult::Item> DescribeWhitelistResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
@@ -60,6 +60,17 @@ void VerifyDeviceRequest::setAppVersion(const std::string& appVersion)
|
||||
setParameter("AppVersion", appVersion);
|
||||
}
|
||||
|
||||
std::string VerifyDeviceRequest::getDeviceToken()const
|
||||
{
|
||||
return deviceToken_;
|
||||
}
|
||||
|
||||
void VerifyDeviceRequest::setDeviceToken(const std::string& deviceToken)
|
||||
{
|
||||
deviceToken_ = deviceToken;
|
||||
setBodyParameter("DeviceToken", deviceToken);
|
||||
}
|
||||
|
||||
std::string VerifyDeviceRequest::getCertifyId()const
|
||||
{
|
||||
return certifyId_;
|
||||
|
||||
@@ -143,6 +143,8 @@ namespace AlibabaCloud
|
||||
void setEnableVmOsConfig(bool enableVmOsConfig);
|
||||
std::vector<NetworkInterface> getNetworkInterface()const;
|
||||
void setNetworkInterface(const std::vector<NetworkInterface>& networkInterface);
|
||||
std::string getDeploymentSetId()const;
|
||||
void setDeploymentSetId(const std::string& deploymentSetId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
@@ -205,6 +207,7 @@ namespace AlibabaCloud
|
||||
std::string instanceChargeType_;
|
||||
bool enableVmOsConfig_;
|
||||
std::vector<NetworkInterface> networkInterface_;
|
||||
std::string deploymentSetId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string systemDiskDiskName_;
|
||||
|
||||
@@ -136,6 +136,8 @@ namespace AlibabaCloud
|
||||
void setEnableVmOsConfig(bool enableVmOsConfig);
|
||||
std::vector<NetworkInterface> getNetworkInterface()const;
|
||||
void setNetworkInterface(const std::vector<NetworkInterface>& networkInterface);
|
||||
std::string getDeploymentSetId()const;
|
||||
void setDeploymentSetId(const std::string& deploymentSetId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
@@ -197,6 +199,7 @@ namespace AlibabaCloud
|
||||
std::string instanceChargeType_;
|
||||
bool enableVmOsConfig_;
|
||||
std::vector<NetworkInterface> networkInterface_;
|
||||
std::string deploymentSetId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string systemDiskDiskName_;
|
||||
|
||||
@@ -42,6 +42,12 @@ namespace AlibabaCloud
|
||||
int availableDisk;
|
||||
std::string dataDiskCategory;
|
||||
};
|
||||
struct AvailableInstanceType
|
||||
{
|
||||
int availableInstanceCapacity;
|
||||
std::string instanceType;
|
||||
};
|
||||
std::vector<AvailableInstanceType> availableInstanceTypes;
|
||||
int totalMemory;
|
||||
int availableMemory;
|
||||
int availableVcpus;
|
||||
|
||||
@@ -59,6 +59,8 @@ namespace AlibabaCloud
|
||||
void setDedicatedHostType(const std::string& dedicatedHostType);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
std::string getNeedHostDetail()const;
|
||||
void setNeedHostDetail(const std::string& needHostDetail);
|
||||
std::string getDedicatedHostName()const;
|
||||
void setDedicatedHostName(const std::string& dedicatedHostName);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
@@ -82,6 +84,7 @@ namespace AlibabaCloud
|
||||
int pageSize_;
|
||||
std::string dedicatedHostType_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string needHostDetail_;
|
||||
std::string dedicatedHostName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -51,6 +51,10 @@ namespace AlibabaCloud
|
||||
int udpTimeout;
|
||||
int slbUdpTimeout;
|
||||
};
|
||||
struct HostDetailInfo
|
||||
{
|
||||
std::string serialNumber;
|
||||
};
|
||||
struct Instance
|
||||
{
|
||||
std::string instanceId;
|
||||
@@ -79,6 +83,7 @@ namespace AlibabaCloud
|
||||
float cpuOverCommitRatio;
|
||||
std::string saleCycle;
|
||||
std::vector<DedicatedHost::Tag> tags;
|
||||
HostDetailInfo hostDetailInfo;
|
||||
std::string status;
|
||||
std::string zoneId;
|
||||
std::string autoPlacement;
|
||||
|
||||
@@ -94,6 +94,7 @@ namespace AlibabaCloud
|
||||
std::string systemDiskCategory;
|
||||
std::string internetChargeType;
|
||||
std::string instanceName;
|
||||
std::string deploymentSetId;
|
||||
bool systemDiskDeleteWithInstance;
|
||||
int internetMaxBandwidthOut;
|
||||
bool enableVmOsConfig;
|
||||
|
||||
@@ -30,6 +30,15 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT ModifyAutoProvisioningGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct LaunchTemplateConfig
|
||||
{
|
||||
std::string instanceType;
|
||||
double maxPrice;
|
||||
std::string vSwitchId;
|
||||
double weightedCapacity;
|
||||
int priority;
|
||||
};
|
||||
|
||||
public:
|
||||
ModifyAutoProvisioningGroupRequest();
|
||||
@@ -45,6 +54,8 @@ namespace AlibabaCloud
|
||||
void setDefaultTargetCapacityType(const std::string& defaultTargetCapacityType);
|
||||
std::string getExcessCapacityTerminationPolicy()const;
|
||||
void setExcessCapacityTerminationPolicy(const std::string& excessCapacityTerminationPolicy);
|
||||
std::vector<LaunchTemplateConfig> getLaunchTemplateConfig()const;
|
||||
void setLaunchTemplateConfig(const std::vector<LaunchTemplateConfig>& launchTemplateConfig);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
@@ -70,6 +81,7 @@ namespace AlibabaCloud
|
||||
std::string regionId_;
|
||||
std::string defaultTargetCapacityType_;
|
||||
std::string excessCapacityTerminationPolicy_;
|
||||
std::vector<LaunchTemplateConfig> launchTemplateConfig_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -466,6 +466,17 @@ void CreateLaunchTemplateRequest::setNetworkInterface(const std::vector<NetworkI
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getDeploymentSetId()const
|
||||
{
|
||||
return deploymentSetId_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateRequest::setDeploymentSetId(const std::string& deploymentSetId)
|
||||
{
|
||||
deploymentSetId_ = deploymentSetId;
|
||||
setParameter("DeploymentSetId", deploymentSetId);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
|
||||
@@ -450,6 +450,17 @@ void CreateLaunchTemplateVersionRequest::setNetworkInterface(const std::vector<N
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateVersionRequest::getDeploymentSetId()const
|
||||
{
|
||||
return deploymentSetId_;
|
||||
}
|
||||
|
||||
void CreateLaunchTemplateVersionRequest::setDeploymentSetId(const std::string& deploymentSetId)
|
||||
{
|
||||
deploymentSetId_ = deploymentSetId;
|
||||
setParameter("DeploymentSetId", deploymentSetId);
|
||||
}
|
||||
|
||||
std::string CreateLaunchTemplateVersionRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
|
||||
@@ -86,6 +86,16 @@ void DescribeDedicatedHostClustersResult::parse(const std::string &payload)
|
||||
localStorageCapacityObject.dataDiskCategory = dedicatedHostClusterCapacityNodeLocalStorageCapacitiesLocalStorageCapacity["DataDiskCategory"].asString();
|
||||
dedicatedHostClustersObject.dedicatedHostClusterCapacity.localStorageCapacities.push_back(localStorageCapacityObject);
|
||||
}
|
||||
auto allAvailableInstanceTypesNode = dedicatedHostClusterCapacityNode["AvailableInstanceTypes"]["AvailableInstanceType"];
|
||||
for (auto dedicatedHostClusterCapacityNodeAvailableInstanceTypesAvailableInstanceType : allAvailableInstanceTypesNode)
|
||||
{
|
||||
DedicatedHostCluster::DedicatedHostClusterCapacity::AvailableInstanceType availableInstanceTypeObject;
|
||||
if(!dedicatedHostClusterCapacityNodeAvailableInstanceTypesAvailableInstanceType["InstanceType"].isNull())
|
||||
availableInstanceTypeObject.instanceType = dedicatedHostClusterCapacityNodeAvailableInstanceTypesAvailableInstanceType["InstanceType"].asString();
|
||||
if(!dedicatedHostClusterCapacityNodeAvailableInstanceTypesAvailableInstanceType["AvailableInstanceCapacity"].isNull())
|
||||
availableInstanceTypeObject.availableInstanceCapacity = std::stoi(dedicatedHostClusterCapacityNodeAvailableInstanceTypesAvailableInstanceType["AvailableInstanceCapacity"].asString());
|
||||
dedicatedHostClustersObject.dedicatedHostClusterCapacity.availableInstanceTypes.push_back(availableInstanceTypeObject);
|
||||
}
|
||||
auto allDedicatedHostIds = value["DedicatedHostIds"]["DedicatedHostId"];
|
||||
for (auto value : allDedicatedHostIds)
|
||||
dedicatedHostClustersObject.dedicatedHostIds.push_back(value.asString());
|
||||
|
||||
@@ -131,6 +131,17 @@ void DescribeDedicatedHostsRequest::setTag(const std::vector<Tag>& tag)
|
||||
}
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostsRequest::getNeedHostDetail()const
|
||||
{
|
||||
return needHostDetail_;
|
||||
}
|
||||
|
||||
void DescribeDedicatedHostsRequest::setNeedHostDetail(const std::string& needHostDetail)
|
||||
{
|
||||
needHostDetail_ = needHostDetail;
|
||||
setParameter("NeedHostDetail", needHostDetail);
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostsRequest::getDedicatedHostName()const
|
||||
{
|
||||
return dedicatedHostName_;
|
||||
|
||||
@@ -139,6 +139,9 @@ void DescribeDedicatedHostsResult::parse(const std::string &payload)
|
||||
dedicatedHostsObject.networkAttributes.slbUdpTimeout = std::stoi(networkAttributesNode["SlbUdpTimeout"].asString());
|
||||
if(!networkAttributesNode["UdpTimeout"].isNull())
|
||||
dedicatedHostsObject.networkAttributes.udpTimeout = std::stoi(networkAttributesNode["UdpTimeout"].asString());
|
||||
auto hostDetailInfoNode = value["HostDetailInfo"];
|
||||
if(!hostDetailInfoNode["SerialNumber"].isNull())
|
||||
dedicatedHostsObject.hostDetailInfo.serialNumber = hostDetailInfoNode["SerialNumber"].asString();
|
||||
auto allSupportedInstanceTypeFamilies = value["SupportedInstanceTypeFamilies"]["SupportedInstanceTypeFamily"];
|
||||
for (auto value : allSupportedInstanceTypeFamilies)
|
||||
dedicatedHostsObject.supportedInstanceTypeFamilies.push_back(value.asString());
|
||||
|
||||
@@ -132,6 +132,8 @@ void DescribeLaunchTemplateVersionsResult::parse(const std::string &payload)
|
||||
launchTemplateVersionSetsObject.launchTemplateData.securityEnhancementStrategy = launchTemplateDataNode["SecurityEnhancementStrategy"].asString();
|
||||
if(!launchTemplateDataNode["PrivateIpAddress"].isNull())
|
||||
launchTemplateVersionSetsObject.launchTemplateData.privateIpAddress = launchTemplateDataNode["PrivateIpAddress"].asString();
|
||||
if(!launchTemplateDataNode["DeploymentSetId"].isNull())
|
||||
launchTemplateVersionSetsObject.launchTemplateData.deploymentSetId = launchTemplateDataNode["DeploymentSetId"].asString();
|
||||
auto allDataDisksNode = launchTemplateDataNode["DataDisks"]["DataDisk"];
|
||||
for (auto launchTemplateDataNodeDataDisksDataDisk : allDataDisksNode)
|
||||
{
|
||||
|
||||
@@ -82,6 +82,25 @@ void ModifyAutoProvisioningGroupRequest::setExcessCapacityTerminationPolicy(cons
|
||||
setParameter("ExcessCapacityTerminationPolicy", excessCapacityTerminationPolicy);
|
||||
}
|
||||
|
||||
std::vector<ModifyAutoProvisioningGroupRequest::LaunchTemplateConfig> ModifyAutoProvisioningGroupRequest::getLaunchTemplateConfig()const
|
||||
{
|
||||
return launchTemplateConfig_;
|
||||
}
|
||||
|
||||
void ModifyAutoProvisioningGroupRequest::setLaunchTemplateConfig(const std::vector<LaunchTemplateConfig>& launchTemplateConfig)
|
||||
{
|
||||
launchTemplateConfig_ = launchTemplateConfig;
|
||||
for(int dep1 = 0; dep1!= launchTemplateConfig.size(); dep1++) {
|
||||
auto launchTemplateConfigObj = launchTemplateConfig.at(dep1);
|
||||
std::string launchTemplateConfigObjStr = "LaunchTemplateConfig." + std::to_string(dep1 + 1);
|
||||
setParameter(launchTemplateConfigObjStr + ".InstanceType", launchTemplateConfigObj.instanceType);
|
||||
setParameter(launchTemplateConfigObjStr + ".MaxPrice", std::to_string(launchTemplateConfigObj.maxPrice));
|
||||
setParameter(launchTemplateConfigObjStr + ".VSwitchId", launchTemplateConfigObj.vSwitchId);
|
||||
setParameter(launchTemplateConfigObjStr + ".WeightedCapacity", std::to_string(launchTemplateConfigObj.weightedCapacity));
|
||||
setParameter(launchTemplateConfigObjStr + ".Priority", std::to_string(launchTemplateConfigObj.priority));
|
||||
}
|
||||
}
|
||||
|
||||
std::string ModifyAutoProvisioningGroupRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
|
||||
@@ -125,10 +125,18 @@ set(polardb_public_header_model
|
||||
include/alibabacloud/polardb/model/DescribePendingMaintenanceActionsResult.h
|
||||
include/alibabacloud/polardb/model/DescribeRegionsRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeRegionsResult.h
|
||||
include/alibabacloud/polardb/model/DescribeSQLExplorerPolicyRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeSQLExplorerPolicyResult.h
|
||||
include/alibabacloud/polardb/model/DescribeSQLExplorerRetentionRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeSQLExplorerRetentionResult.h
|
||||
include/alibabacloud/polardb/model/DescribeSQLExplorerVersionRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeSQLExplorerVersionResult.h
|
||||
include/alibabacloud/polardb/model/DescribeScheduleTasksRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeScheduleTasksResult.h
|
||||
include/alibabacloud/polardb/model/DescribeSlowLogRecordsRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeSlowLogRecordsResult.h
|
||||
include/alibabacloud/polardb/model/DescribeSqlLogTrialStatusRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeSqlLogTrialStatusResult.h
|
||||
include/alibabacloud/polardb/model/DescribeTasksRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeTasksResult.h
|
||||
include/alibabacloud/polardb/model/FailoverDBClusterRequest.h
|
||||
@@ -190,7 +198,9 @@ set(polardb_public_header_model
|
||||
include/alibabacloud/polardb/model/UntagResourcesRequest.h
|
||||
include/alibabacloud/polardb/model/UntagResourcesResult.h
|
||||
include/alibabacloud/polardb/model/UpgradeDBClusterMinorVersionRequest.h
|
||||
include/alibabacloud/polardb/model/UpgradeDBClusterMinorVersionResult.h )
|
||||
include/alibabacloud/polardb/model/UpgradeDBClusterMinorVersionResult.h
|
||||
include/alibabacloud/polardb/model/UpgradeDBClusterVersionRequest.h
|
||||
include/alibabacloud/polardb/model/UpgradeDBClusterVersionResult.h )
|
||||
|
||||
set(polardb_src
|
||||
src/PolardbClient.cc
|
||||
@@ -298,10 +308,18 @@ set(polardb_src
|
||||
src/model/DescribePendingMaintenanceActionsResult.cc
|
||||
src/model/DescribeRegionsRequest.cc
|
||||
src/model/DescribeRegionsResult.cc
|
||||
src/model/DescribeSQLExplorerPolicyRequest.cc
|
||||
src/model/DescribeSQLExplorerPolicyResult.cc
|
||||
src/model/DescribeSQLExplorerRetentionRequest.cc
|
||||
src/model/DescribeSQLExplorerRetentionResult.cc
|
||||
src/model/DescribeSQLExplorerVersionRequest.cc
|
||||
src/model/DescribeSQLExplorerVersionResult.cc
|
||||
src/model/DescribeScheduleTasksRequest.cc
|
||||
src/model/DescribeScheduleTasksResult.cc
|
||||
src/model/DescribeSlowLogRecordsRequest.cc
|
||||
src/model/DescribeSlowLogRecordsResult.cc
|
||||
src/model/DescribeSqlLogTrialStatusRequest.cc
|
||||
src/model/DescribeSqlLogTrialStatusResult.cc
|
||||
src/model/DescribeTasksRequest.cc
|
||||
src/model/DescribeTasksResult.cc
|
||||
src/model/FailoverDBClusterRequest.cc
|
||||
@@ -363,7 +381,9 @@ set(polardb_src
|
||||
src/model/UntagResourcesRequest.cc
|
||||
src/model/UntagResourcesResult.cc
|
||||
src/model/UpgradeDBClusterMinorVersionRequest.cc
|
||||
src/model/UpgradeDBClusterMinorVersionResult.cc )
|
||||
src/model/UpgradeDBClusterMinorVersionResult.cc
|
||||
src/model/UpgradeDBClusterVersionRequest.cc
|
||||
src/model/UpgradeDBClusterVersionResult.cc )
|
||||
|
||||
add_library(polardb ${LIB_TYPE}
|
||||
${polardb_public_header}
|
||||
|
||||
@@ -126,10 +126,18 @@
|
||||
#include "model/DescribePendingMaintenanceActionsResult.h"
|
||||
#include "model/DescribeRegionsRequest.h"
|
||||
#include "model/DescribeRegionsResult.h"
|
||||
#include "model/DescribeSQLExplorerPolicyRequest.h"
|
||||
#include "model/DescribeSQLExplorerPolicyResult.h"
|
||||
#include "model/DescribeSQLExplorerRetentionRequest.h"
|
||||
#include "model/DescribeSQLExplorerRetentionResult.h"
|
||||
#include "model/DescribeSQLExplorerVersionRequest.h"
|
||||
#include "model/DescribeSQLExplorerVersionResult.h"
|
||||
#include "model/DescribeScheduleTasksRequest.h"
|
||||
#include "model/DescribeScheduleTasksResult.h"
|
||||
#include "model/DescribeSlowLogRecordsRequest.h"
|
||||
#include "model/DescribeSlowLogRecordsResult.h"
|
||||
#include "model/DescribeSqlLogTrialStatusRequest.h"
|
||||
#include "model/DescribeSqlLogTrialStatusResult.h"
|
||||
#include "model/DescribeTasksRequest.h"
|
||||
#include "model/DescribeTasksResult.h"
|
||||
#include "model/FailoverDBClusterRequest.h"
|
||||
@@ -192,6 +200,8 @@
|
||||
#include "model/UntagResourcesResult.h"
|
||||
#include "model/UpgradeDBClusterMinorVersionRequest.h"
|
||||
#include "model/UpgradeDBClusterMinorVersionResult.h"
|
||||
#include "model/UpgradeDBClusterVersionRequest.h"
|
||||
#include "model/UpgradeDBClusterVersionResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -357,12 +367,24 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome;
|
||||
typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSQLExplorerPolicyResult> DescribeSQLExplorerPolicyOutcome;
|
||||
typedef std::future<DescribeSQLExplorerPolicyOutcome> DescribeSQLExplorerPolicyOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeSQLExplorerPolicyRequest&, const DescribeSQLExplorerPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSQLExplorerPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSQLExplorerRetentionResult> DescribeSQLExplorerRetentionOutcome;
|
||||
typedef std::future<DescribeSQLExplorerRetentionOutcome> DescribeSQLExplorerRetentionOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeSQLExplorerRetentionRequest&, const DescribeSQLExplorerRetentionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSQLExplorerRetentionAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSQLExplorerVersionResult> DescribeSQLExplorerVersionOutcome;
|
||||
typedef std::future<DescribeSQLExplorerVersionOutcome> DescribeSQLExplorerVersionOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeSQLExplorerVersionRequest&, const DescribeSQLExplorerVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSQLExplorerVersionAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeScheduleTasksResult> DescribeScheduleTasksOutcome;
|
||||
typedef std::future<DescribeScheduleTasksOutcome> DescribeScheduleTasksOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeScheduleTasksRequest&, const DescribeScheduleTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeScheduleTasksAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSlowLogRecordsResult> DescribeSlowLogRecordsOutcome;
|
||||
typedef std::future<DescribeSlowLogRecordsOutcome> DescribeSlowLogRecordsOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeSlowLogRecordsRequest&, const DescribeSlowLogRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSlowLogRecordsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSqlLogTrialStatusResult> DescribeSqlLogTrialStatusOutcome;
|
||||
typedef std::future<DescribeSqlLogTrialStatusOutcome> DescribeSqlLogTrialStatusOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeSqlLogTrialStatusRequest&, const DescribeSqlLogTrialStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSqlLogTrialStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeTasksResult> DescribeTasksOutcome;
|
||||
typedef std::future<DescribeTasksOutcome> DescribeTasksOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeTasksRequest&, const DescribeTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTasksAsyncHandler;
|
||||
@@ -456,6 +478,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpgradeDBClusterMinorVersionResult> UpgradeDBClusterMinorVersionOutcome;
|
||||
typedef std::future<UpgradeDBClusterMinorVersionOutcome> UpgradeDBClusterMinorVersionOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::UpgradeDBClusterMinorVersionRequest&, const UpgradeDBClusterMinorVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeDBClusterMinorVersionAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpgradeDBClusterVersionResult> UpgradeDBClusterVersionOutcome;
|
||||
typedef std::future<UpgradeDBClusterVersionOutcome> UpgradeDBClusterVersionOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::UpgradeDBClusterVersionRequest&, const UpgradeDBClusterVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeDBClusterVersionAsyncHandler;
|
||||
|
||||
PolardbClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
PolardbClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
@@ -617,12 +642,24 @@ namespace AlibabaCloud
|
||||
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;
|
||||
DescribeSQLExplorerPolicyOutcome describeSQLExplorerPolicy(const Model::DescribeSQLExplorerPolicyRequest &request)const;
|
||||
void describeSQLExplorerPolicyAsync(const Model::DescribeSQLExplorerPolicyRequest& request, const DescribeSQLExplorerPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSQLExplorerPolicyOutcomeCallable describeSQLExplorerPolicyCallable(const Model::DescribeSQLExplorerPolicyRequest& request) const;
|
||||
DescribeSQLExplorerRetentionOutcome describeSQLExplorerRetention(const Model::DescribeSQLExplorerRetentionRequest &request)const;
|
||||
void describeSQLExplorerRetentionAsync(const Model::DescribeSQLExplorerRetentionRequest& request, const DescribeSQLExplorerRetentionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSQLExplorerRetentionOutcomeCallable describeSQLExplorerRetentionCallable(const Model::DescribeSQLExplorerRetentionRequest& request) const;
|
||||
DescribeSQLExplorerVersionOutcome describeSQLExplorerVersion(const Model::DescribeSQLExplorerVersionRequest &request)const;
|
||||
void describeSQLExplorerVersionAsync(const Model::DescribeSQLExplorerVersionRequest& request, const DescribeSQLExplorerVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSQLExplorerVersionOutcomeCallable describeSQLExplorerVersionCallable(const Model::DescribeSQLExplorerVersionRequest& request) const;
|
||||
DescribeScheduleTasksOutcome describeScheduleTasks(const Model::DescribeScheduleTasksRequest &request)const;
|
||||
void describeScheduleTasksAsync(const Model::DescribeScheduleTasksRequest& request, const DescribeScheduleTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeScheduleTasksOutcomeCallable describeScheduleTasksCallable(const Model::DescribeScheduleTasksRequest& request) const;
|
||||
DescribeSlowLogRecordsOutcome describeSlowLogRecords(const Model::DescribeSlowLogRecordsRequest &request)const;
|
||||
void describeSlowLogRecordsAsync(const Model::DescribeSlowLogRecordsRequest& request, const DescribeSlowLogRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSlowLogRecordsOutcomeCallable describeSlowLogRecordsCallable(const Model::DescribeSlowLogRecordsRequest& request) const;
|
||||
DescribeSqlLogTrialStatusOutcome describeSqlLogTrialStatus(const Model::DescribeSqlLogTrialStatusRequest &request)const;
|
||||
void describeSqlLogTrialStatusAsync(const Model::DescribeSqlLogTrialStatusRequest& request, const DescribeSqlLogTrialStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSqlLogTrialStatusOutcomeCallable describeSqlLogTrialStatusCallable(const Model::DescribeSqlLogTrialStatusRequest& request) const;
|
||||
DescribeTasksOutcome describeTasks(const Model::DescribeTasksRequest &request)const;
|
||||
void describeTasksAsync(const Model::DescribeTasksRequest& request, const DescribeTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTasksOutcomeCallable describeTasksCallable(const Model::DescribeTasksRequest& request) const;
|
||||
@@ -716,6 +753,9 @@ namespace AlibabaCloud
|
||||
UpgradeDBClusterMinorVersionOutcome upgradeDBClusterMinorVersion(const Model::UpgradeDBClusterMinorVersionRequest &request)const;
|
||||
void upgradeDBClusterMinorVersionAsync(const Model::UpgradeDBClusterMinorVersionRequest& request, const UpgradeDBClusterMinorVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpgradeDBClusterMinorVersionOutcomeCallable upgradeDBClusterMinorVersionCallable(const Model::UpgradeDBClusterMinorVersionRequest& request) const;
|
||||
UpgradeDBClusterVersionOutcome upgradeDBClusterVersion(const Model::UpgradeDBClusterVersionRequest &request)const;
|
||||
void upgradeDBClusterVersionAsync(const Model::UpgradeDBClusterVersionRequest& request, const UpgradeDBClusterVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpgradeDBClusterVersionOutcomeCallable upgradeDBClusterVersionCallable(const Model::UpgradeDBClusterVersionRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -59,6 +59,8 @@ namespace AlibabaCloud
|
||||
void setVSwitchId(const std::string& vSwitchId);
|
||||
std::string getSecurityIPList()const;
|
||||
void setSecurityIPList(const std::string& securityIPList);
|
||||
std::string getDBMinorVersion()const;
|
||||
void setDBMinorVersion(const std::string& dBMinorVersion);
|
||||
bool getAutoRenew()const;
|
||||
void setAutoRenew(bool autoRenew);
|
||||
std::string getZoneId()const;
|
||||
@@ -109,6 +111,7 @@ namespace AlibabaCloud
|
||||
long ownerId_;
|
||||
std::string vSwitchId_;
|
||||
std::string securityIPList_;
|
||||
std::string dBMinorVersion_;
|
||||
bool autoRenew_;
|
||||
std::string zoneId_;
|
||||
bool tDEStatus_;
|
||||
|
||||
@@ -77,6 +77,7 @@ namespace AlibabaCloud
|
||||
std::string getPayType()const;
|
||||
std::string getLockMode()const;
|
||||
long getStorageUsed()const;
|
||||
std::string getDBVersionStatus()const;
|
||||
std::string getCreationTime()const;
|
||||
std::string getRegionId()const;
|
||||
long getSQLSize()const;
|
||||
@@ -108,6 +109,7 @@ namespace AlibabaCloud
|
||||
std::string payType_;
|
||||
std::string lockMode_;
|
||||
long storageUsed_;
|
||||
std::string dBVersionStatus_;
|
||||
std::string creationTime_;
|
||||
std::string regionId_;
|
||||
long sQLSize_;
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
@@ -53,6 +55,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
|
||||
@@ -14,47 +14,50 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEAVAILABLEDEDICATEDHOSTZONESREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEAVAILABLEDEDICATEDHOSTZONESREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DescribeAvailableDedicatedHostZonesRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeSQLExplorerPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAvailableDedicatedHostZonesRequest();
|
||||
~DescribeAvailableDedicatedHostZonesRequest();
|
||||
DescribeSQLExplorerPolicyRequest();
|
||||
~DescribeSQLExplorerPolicyRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEAVAILABLEDEDICATEDHOSTZONESREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERPOLICYREQUEST_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_POLARDB_MODEL_DESCRIBESQLEXPLORERPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeSQLExplorerPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeSQLExplorerPolicyResult();
|
||||
explicit DescribeSQLExplorerPolicyResult(const std::string &payload);
|
||||
~DescribeSQLExplorerPolicyResult();
|
||||
std::string getSQLCollectorStatus()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string sQLCollectorStatus_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERPOLICYRESULT_H_
|
||||
@@ -14,56 +14,56 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_CREATEDEDICATEDHOSTACCOUNTREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_CREATEDEDICATEDHOSTACCOUNTREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERRETENTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERRETENTIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT CreateDedicatedHostAccountRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeSQLExplorerRetentionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDedicatedHostAccountRequest();
|
||||
~CreateDedicatedHostAccountRequest();
|
||||
DescribeSQLExplorerRetentionRequest();
|
||||
~DescribeSQLExplorerRetentionRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountName()const;
|
||||
void setAccountName(const std::string& accountName);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDedicatedHostId()const;
|
||||
void setDedicatedHostId(const std::string& dedicatedHostId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccountPassword()const;
|
||||
void setAccountPassword(const std::string& accountPassword);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountName_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dedicatedHostId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string accountPassword_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEDEDICATEDHOSTACCOUNTREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERRETENTIONREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERRETENTIONRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERRETENTIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeSQLExplorerRetentionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeSQLExplorerRetentionResult();
|
||||
explicit DescribeSQLExplorerRetentionResult(const std::string &payload);
|
||||
~DescribeSQLExplorerRetentionResult();
|
||||
std::string getConfigValue()const;
|
||||
int getDBInstanceID()const;
|
||||
std::string getDBInstanceName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string configValue_;
|
||||
int dBInstanceID_;
|
||||
std::string dBInstanceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERRETENTIONRESULT_H_
|
||||
@@ -14,50 +14,53 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_DELETEDEDICATEDHOSTGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DELETEDEDICATEDHOSTGROUPREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERVERSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERVERSIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DeleteDedicatedHostGroupRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeSQLExplorerVersionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteDedicatedHostGroupRequest();
|
||||
~DeleteDedicatedHostGroupRequest();
|
||||
DescribeSQLExplorerVersionRequest();
|
||||
~DescribeSQLExplorerVersionRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDedicatedHostGroupId()const;
|
||||
void setDedicatedHostGroupId(const std::string& dedicatedHostGroupId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string dedicatedHostGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string dBInstanceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DELETEDEDICATEDHOSTGROUPREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERVERSIONREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERVERSIONRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERVERSIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeSQLExplorerVersionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeSQLExplorerVersionResult();
|
||||
explicit DescribeSQLExplorerVersionResult(const std::string &payload);
|
||||
~DescribeSQLExplorerVersionResult();
|
||||
std::string getConfigValue()const;
|
||||
int getDBInstanceID()const;
|
||||
std::string getDBInstanceName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string configValue_;
|
||||
int dBInstanceID_;
|
||||
std::string dBInstanceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERVERSIONRESULT_H_
|
||||
@@ -37,10 +37,14 @@ namespace AlibabaCloud
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
@@ -49,17 +53,22 @@ namespace AlibabaCloud
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTaskAction()const;
|
||||
void setTaskAction(const std::string& taskAction);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string taskAction_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
|
||||
@@ -32,26 +32,27 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeScheduleTasksResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Items
|
||||
struct Data
|
||||
{
|
||||
int maxRetryTime;
|
||||
std::string status;
|
||||
std::string action;
|
||||
std::string args;
|
||||
long plannedTime;
|
||||
std::string taskId;
|
||||
std::string productCode;
|
||||
long gmtModified;
|
||||
std::string dBClusterId;
|
||||
long plannedStartTime;
|
||||
std::string mutex;
|
||||
std::string orderId;
|
||||
std::string response;
|
||||
long gmtCreate;
|
||||
int type;
|
||||
std::string region;
|
||||
int retryTime;
|
||||
long plannedEndTime;
|
||||
struct TimerInfosItem
|
||||
{
|
||||
std::string status;
|
||||
long gmtCreate;
|
||||
std::string action;
|
||||
std::string taskId;
|
||||
std::string plannedTime;
|
||||
std::string plannedStartTime;
|
||||
std::string dBClusterId;
|
||||
long gmtModified;
|
||||
std::string region;
|
||||
std::string orderId;
|
||||
std::string plannedEndTime;
|
||||
int aliUid;
|
||||
};
|
||||
std::vector<TimerInfosItem> timerInfos;
|
||||
int totalRecordCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
};
|
||||
|
||||
|
||||
@@ -59,8 +60,7 @@ namespace AlibabaCloud
|
||||
explicit DescribeScheduleTasksResult(const std::string &payload);
|
||||
~DescribeScheduleTasksResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<Items> getData()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
@@ -68,8 +68,7 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<Items> data_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
|
||||
@@ -14,53 +14,53 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_DROPDEDICATEDHOSTUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DROPDEDICATEDHOSTUSERREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLLOGTRIALSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLLOGTRIALSTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DropDedicatedHostUserRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeSqlLogTrialStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DropDedicatedHostUserRequest();
|
||||
~DropDedicatedHostUserRequest();
|
||||
DescribeSqlLogTrialStatusRequest();
|
||||
~DescribeSqlLogTrialStatusRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getDedicatedHostName()const;
|
||||
void setDedicatedHostName(const std::string& dedicatedHostName);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string dedicatedHostName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string userName_;
|
||||
std::string securityToken_;
|
||||
std::string dBInstanceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DROPDEDICATEDHOSTUSERREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLLOGTRIALSTATUSREQUEST_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_POLARDB_MODEL_DESCRIBESQLLOGTRIALSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLLOGTRIALSTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeSqlLogTrialStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeSqlLogTrialStatusResult();
|
||||
explicit DescribeSqlLogTrialStatusResult(const std::string &payload);
|
||||
~DescribeSqlLogTrialStatusResult();
|
||||
std::string getEverTrialed()const;
|
||||
std::string getOpenTrial()const;
|
||||
std::string getRemainDays()const;
|
||||
std::string getUsedDays()const;
|
||||
std::string getDBInstanceName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string everTrialed_;
|
||||
std::string openTrial_;
|
||||
std::string remainDays_;
|
||||
std::string usedDays_;
|
||||
std::string dBInstanceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLLOGTRIALSTATUSRESULT_H_
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getPlannedEndTime()const;
|
||||
void setPlannedEndTime(const std::string& plannedEndTime);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
@@ -49,18 +51,25 @@ namespace AlibabaCloud
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVSwitchId()const;
|
||||
void setVSwitchId(const std::string& vSwitchId);
|
||||
std::string getPlannedStartTime()const;
|
||||
void setPlannedStartTime(const std::string& plannedStartTime);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
bool getFromTimeService()const;
|
||||
void setFromTimeService(bool fromTimeService);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string plannedEndTime_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string vSwitchId_;
|
||||
std::string plannedStartTime_;
|
||||
std::string zoneId_;
|
||||
bool fromTimeService_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -41,8 +41,6 @@ namespace AlibabaCloud
|
||||
void setPlannedEndTime(const std::string& plannedEndTime);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSwitchTimeMode()const;
|
||||
void setSwitchTimeMode(const std::string& switchTimeMode);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
@@ -60,7 +58,6 @@ namespace AlibabaCloud
|
||||
long resourceOwnerId_;
|
||||
std::string plannedEndTime_;
|
||||
std::string accessKeyId_;
|
||||
std::string switchTimeMode_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -14,56 +14,59 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_CREATEDEDICATEDHOSTUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_CREATEDEDICATEDHOSTUSERREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_UPGRADEDBCLUSTERVERSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_UPGRADEDBCLUSTERVERSIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT CreateDedicatedHostUserRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_POLARDB_EXPORT UpgradeDBClusterVersionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDedicatedHostUserRequest();
|
||||
~CreateDedicatedHostUserRequest();
|
||||
UpgradeDBClusterVersionRequest();
|
||||
~UpgradeDBClusterVersionRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getPlannedEndTime()const;
|
||||
void setPlannedEndTime(const std::string& plannedEndTime);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getUserPassword()const;
|
||||
void setUserPassword(const std::string& userPassword);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDedicatedHostName()const;
|
||||
void setDedicatedHostName(const std::string& dedicatedHostName);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
std::string getPlannedStartTime()const;
|
||||
void setPlannedStartTime(const std::string& plannedStartTime);
|
||||
bool getFromTimeService()const;
|
||||
void setFromTimeService(bool fromTimeService);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string plannedEndTime_;
|
||||
std::string accessKeyId_;
|
||||
std::string userPassword_;
|
||||
std::string regionId_;
|
||||
std::string dedicatedHostName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string userName_;
|
||||
std::string plannedStartTime_;
|
||||
bool fromTimeService_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEDEDICATEDHOSTUSERREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_UPGRADEDBCLUSTERVERSIONREQUEST_H_
|
||||
@@ -14,29 +14,29 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_DELETEDEDICATEDHOSTACCOUNTRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DELETEDEDICATEDHOSTACCOUNTRESULT_H_
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_UPGRADEDBCLUSTERVERSIONRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_UPGRADEDBCLUSTERVERSIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DeleteDedicatedHostAccountResult : public ServiceResult
|
||||
class ALIBABACLOUD_POLARDB_EXPORT UpgradeDBClusterVersionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteDedicatedHostAccountResult();
|
||||
explicit DeleteDedicatedHostAccountResult(const std::string &payload);
|
||||
~DeleteDedicatedHostAccountResult();
|
||||
UpgradeDBClusterVersionResult();
|
||||
explicit UpgradeDBClusterVersionResult(const std::string &payload);
|
||||
~UpgradeDBClusterVersionResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DELETEDEDICATEDHOSTACCOUNTRESULT_H_
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_UPGRADEDBCLUSTERVERSIONRESULT_H_
|
||||
@@ -1923,6 +1923,114 @@ PolardbClient::DescribeRegionsOutcomeCallable PolardbClient::describeRegionsCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribeSQLExplorerPolicyOutcome PolardbClient::describeSQLExplorerPolicy(const DescribeSQLExplorerPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeSQLExplorerPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeSQLExplorerPolicyOutcome(DescribeSQLExplorerPolicyResult(outcome.result()));
|
||||
else
|
||||
return DescribeSQLExplorerPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::describeSQLExplorerPolicyAsync(const DescribeSQLExplorerPolicyRequest& request, const DescribeSQLExplorerPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeSQLExplorerPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::DescribeSQLExplorerPolicyOutcomeCallable PolardbClient::describeSQLExplorerPolicyCallable(const DescribeSQLExplorerPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeSQLExplorerPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeSQLExplorerPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribeSQLExplorerRetentionOutcome PolardbClient::describeSQLExplorerRetention(const DescribeSQLExplorerRetentionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeSQLExplorerRetentionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeSQLExplorerRetentionOutcome(DescribeSQLExplorerRetentionResult(outcome.result()));
|
||||
else
|
||||
return DescribeSQLExplorerRetentionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::describeSQLExplorerRetentionAsync(const DescribeSQLExplorerRetentionRequest& request, const DescribeSQLExplorerRetentionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeSQLExplorerRetention(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::DescribeSQLExplorerRetentionOutcomeCallable PolardbClient::describeSQLExplorerRetentionCallable(const DescribeSQLExplorerRetentionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeSQLExplorerRetentionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeSQLExplorerRetention(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribeSQLExplorerVersionOutcome PolardbClient::describeSQLExplorerVersion(const DescribeSQLExplorerVersionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeSQLExplorerVersionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeSQLExplorerVersionOutcome(DescribeSQLExplorerVersionResult(outcome.result()));
|
||||
else
|
||||
return DescribeSQLExplorerVersionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::describeSQLExplorerVersionAsync(const DescribeSQLExplorerVersionRequest& request, const DescribeSQLExplorerVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeSQLExplorerVersion(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::DescribeSQLExplorerVersionOutcomeCallable PolardbClient::describeSQLExplorerVersionCallable(const DescribeSQLExplorerVersionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeSQLExplorerVersionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeSQLExplorerVersion(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribeScheduleTasksOutcome PolardbClient::describeScheduleTasks(const DescribeScheduleTasksRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1995,6 +2103,42 @@ PolardbClient::DescribeSlowLogRecordsOutcomeCallable PolardbClient::describeSlow
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribeSqlLogTrialStatusOutcome PolardbClient::describeSqlLogTrialStatus(const DescribeSqlLogTrialStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeSqlLogTrialStatusOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeSqlLogTrialStatusOutcome(DescribeSqlLogTrialStatusResult(outcome.result()));
|
||||
else
|
||||
return DescribeSqlLogTrialStatusOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::describeSqlLogTrialStatusAsync(const DescribeSqlLogTrialStatusRequest& request, const DescribeSqlLogTrialStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeSqlLogTrialStatus(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::DescribeSqlLogTrialStatusOutcomeCallable PolardbClient::describeSqlLogTrialStatusCallable(const DescribeSqlLogTrialStatusRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeSqlLogTrialStatusOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeSqlLogTrialStatus(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribeTasksOutcome PolardbClient::describeTasks(const DescribeTasksRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3111,3 +3255,39 @@ PolardbClient::UpgradeDBClusterMinorVersionOutcomeCallable PolardbClient::upgrad
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::UpgradeDBClusterVersionOutcome PolardbClient::upgradeDBClusterVersion(const UpgradeDBClusterVersionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpgradeDBClusterVersionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpgradeDBClusterVersionOutcome(UpgradeDBClusterVersionResult(outcome.result()));
|
||||
else
|
||||
return UpgradeDBClusterVersionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::upgradeDBClusterVersionAsync(const UpgradeDBClusterVersionRequest& request, const UpgradeDBClusterVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, upgradeDBClusterVersion(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::UpgradeDBClusterVersionOutcomeCallable PolardbClient::upgradeDBClusterVersionCallable(const UpgradeDBClusterVersionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpgradeDBClusterVersionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->upgradeDBClusterVersion(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
@@ -159,6 +159,17 @@ void CreateDBClusterRequest::setSecurityIPList(const std::string& securityIPList
|
||||
setParameter("SecurityIPList", securityIPList);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getDBMinorVersion()const
|
||||
{
|
||||
return dBMinorVersion_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setDBMinorVersion(const std::string& dBMinorVersion)
|
||||
{
|
||||
dBMinorVersion_ = dBMinorVersion;
|
||||
setParameter("DBMinorVersion", dBMinorVersion);
|
||||
}
|
||||
|
||||
bool CreateDBClusterRequest::getAutoRenew()const
|
||||
{
|
||||
return autoRenew_;
|
||||
|
||||
@@ -123,6 +123,8 @@ void DescribeDBClusterAttributeResult::parse(const std::string &payload)
|
||||
dataLevel1BackupChainSize_ = std::stol(value["DataLevel1BackupChainSize"].asString());
|
||||
if(!value["Category"].isNull())
|
||||
category_ = value["Category"].asString();
|
||||
if(!value["DBVersionStatus"].isNull())
|
||||
dBVersionStatus_ = value["DBVersionStatus"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -241,6 +243,11 @@ long DescribeDBClusterAttributeResult::getStorageUsed()const
|
||||
return storageUsed_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getDBVersionStatus()const
|
||||
{
|
||||
return dBVersionStatus_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getCreationTime()const
|
||||
{
|
||||
return creationTime_;
|
||||
|
||||
@@ -71,6 +71,17 @@ void DescribeGlobalDatabaseNetworksRequest::setResourceOwnerAccount(const std::s
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeGlobalDatabaseNetworksRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeGlobalDatabaseNetworksRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeGlobalDatabaseNetworksRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
|
||||
@@ -43,38 +43,38 @@ void DescribeGlobalDatabaseNetworksResult::parse(const std::string &payload)
|
||||
for (auto valueItemsGlobalDatabaseNetwork : allItemsNode)
|
||||
{
|
||||
GlobalDatabaseNetwork itemsObject;
|
||||
if(!valueItemsGlobalDatabaseNetwork["GDNId"].isNull())
|
||||
itemsObject.gDNId = valueItemsGlobalDatabaseNetwork["GDNId"].asString();
|
||||
if(!valueItemsGlobalDatabaseNetwork["GDNStatus"].isNull())
|
||||
itemsObject.gDNStatus = valueItemsGlobalDatabaseNetwork["GDNStatus"].asString();
|
||||
if(!valueItemsGlobalDatabaseNetwork["DBVersion"].isNull())
|
||||
itemsObject.dBVersion = valueItemsGlobalDatabaseNetwork["DBVersion"].asString();
|
||||
if(!valueItemsGlobalDatabaseNetwork["GDNId"].isNull())
|
||||
itemsObject.gDNId = valueItemsGlobalDatabaseNetwork["GDNId"].asString();
|
||||
if(!valueItemsGlobalDatabaseNetwork["CreateTime"].isNull())
|
||||
itemsObject.createTime = valueItemsGlobalDatabaseNetwork["CreateTime"].asString();
|
||||
if(!valueItemsGlobalDatabaseNetwork["GDNDescription"].isNull())
|
||||
itemsObject.gDNDescription = valueItemsGlobalDatabaseNetwork["GDNDescription"].asString();
|
||||
if(!valueItemsGlobalDatabaseNetwork["DBType"].isNull())
|
||||
itemsObject.dBType = valueItemsGlobalDatabaseNetwork["DBType"].asString();
|
||||
if(!valueItemsGlobalDatabaseNetwork["DBVersion"].isNull())
|
||||
itemsObject.dBVersion = valueItemsGlobalDatabaseNetwork["DBVersion"].asString();
|
||||
if(!valueItemsGlobalDatabaseNetwork["CreateTime"].isNull())
|
||||
itemsObject.createTime = valueItemsGlobalDatabaseNetwork["CreateTime"].asString();
|
||||
auto allDBClustersNode = valueItemsGlobalDatabaseNetwork["DBClusters"]["DBCluster"];
|
||||
for (auto valueItemsGlobalDatabaseNetworkDBClustersDBCluster : allDBClustersNode)
|
||||
{
|
||||
GlobalDatabaseNetwork::DBCluster dBClustersObject;
|
||||
if(!valueItemsGlobalDatabaseNetworkDBClustersDBCluster["Role"].isNull())
|
||||
dBClustersObject.role = valueItemsGlobalDatabaseNetworkDBClustersDBCluster["Role"].asString();
|
||||
if(!valueItemsGlobalDatabaseNetworkDBClustersDBCluster["DBClusterId"].isNull())
|
||||
dBClustersObject.dBClusterId = valueItemsGlobalDatabaseNetworkDBClustersDBCluster["DBClusterId"].asString();
|
||||
if(!valueItemsGlobalDatabaseNetworkDBClustersDBCluster["RegionId"].isNull())
|
||||
dBClustersObject.regionId = valueItemsGlobalDatabaseNetworkDBClustersDBCluster["RegionId"].asString();
|
||||
if(!valueItemsGlobalDatabaseNetworkDBClustersDBCluster["Role"].isNull())
|
||||
dBClustersObject.role = valueItemsGlobalDatabaseNetworkDBClustersDBCluster["Role"].asString();
|
||||
itemsObject.dBClusters.push_back(dBClustersObject);
|
||||
}
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["TotalRecordCount"].isNull())
|
||||
totalRecordCount_ = std::stoi(value["TotalRecordCount"].asString());
|
||||
if(!value["PageRecordCount"].isNull())
|
||||
pageRecordCount_ = std::stoi(value["PageRecordCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
95
polardb/src/model/DescribeSQLExplorerPolicyRequest.cc
Normal file
95
polardb/src/model/DescribeSQLExplorerPolicyRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/polardb/model/DescribeSQLExplorerPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeSQLExplorerPolicyRequest;
|
||||
|
||||
DescribeSQLExplorerPolicyRequest::DescribeSQLExplorerPolicyRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeSQLExplorerPolicy")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeSQLExplorerPolicyRequest::~DescribeSQLExplorerPolicyRequest()
|
||||
{}
|
||||
|
||||
long DescribeSQLExplorerPolicyRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerPolicyRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerPolicyRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerPolicyRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerPolicyRequest::getDBInstanceId()const
|
||||
{
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerPolicyRequest::setDBInstanceId(const std::string& dBInstanceId)
|
||||
{
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter("DBInstanceId", dBInstanceId);
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerPolicyRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerPolicyRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerPolicyRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeSQLExplorerPolicyRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerPolicyRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -14,38 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/CreateDedicatedHostGroupResult.h>
|
||||
#include <alibabacloud/polardb/model/DescribeSQLExplorerPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
CreateDedicatedHostGroupResult::CreateDedicatedHostGroupResult() :
|
||||
DescribeSQLExplorerPolicyResult::DescribeSQLExplorerPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateDedicatedHostGroupResult::CreateDedicatedHostGroupResult(const std::string &payload) :
|
||||
DescribeSQLExplorerPolicyResult::DescribeSQLExplorerPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateDedicatedHostGroupResult::~CreateDedicatedHostGroupResult()
|
||||
DescribeSQLExplorerPolicyResult::~DescribeSQLExplorerPolicyResult()
|
||||
{}
|
||||
|
||||
void CreateDedicatedHostGroupResult::parse(const std::string &payload)
|
||||
void DescribeSQLExplorerPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DedicatedHostGroupId"].isNull())
|
||||
dedicatedHostGroupId_ = value["DedicatedHostGroupId"].asString();
|
||||
if(!value["SQLCollectorStatus"].isNull())
|
||||
sQLCollectorStatus_ = value["SQLCollectorStatus"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateDedicatedHostGroupResult::getDedicatedHostGroupId()const
|
||||
std::string DescribeSQLExplorerPolicyResult::getSQLCollectorStatus()const
|
||||
{
|
||||
return dedicatedHostGroupId_;
|
||||
return sQLCollectorStatus_;
|
||||
}
|
||||
|
||||
117
polardb/src/model/DescribeSQLExplorerRetentionRequest.cc
Normal file
117
polardb/src/model/DescribeSQLExplorerRetentionRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/polardb/model/DescribeSQLExplorerRetentionRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeSQLExplorerRetentionRequest;
|
||||
|
||||
DescribeSQLExplorerRetentionRequest::DescribeSQLExplorerRetentionRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeSQLExplorerRetention")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeSQLExplorerRetentionRequest::~DescribeSQLExplorerRetentionRequest()
|
||||
{}
|
||||
|
||||
long DescribeSQLExplorerRetentionRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerRetentionRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerRetentionRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerRetentionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerRetentionRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerRetentionRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerRetentionRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerRetentionRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerRetentionRequest::getDBInstanceId()const
|
||||
{
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerRetentionRequest::setDBInstanceId(const std::string& dBInstanceId)
|
||||
{
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter("DBInstanceId", dBInstanceId);
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerRetentionRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerRetentionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerRetentionRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerRetentionRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeSQLExplorerRetentionRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerRetentionRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
65
polardb/src/model/DescribeSQLExplorerRetentionResult.cc
Normal file
65
polardb/src/model/DescribeSQLExplorerRetentionResult.cc
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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeSQLExplorerRetentionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeSQLExplorerRetentionResult::DescribeSQLExplorerRetentionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeSQLExplorerRetentionResult::DescribeSQLExplorerRetentionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeSQLExplorerRetentionResult::~DescribeSQLExplorerRetentionResult()
|
||||
{}
|
||||
|
||||
void DescribeSQLExplorerRetentionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ConfigValue"].isNull())
|
||||
configValue_ = value["ConfigValue"].asString();
|
||||
if(!value["DBInstanceID"].isNull())
|
||||
dBInstanceID_ = std::stoi(value["DBInstanceID"].asString());
|
||||
if(!value["DBInstanceName"].isNull())
|
||||
dBInstanceName_ = value["DBInstanceName"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerRetentionResult::getConfigValue()const
|
||||
{
|
||||
return configValue_;
|
||||
}
|
||||
|
||||
int DescribeSQLExplorerRetentionResult::getDBInstanceID()const
|
||||
{
|
||||
return dBInstanceID_;
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerRetentionResult::getDBInstanceName()const
|
||||
{
|
||||
return dBInstanceName_;
|
||||
}
|
||||
|
||||
106
polardb/src/model/DescribeSQLExplorerVersionRequest.cc
Normal file
106
polardb/src/model/DescribeSQLExplorerVersionRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/polardb/model/DescribeSQLExplorerVersionRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeSQLExplorerVersionRequest;
|
||||
|
||||
DescribeSQLExplorerVersionRequest::DescribeSQLExplorerVersionRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeSQLExplorerVersion")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeSQLExplorerVersionRequest::~DescribeSQLExplorerVersionRequest()
|
||||
{}
|
||||
|
||||
long DescribeSQLExplorerVersionRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerVersionRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerVersionRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerVersionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerVersionRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerVersionRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerVersionRequest::getDBInstanceId()const
|
||||
{
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerVersionRequest::setDBInstanceId(const std::string& dBInstanceId)
|
||||
{
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter("DBInstanceId", dBInstanceId);
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerVersionRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerVersionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerVersionRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerVersionRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeSQLExplorerVersionRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerVersionRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
65
polardb/src/model/DescribeSQLExplorerVersionResult.cc
Normal file
65
polardb/src/model/DescribeSQLExplorerVersionResult.cc
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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeSQLExplorerVersionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeSQLExplorerVersionResult::DescribeSQLExplorerVersionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeSQLExplorerVersionResult::DescribeSQLExplorerVersionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeSQLExplorerVersionResult::~DescribeSQLExplorerVersionResult()
|
||||
{}
|
||||
|
||||
void DescribeSQLExplorerVersionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ConfigValue"].isNull())
|
||||
configValue_ = value["ConfigValue"].asString();
|
||||
if(!value["DBInstanceID"].isNull())
|
||||
dBInstanceID_ = std::stoi(value["DBInstanceID"].asString());
|
||||
if(!value["DBInstanceName"].isNull())
|
||||
dBInstanceName_ = value["DBInstanceName"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerVersionResult::getConfigValue()const
|
||||
{
|
||||
return configValue_;
|
||||
}
|
||||
|
||||
int DescribeSQLExplorerVersionResult::getDBInstanceID()const
|
||||
{
|
||||
return dBInstanceID_;
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerVersionResult::getDBInstanceName()const
|
||||
{
|
||||
return dBInstanceName_;
|
||||
}
|
||||
|
||||
@@ -38,6 +38,17 @@ void DescribeScheduleTasksRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int DescribeScheduleTasksRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeScheduleTasksRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeScheduleTasksRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -60,6 +71,17 @@ void DescribeScheduleTasksRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
int DescribeScheduleTasksRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeScheduleTasksRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeScheduleTasksRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -104,6 +126,17 @@ void DescribeScheduleTasksRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeScheduleTasksRequest::getTaskAction()const
|
||||
{
|
||||
return taskAction_;
|
||||
}
|
||||
|
||||
void DescribeScheduleTasksRequest::setTaskAction(const std::string& taskAction)
|
||||
{
|
||||
taskAction_ = taskAction;
|
||||
setParameter("TaskAction", taskAction);
|
||||
}
|
||||
|
||||
std::string DescribeScheduleTasksRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
|
||||
@@ -39,54 +39,47 @@ void DescribeScheduleTasksResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["items"];
|
||||
for (auto valueDataitems : allDataNode)
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["TotalRecordCount"].isNull())
|
||||
data_.totalRecordCount = std::stoi(dataNode["TotalRecordCount"].asString());
|
||||
if(!dataNode["PageSize"].isNull())
|
||||
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
|
||||
if(!dataNode["PageNumber"].isNull())
|
||||
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
|
||||
auto allTimerInfosNode = dataNode["TimerInfos"]["timerInfosItem"];
|
||||
for (auto dataNodeTimerInfostimerInfosItem : allTimerInfosNode)
|
||||
{
|
||||
Items dataObject;
|
||||
if(!valueDataitems["Action"].isNull())
|
||||
dataObject.action = valueDataitems["Action"].asString();
|
||||
if(!valueDataitems["Args"].isNull())
|
||||
dataObject.args = valueDataitems["Args"].asString();
|
||||
if(!valueDataitems["GmtCreate"].isNull())
|
||||
dataObject.gmtCreate = std::stol(valueDataitems["GmtCreate"].asString());
|
||||
if(!valueDataitems["GmtModified"].isNull())
|
||||
dataObject.gmtModified = std::stol(valueDataitems["GmtModified"].asString());
|
||||
if(!valueDataitems["DBClusterId"].isNull())
|
||||
dataObject.dBClusterId = valueDataitems["DBClusterId"].asString();
|
||||
if(!valueDataitems["MaxRetryTime"].isNull())
|
||||
dataObject.maxRetryTime = std::stoi(valueDataitems["MaxRetryTime"].asString());
|
||||
if(!valueDataitems["Mutex"].isNull())
|
||||
dataObject.mutex = valueDataitems["Mutex"].asString();
|
||||
if(!valueDataitems["OrderId"].isNull())
|
||||
dataObject.orderId = valueDataitems["OrderId"].asString();
|
||||
if(!valueDataitems["PlannedEndTime"].isNull())
|
||||
dataObject.plannedEndTime = std::stol(valueDataitems["PlannedEndTime"].asString());
|
||||
if(!valueDataitems["PlannedStartTime"].isNull())
|
||||
dataObject.plannedStartTime = std::stol(valueDataitems["PlannedStartTime"].asString());
|
||||
if(!valueDataitems["PlannedTime"].isNull())
|
||||
dataObject.plannedTime = std::stol(valueDataitems["PlannedTime"].asString());
|
||||
if(!valueDataitems["ProductCode"].isNull())
|
||||
dataObject.productCode = valueDataitems["ProductCode"].asString();
|
||||
if(!valueDataitems["Region"].isNull())
|
||||
dataObject.region = valueDataitems["Region"].asString();
|
||||
if(!valueDataitems["Response"].isNull())
|
||||
dataObject.response = valueDataitems["Response"].asString();
|
||||
if(!valueDataitems["RetryTime"].isNull())
|
||||
dataObject.retryTime = std::stoi(valueDataitems["RetryTime"].asString());
|
||||
if(!valueDataitems["Status"].isNull())
|
||||
dataObject.status = valueDataitems["Status"].asString();
|
||||
if(!valueDataitems["TaskId"].isNull())
|
||||
dataObject.taskId = valueDataitems["TaskId"].asString();
|
||||
if(!valueDataitems["Type"].isNull())
|
||||
dataObject.type = std::stoi(valueDataitems["Type"].asString());
|
||||
data_.push_back(dataObject);
|
||||
Data::TimerInfosItem timerInfosItemObject;
|
||||
if(!dataNodeTimerInfostimerInfosItem["Status"].isNull())
|
||||
timerInfosItemObject.status = dataNodeTimerInfostimerInfosItem["Status"].asString();
|
||||
if(!dataNodeTimerInfostimerInfosItem["GmtCreate"].isNull())
|
||||
timerInfosItemObject.gmtCreate = std::stol(dataNodeTimerInfostimerInfosItem["GmtCreate"].asString());
|
||||
if(!dataNodeTimerInfostimerInfosItem["Action"].isNull())
|
||||
timerInfosItemObject.action = dataNodeTimerInfostimerInfosItem["Action"].asString();
|
||||
if(!dataNodeTimerInfostimerInfosItem["TaskId"].isNull())
|
||||
timerInfosItemObject.taskId = dataNodeTimerInfostimerInfosItem["TaskId"].asString();
|
||||
if(!dataNodeTimerInfostimerInfosItem["PlannedTime"].isNull())
|
||||
timerInfosItemObject.plannedTime = dataNodeTimerInfostimerInfosItem["PlannedTime"].asString();
|
||||
if(!dataNodeTimerInfostimerInfosItem["PlannedStartTime"].isNull())
|
||||
timerInfosItemObject.plannedStartTime = dataNodeTimerInfostimerInfosItem["PlannedStartTime"].asString();
|
||||
if(!dataNodeTimerInfostimerInfosItem["DBClusterId"].isNull())
|
||||
timerInfosItemObject.dBClusterId = dataNodeTimerInfostimerInfosItem["DBClusterId"].asString();
|
||||
if(!dataNodeTimerInfostimerInfosItem["GmtModified"].isNull())
|
||||
timerInfosItemObject.gmtModified = std::stol(dataNodeTimerInfostimerInfosItem["GmtModified"].asString());
|
||||
if(!dataNodeTimerInfostimerInfosItem["Region"].isNull())
|
||||
timerInfosItemObject.region = dataNodeTimerInfostimerInfosItem["Region"].asString();
|
||||
if(!dataNodeTimerInfostimerInfosItem["OrderId"].isNull())
|
||||
timerInfosItemObject.orderId = dataNodeTimerInfostimerInfosItem["OrderId"].asString();
|
||||
if(!dataNodeTimerInfostimerInfosItem["PlannedEndTime"].isNull())
|
||||
timerInfosItemObject.plannedEndTime = dataNodeTimerInfostimerInfosItem["PlannedEndTime"].asString();
|
||||
if(!dataNodeTimerInfostimerInfosItem["AliUid"].isNull())
|
||||
timerInfosItemObject.aliUid = std::stoi(dataNodeTimerInfostimerInfosItem["AliUid"].asString());
|
||||
data_.timerInfos.push_back(timerInfosItemObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -97,12 +90,7 @@ std::string DescribeScheduleTasksResult::getMessage()const
|
||||
return message_;
|
||||
}
|
||||
|
||||
int DescribeScheduleTasksResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::vector<DescribeScheduleTasksResult::Items> DescribeScheduleTasksResult::getData()const
|
||||
DescribeScheduleTasksResult::Data DescribeScheduleTasksResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
106
polardb/src/model/DescribeSqlLogTrialStatusRequest.cc
Normal file
106
polardb/src/model/DescribeSqlLogTrialStatusRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/polardb/model/DescribeSqlLogTrialStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeSqlLogTrialStatusRequest;
|
||||
|
||||
DescribeSqlLogTrialStatusRequest::DescribeSqlLogTrialStatusRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeSqlLogTrialStatus")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeSqlLogTrialStatusRequest::~DescribeSqlLogTrialStatusRequest()
|
||||
{}
|
||||
|
||||
long DescribeSqlLogTrialStatusRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeSqlLogTrialStatusRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeSqlLogTrialStatusRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeSqlLogTrialStatusRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeSqlLogTrialStatusRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeSqlLogTrialStatusRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeSqlLogTrialStatusRequest::getDBInstanceId()const
|
||||
{
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
void DescribeSqlLogTrialStatusRequest::setDBInstanceId(const std::string& dBInstanceId)
|
||||
{
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter("DBInstanceId", dBInstanceId);
|
||||
}
|
||||
|
||||
std::string DescribeSqlLogTrialStatusRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeSqlLogTrialStatusRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeSqlLogTrialStatusRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeSqlLogTrialStatusRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeSqlLogTrialStatusRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeSqlLogTrialStatusRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
79
polardb/src/model/DescribeSqlLogTrialStatusResult.cc
Normal file
79
polardb/src/model/DescribeSqlLogTrialStatusResult.cc
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeSqlLogTrialStatusResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeSqlLogTrialStatusResult::DescribeSqlLogTrialStatusResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeSqlLogTrialStatusResult::DescribeSqlLogTrialStatusResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeSqlLogTrialStatusResult::~DescribeSqlLogTrialStatusResult()
|
||||
{}
|
||||
|
||||
void DescribeSqlLogTrialStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["EverTrialed"].isNull())
|
||||
everTrialed_ = value["EverTrialed"].asString();
|
||||
if(!value["OpenTrial"].isNull())
|
||||
openTrial_ = value["OpenTrial"].asString();
|
||||
if(!value["RemainDays"].isNull())
|
||||
remainDays_ = value["RemainDays"].asString();
|
||||
if(!value["UsedDays"].isNull())
|
||||
usedDays_ = value["UsedDays"].asString();
|
||||
if(!value["DBInstanceName"].isNull())
|
||||
dBInstanceName_ = value["DBInstanceName"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeSqlLogTrialStatusResult::getEverTrialed()const
|
||||
{
|
||||
return everTrialed_;
|
||||
}
|
||||
|
||||
std::string DescribeSqlLogTrialStatusResult::getOpenTrial()const
|
||||
{
|
||||
return openTrial_;
|
||||
}
|
||||
|
||||
std::string DescribeSqlLogTrialStatusResult::getRemainDays()const
|
||||
{
|
||||
return remainDays_;
|
||||
}
|
||||
|
||||
std::string DescribeSqlLogTrialStatusResult::getUsedDays()const
|
||||
{
|
||||
return usedDays_;
|
||||
}
|
||||
|
||||
std::string DescribeSqlLogTrialStatusResult::getDBInstanceName()const
|
||||
{
|
||||
return dBInstanceName_;
|
||||
}
|
||||
|
||||
@@ -38,6 +38,17 @@ void ModifyDBClusterPrimaryZoneRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterPrimaryZoneRequest::getPlannedEndTime()const
|
||||
{
|
||||
return plannedEndTime_;
|
||||
}
|
||||
|
||||
void ModifyDBClusterPrimaryZoneRequest::setPlannedEndTime(const std::string& plannedEndTime)
|
||||
{
|
||||
plannedEndTime_ = plannedEndTime;
|
||||
setParameter("PlannedEndTime", plannedEndTime);
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterPrimaryZoneRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -104,6 +115,17 @@ void ModifyDBClusterPrimaryZoneRequest::setVSwitchId(const std::string& vSwitchI
|
||||
setParameter("VSwitchId", vSwitchId);
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterPrimaryZoneRequest::getPlannedStartTime()const
|
||||
{
|
||||
return plannedStartTime_;
|
||||
}
|
||||
|
||||
void ModifyDBClusterPrimaryZoneRequest::setPlannedStartTime(const std::string& plannedStartTime)
|
||||
{
|
||||
plannedStartTime_ = plannedStartTime;
|
||||
setParameter("PlannedStartTime", plannedStartTime);
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterPrimaryZoneRequest::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
@@ -115,3 +137,14 @@ void ModifyDBClusterPrimaryZoneRequest::setZoneId(const std::string& zoneId)
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
bool ModifyDBClusterPrimaryZoneRequest::getFromTimeService()const
|
||||
{
|
||||
return fromTimeService_;
|
||||
}
|
||||
|
||||
void ModifyDBClusterPrimaryZoneRequest::setFromTimeService(bool fromTimeService)
|
||||
{
|
||||
fromTimeService_ = fromTimeService;
|
||||
setParameter("FromTimeService", fromTimeService ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -60,17 +60,6 @@ void UpgradeDBClusterMinorVersionRequest::setAccessKeyId(const std::string& acce
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string UpgradeDBClusterMinorVersionRequest::getSwitchTimeMode()const
|
||||
{
|
||||
return switchTimeMode_;
|
||||
}
|
||||
|
||||
void UpgradeDBClusterMinorVersionRequest::setSwitchTimeMode(const std::string& switchTimeMode)
|
||||
{
|
||||
switchTimeMode_ = switchTimeMode;
|
||||
setParameter("SwitchTimeMode", switchTimeMode);
|
||||
}
|
||||
|
||||
std::string UpgradeDBClusterMinorVersionRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
|
||||
128
polardb/src/model/UpgradeDBClusterVersionRequest.cc
Normal file
128
polardb/src/model/UpgradeDBClusterVersionRequest.cc
Normal file
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/polardb/model/UpgradeDBClusterVersionRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::UpgradeDBClusterVersionRequest;
|
||||
|
||||
UpgradeDBClusterVersionRequest::UpgradeDBClusterVersionRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "UpgradeDBClusterVersion")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpgradeDBClusterVersionRequest::~UpgradeDBClusterVersionRequest()
|
||||
{}
|
||||
|
||||
long UpgradeDBClusterVersionRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void UpgradeDBClusterVersionRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string UpgradeDBClusterVersionRequest::getPlannedEndTime()const
|
||||
{
|
||||
return plannedEndTime_;
|
||||
}
|
||||
|
||||
void UpgradeDBClusterVersionRequest::setPlannedEndTime(const std::string& plannedEndTime)
|
||||
{
|
||||
plannedEndTime_ = plannedEndTime;
|
||||
setParameter("PlannedEndTime", plannedEndTime);
|
||||
}
|
||||
|
||||
std::string UpgradeDBClusterVersionRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void UpgradeDBClusterVersionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string UpgradeDBClusterVersionRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void UpgradeDBClusterVersionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string UpgradeDBClusterVersionRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void UpgradeDBClusterVersionRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string UpgradeDBClusterVersionRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void UpgradeDBClusterVersionRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long UpgradeDBClusterVersionRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void UpgradeDBClusterVersionRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string UpgradeDBClusterVersionRequest::getPlannedStartTime()const
|
||||
{
|
||||
return plannedStartTime_;
|
||||
}
|
||||
|
||||
void UpgradeDBClusterVersionRequest::setPlannedStartTime(const std::string& plannedStartTime)
|
||||
{
|
||||
plannedStartTime_ = plannedStartTime;
|
||||
setParameter("PlannedStartTime", plannedStartTime);
|
||||
}
|
||||
|
||||
bool UpgradeDBClusterVersionRequest::getFromTimeService()const
|
||||
{
|
||||
return fromTimeService_;
|
||||
}
|
||||
|
||||
void UpgradeDBClusterVersionRequest::setFromTimeService(bool fromTimeService)
|
||||
{
|
||||
fromTimeService_ = fromTimeService;
|
||||
setParameter("FromTimeService", fromTimeService ? "true" : "false");
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/CreateDedicatedHostUserResult.h>
|
||||
#include <alibabacloud/polardb/model/UpgradeDBClusterVersionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
CreateDedicatedHostUserResult::CreateDedicatedHostUserResult() :
|
||||
UpgradeDBClusterVersionResult::UpgradeDBClusterVersionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateDedicatedHostUserResult::CreateDedicatedHostUserResult(const std::string &payload) :
|
||||
UpgradeDBClusterVersionResult::UpgradeDBClusterVersionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateDedicatedHostUserResult::~CreateDedicatedHostUserResult()
|
||||
UpgradeDBClusterVersionResult::~UpgradeDBClusterVersionResult()
|
||||
{}
|
||||
|
||||
void CreateDedicatedHostUserResult::parse(const std::string &payload)
|
||||
void UpgradeDBClusterVersionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
202
privatelink/CMakeLists.txt
Normal file
202
privatelink/CMakeLists.txt
Normal file
@@ -0,0 +1,202 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT 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(privatelink_public_header
|
||||
include/alibabacloud/privatelink/PrivatelinkClient.h
|
||||
include/alibabacloud/privatelink/PrivatelinkExport.h )
|
||||
|
||||
set(privatelink_public_header_model
|
||||
include/alibabacloud/privatelink/model/AddUserToVpcEndpointServiceRequest.h
|
||||
include/alibabacloud/privatelink/model/AddUserToVpcEndpointServiceResult.h
|
||||
include/alibabacloud/privatelink/model/AddZoneToVpcEndpointRequest.h
|
||||
include/alibabacloud/privatelink/model/AddZoneToVpcEndpointResult.h
|
||||
include/alibabacloud/privatelink/model/AttachResourceToVpcEndpointServiceRequest.h
|
||||
include/alibabacloud/privatelink/model/AttachResourceToVpcEndpointServiceResult.h
|
||||
include/alibabacloud/privatelink/model/AttachSecurityGroupToVpcEndpointRequest.h
|
||||
include/alibabacloud/privatelink/model/AttachSecurityGroupToVpcEndpointResult.h
|
||||
include/alibabacloud/privatelink/model/CreateVpcEndpointRequest.h
|
||||
include/alibabacloud/privatelink/model/CreateVpcEndpointResult.h
|
||||
include/alibabacloud/privatelink/model/CreateVpcEndpointServiceRequest.h
|
||||
include/alibabacloud/privatelink/model/CreateVpcEndpointServiceResult.h
|
||||
include/alibabacloud/privatelink/model/DeleteVpcEndpointRequest.h
|
||||
include/alibabacloud/privatelink/model/DeleteVpcEndpointResult.h
|
||||
include/alibabacloud/privatelink/model/DeleteVpcEndpointServiceRequest.h
|
||||
include/alibabacloud/privatelink/model/DeleteVpcEndpointServiceResult.h
|
||||
include/alibabacloud/privatelink/model/DescribeRegionsRequest.h
|
||||
include/alibabacloud/privatelink/model/DescribeRegionsResult.h
|
||||
include/alibabacloud/privatelink/model/DescribeZonesRequest.h
|
||||
include/alibabacloud/privatelink/model/DescribeZonesResult.h
|
||||
include/alibabacloud/privatelink/model/DetachResourceFromVpcEndpointServiceRequest.h
|
||||
include/alibabacloud/privatelink/model/DetachResourceFromVpcEndpointServiceResult.h
|
||||
include/alibabacloud/privatelink/model/DetachSecurityGroupFromVpcEndpointRequest.h
|
||||
include/alibabacloud/privatelink/model/DetachSecurityGroupFromVpcEndpointResult.h
|
||||
include/alibabacloud/privatelink/model/DisableVpcEndpointConnectionRequest.h
|
||||
include/alibabacloud/privatelink/model/DisableVpcEndpointConnectionResult.h
|
||||
include/alibabacloud/privatelink/model/EnableVpcEndpointConnectionRequest.h
|
||||
include/alibabacloud/privatelink/model/EnableVpcEndpointConnectionResult.h
|
||||
include/alibabacloud/privatelink/model/GetVpcEndpointAttributeRequest.h
|
||||
include/alibabacloud/privatelink/model/GetVpcEndpointAttributeResult.h
|
||||
include/alibabacloud/privatelink/model/GetVpcEndpointServiceAttributeRequest.h
|
||||
include/alibabacloud/privatelink/model/GetVpcEndpointServiceAttributeResult.h
|
||||
include/alibabacloud/privatelink/model/ListVpcEndpointConnectionsRequest.h
|
||||
include/alibabacloud/privatelink/model/ListVpcEndpointConnectionsResult.h
|
||||
include/alibabacloud/privatelink/model/ListVpcEndpointSecurityGroupsRequest.h
|
||||
include/alibabacloud/privatelink/model/ListVpcEndpointSecurityGroupsResult.h
|
||||
include/alibabacloud/privatelink/model/ListVpcEndpointServiceResourcesRequest.h
|
||||
include/alibabacloud/privatelink/model/ListVpcEndpointServiceResourcesResult.h
|
||||
include/alibabacloud/privatelink/model/ListVpcEndpointServiceUsersRequest.h
|
||||
include/alibabacloud/privatelink/model/ListVpcEndpointServiceUsersResult.h
|
||||
include/alibabacloud/privatelink/model/ListVpcEndpointServicesRequest.h
|
||||
include/alibabacloud/privatelink/model/ListVpcEndpointServicesResult.h
|
||||
include/alibabacloud/privatelink/model/ListVpcEndpointServicesByEndUserRequest.h
|
||||
include/alibabacloud/privatelink/model/ListVpcEndpointServicesByEndUserResult.h
|
||||
include/alibabacloud/privatelink/model/ListVpcEndpointZonesRequest.h
|
||||
include/alibabacloud/privatelink/model/ListVpcEndpointZonesResult.h
|
||||
include/alibabacloud/privatelink/model/ListVpcEndpointsRequest.h
|
||||
include/alibabacloud/privatelink/model/ListVpcEndpointsResult.h
|
||||
include/alibabacloud/privatelink/model/OpenPrivateLinkServiceRequest.h
|
||||
include/alibabacloud/privatelink/model/OpenPrivateLinkServiceResult.h
|
||||
include/alibabacloud/privatelink/model/RemoveUserFromVpcEndpointServiceRequest.h
|
||||
include/alibabacloud/privatelink/model/RemoveUserFromVpcEndpointServiceResult.h
|
||||
include/alibabacloud/privatelink/model/RemoveZoneFromVpcEndpointRequest.h
|
||||
include/alibabacloud/privatelink/model/RemoveZoneFromVpcEndpointResult.h
|
||||
include/alibabacloud/privatelink/model/UpdateVpcEndpointAttributeRequest.h
|
||||
include/alibabacloud/privatelink/model/UpdateVpcEndpointAttributeResult.h
|
||||
include/alibabacloud/privatelink/model/UpdateVpcEndpointConnectionAttributeRequest.h
|
||||
include/alibabacloud/privatelink/model/UpdateVpcEndpointConnectionAttributeResult.h
|
||||
include/alibabacloud/privatelink/model/UpdateVpcEndpointServiceAttributeRequest.h
|
||||
include/alibabacloud/privatelink/model/UpdateVpcEndpointServiceAttributeResult.h )
|
||||
|
||||
set(privatelink_src
|
||||
src/PrivatelinkClient.cc
|
||||
src/model/AddUserToVpcEndpointServiceRequest.cc
|
||||
src/model/AddUserToVpcEndpointServiceResult.cc
|
||||
src/model/AddZoneToVpcEndpointRequest.cc
|
||||
src/model/AddZoneToVpcEndpointResult.cc
|
||||
src/model/AttachResourceToVpcEndpointServiceRequest.cc
|
||||
src/model/AttachResourceToVpcEndpointServiceResult.cc
|
||||
src/model/AttachSecurityGroupToVpcEndpointRequest.cc
|
||||
src/model/AttachSecurityGroupToVpcEndpointResult.cc
|
||||
src/model/CreateVpcEndpointRequest.cc
|
||||
src/model/CreateVpcEndpointResult.cc
|
||||
src/model/CreateVpcEndpointServiceRequest.cc
|
||||
src/model/CreateVpcEndpointServiceResult.cc
|
||||
src/model/DeleteVpcEndpointRequest.cc
|
||||
src/model/DeleteVpcEndpointResult.cc
|
||||
src/model/DeleteVpcEndpointServiceRequest.cc
|
||||
src/model/DeleteVpcEndpointServiceResult.cc
|
||||
src/model/DescribeRegionsRequest.cc
|
||||
src/model/DescribeRegionsResult.cc
|
||||
src/model/DescribeZonesRequest.cc
|
||||
src/model/DescribeZonesResult.cc
|
||||
src/model/DetachResourceFromVpcEndpointServiceRequest.cc
|
||||
src/model/DetachResourceFromVpcEndpointServiceResult.cc
|
||||
src/model/DetachSecurityGroupFromVpcEndpointRequest.cc
|
||||
src/model/DetachSecurityGroupFromVpcEndpointResult.cc
|
||||
src/model/DisableVpcEndpointConnectionRequest.cc
|
||||
src/model/DisableVpcEndpointConnectionResult.cc
|
||||
src/model/EnableVpcEndpointConnectionRequest.cc
|
||||
src/model/EnableVpcEndpointConnectionResult.cc
|
||||
src/model/GetVpcEndpointAttributeRequest.cc
|
||||
src/model/GetVpcEndpointAttributeResult.cc
|
||||
src/model/GetVpcEndpointServiceAttributeRequest.cc
|
||||
src/model/GetVpcEndpointServiceAttributeResult.cc
|
||||
src/model/ListVpcEndpointConnectionsRequest.cc
|
||||
src/model/ListVpcEndpointConnectionsResult.cc
|
||||
src/model/ListVpcEndpointSecurityGroupsRequest.cc
|
||||
src/model/ListVpcEndpointSecurityGroupsResult.cc
|
||||
src/model/ListVpcEndpointServiceResourcesRequest.cc
|
||||
src/model/ListVpcEndpointServiceResourcesResult.cc
|
||||
src/model/ListVpcEndpointServiceUsersRequest.cc
|
||||
src/model/ListVpcEndpointServiceUsersResult.cc
|
||||
src/model/ListVpcEndpointServicesRequest.cc
|
||||
src/model/ListVpcEndpointServicesResult.cc
|
||||
src/model/ListVpcEndpointServicesByEndUserRequest.cc
|
||||
src/model/ListVpcEndpointServicesByEndUserResult.cc
|
||||
src/model/ListVpcEndpointZonesRequest.cc
|
||||
src/model/ListVpcEndpointZonesResult.cc
|
||||
src/model/ListVpcEndpointsRequest.cc
|
||||
src/model/ListVpcEndpointsResult.cc
|
||||
src/model/OpenPrivateLinkServiceRequest.cc
|
||||
src/model/OpenPrivateLinkServiceResult.cc
|
||||
src/model/RemoveUserFromVpcEndpointServiceRequest.cc
|
||||
src/model/RemoveUserFromVpcEndpointServiceResult.cc
|
||||
src/model/RemoveZoneFromVpcEndpointRequest.cc
|
||||
src/model/RemoveZoneFromVpcEndpointResult.cc
|
||||
src/model/UpdateVpcEndpointAttributeRequest.cc
|
||||
src/model/UpdateVpcEndpointAttributeResult.cc
|
||||
src/model/UpdateVpcEndpointConnectionAttributeRequest.cc
|
||||
src/model/UpdateVpcEndpointConnectionAttributeResult.cc
|
||||
src/model/UpdateVpcEndpointServiceAttributeRequest.cc
|
||||
src/model/UpdateVpcEndpointServiceAttributeResult.cc )
|
||||
|
||||
add_library(privatelink ${LIB_TYPE}
|
||||
${privatelink_public_header}
|
||||
${privatelink_public_header_model}
|
||||
${privatelink_src})
|
||||
|
||||
set_target_properties(privatelink
|
||||
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}privatelink
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(privatelink
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_PRIVATELINK_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(privatelink
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(privatelink
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(privatelink
|
||||
jsoncpp)
|
||||
target_include_directories(privatelink
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(privatelink
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(privatelink
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(privatelink
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(privatelink
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${privatelink_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/privatelink)
|
||||
install(FILES ${privatelink_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/privatelink/model)
|
||||
install(TARGETS privatelink
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
286
privatelink/include/alibabacloud/privatelink/PrivatelinkClient.h
Normal file
286
privatelink/include/alibabacloud/privatelink/PrivatelinkClient.h
Normal file
@@ -0,0 +1,286 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PRIVATELINK_PRIVATELINKCLIENT_H_
|
||||
#define ALIBABACLOUD_PRIVATELINK_PRIVATELINKCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "PrivatelinkExport.h"
|
||||
#include "model/AddUserToVpcEndpointServiceRequest.h"
|
||||
#include "model/AddUserToVpcEndpointServiceResult.h"
|
||||
#include "model/AddZoneToVpcEndpointRequest.h"
|
||||
#include "model/AddZoneToVpcEndpointResult.h"
|
||||
#include "model/AttachResourceToVpcEndpointServiceRequest.h"
|
||||
#include "model/AttachResourceToVpcEndpointServiceResult.h"
|
||||
#include "model/AttachSecurityGroupToVpcEndpointRequest.h"
|
||||
#include "model/AttachSecurityGroupToVpcEndpointResult.h"
|
||||
#include "model/CreateVpcEndpointRequest.h"
|
||||
#include "model/CreateVpcEndpointResult.h"
|
||||
#include "model/CreateVpcEndpointServiceRequest.h"
|
||||
#include "model/CreateVpcEndpointServiceResult.h"
|
||||
#include "model/DeleteVpcEndpointRequest.h"
|
||||
#include "model/DeleteVpcEndpointResult.h"
|
||||
#include "model/DeleteVpcEndpointServiceRequest.h"
|
||||
#include "model/DeleteVpcEndpointServiceResult.h"
|
||||
#include "model/DescribeRegionsRequest.h"
|
||||
#include "model/DescribeRegionsResult.h"
|
||||
#include "model/DescribeZonesRequest.h"
|
||||
#include "model/DescribeZonesResult.h"
|
||||
#include "model/DetachResourceFromVpcEndpointServiceRequest.h"
|
||||
#include "model/DetachResourceFromVpcEndpointServiceResult.h"
|
||||
#include "model/DetachSecurityGroupFromVpcEndpointRequest.h"
|
||||
#include "model/DetachSecurityGroupFromVpcEndpointResult.h"
|
||||
#include "model/DisableVpcEndpointConnectionRequest.h"
|
||||
#include "model/DisableVpcEndpointConnectionResult.h"
|
||||
#include "model/EnableVpcEndpointConnectionRequest.h"
|
||||
#include "model/EnableVpcEndpointConnectionResult.h"
|
||||
#include "model/GetVpcEndpointAttributeRequest.h"
|
||||
#include "model/GetVpcEndpointAttributeResult.h"
|
||||
#include "model/GetVpcEndpointServiceAttributeRequest.h"
|
||||
#include "model/GetVpcEndpointServiceAttributeResult.h"
|
||||
#include "model/ListVpcEndpointConnectionsRequest.h"
|
||||
#include "model/ListVpcEndpointConnectionsResult.h"
|
||||
#include "model/ListVpcEndpointSecurityGroupsRequest.h"
|
||||
#include "model/ListVpcEndpointSecurityGroupsResult.h"
|
||||
#include "model/ListVpcEndpointServiceResourcesRequest.h"
|
||||
#include "model/ListVpcEndpointServiceResourcesResult.h"
|
||||
#include "model/ListVpcEndpointServiceUsersRequest.h"
|
||||
#include "model/ListVpcEndpointServiceUsersResult.h"
|
||||
#include "model/ListVpcEndpointServicesRequest.h"
|
||||
#include "model/ListVpcEndpointServicesResult.h"
|
||||
#include "model/ListVpcEndpointServicesByEndUserRequest.h"
|
||||
#include "model/ListVpcEndpointServicesByEndUserResult.h"
|
||||
#include "model/ListVpcEndpointZonesRequest.h"
|
||||
#include "model/ListVpcEndpointZonesResult.h"
|
||||
#include "model/ListVpcEndpointsRequest.h"
|
||||
#include "model/ListVpcEndpointsResult.h"
|
||||
#include "model/OpenPrivateLinkServiceRequest.h"
|
||||
#include "model/OpenPrivateLinkServiceResult.h"
|
||||
#include "model/RemoveUserFromVpcEndpointServiceRequest.h"
|
||||
#include "model/RemoveUserFromVpcEndpointServiceResult.h"
|
||||
#include "model/RemoveZoneFromVpcEndpointRequest.h"
|
||||
#include "model/RemoveZoneFromVpcEndpointResult.h"
|
||||
#include "model/UpdateVpcEndpointAttributeRequest.h"
|
||||
#include "model/UpdateVpcEndpointAttributeResult.h"
|
||||
#include "model/UpdateVpcEndpointConnectionAttributeRequest.h"
|
||||
#include "model/UpdateVpcEndpointConnectionAttributeResult.h"
|
||||
#include "model/UpdateVpcEndpointServiceAttributeRequest.h"
|
||||
#include "model/UpdateVpcEndpointServiceAttributeResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Privatelink
|
||||
{
|
||||
class ALIBABACLOUD_PRIVATELINK_EXPORT PrivatelinkClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::AddUserToVpcEndpointServiceResult> AddUserToVpcEndpointServiceOutcome;
|
||||
typedef std::future<AddUserToVpcEndpointServiceOutcome> AddUserToVpcEndpointServiceOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::AddUserToVpcEndpointServiceRequest&, const AddUserToVpcEndpointServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddUserToVpcEndpointServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddZoneToVpcEndpointResult> AddZoneToVpcEndpointOutcome;
|
||||
typedef std::future<AddZoneToVpcEndpointOutcome> AddZoneToVpcEndpointOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::AddZoneToVpcEndpointRequest&, const AddZoneToVpcEndpointOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddZoneToVpcEndpointAsyncHandler;
|
||||
typedef Outcome<Error, Model::AttachResourceToVpcEndpointServiceResult> AttachResourceToVpcEndpointServiceOutcome;
|
||||
typedef std::future<AttachResourceToVpcEndpointServiceOutcome> AttachResourceToVpcEndpointServiceOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::AttachResourceToVpcEndpointServiceRequest&, const AttachResourceToVpcEndpointServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachResourceToVpcEndpointServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::AttachSecurityGroupToVpcEndpointResult> AttachSecurityGroupToVpcEndpointOutcome;
|
||||
typedef std::future<AttachSecurityGroupToVpcEndpointOutcome> AttachSecurityGroupToVpcEndpointOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::AttachSecurityGroupToVpcEndpointRequest&, const AttachSecurityGroupToVpcEndpointOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachSecurityGroupToVpcEndpointAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateVpcEndpointResult> CreateVpcEndpointOutcome;
|
||||
typedef std::future<CreateVpcEndpointOutcome> CreateVpcEndpointOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::CreateVpcEndpointRequest&, const CreateVpcEndpointOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateVpcEndpointAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateVpcEndpointServiceResult> CreateVpcEndpointServiceOutcome;
|
||||
typedef std::future<CreateVpcEndpointServiceOutcome> CreateVpcEndpointServiceOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::CreateVpcEndpointServiceRequest&, const CreateVpcEndpointServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateVpcEndpointServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteVpcEndpointResult> DeleteVpcEndpointOutcome;
|
||||
typedef std::future<DeleteVpcEndpointOutcome> DeleteVpcEndpointOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::DeleteVpcEndpointRequest&, const DeleteVpcEndpointOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteVpcEndpointAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteVpcEndpointServiceResult> DeleteVpcEndpointServiceOutcome;
|
||||
typedef std::future<DeleteVpcEndpointServiceOutcome> DeleteVpcEndpointServiceOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::DeleteVpcEndpointServiceRequest&, const DeleteVpcEndpointServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteVpcEndpointServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome;
|
||||
typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeZonesResult> DescribeZonesOutcome;
|
||||
typedef std::future<DescribeZonesOutcome> DescribeZonesOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::DescribeZonesRequest&, const DescribeZonesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeZonesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetachResourceFromVpcEndpointServiceResult> DetachResourceFromVpcEndpointServiceOutcome;
|
||||
typedef std::future<DetachResourceFromVpcEndpointServiceOutcome> DetachResourceFromVpcEndpointServiceOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::DetachResourceFromVpcEndpointServiceRequest&, const DetachResourceFromVpcEndpointServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachResourceFromVpcEndpointServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetachSecurityGroupFromVpcEndpointResult> DetachSecurityGroupFromVpcEndpointOutcome;
|
||||
typedef std::future<DetachSecurityGroupFromVpcEndpointOutcome> DetachSecurityGroupFromVpcEndpointOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::DetachSecurityGroupFromVpcEndpointRequest&, const DetachSecurityGroupFromVpcEndpointOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachSecurityGroupFromVpcEndpointAsyncHandler;
|
||||
typedef Outcome<Error, Model::DisableVpcEndpointConnectionResult> DisableVpcEndpointConnectionOutcome;
|
||||
typedef std::future<DisableVpcEndpointConnectionOutcome> DisableVpcEndpointConnectionOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::DisableVpcEndpointConnectionRequest&, const DisableVpcEndpointConnectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableVpcEndpointConnectionAsyncHandler;
|
||||
typedef Outcome<Error, Model::EnableVpcEndpointConnectionResult> EnableVpcEndpointConnectionOutcome;
|
||||
typedef std::future<EnableVpcEndpointConnectionOutcome> EnableVpcEndpointConnectionOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::EnableVpcEndpointConnectionRequest&, const EnableVpcEndpointConnectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableVpcEndpointConnectionAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetVpcEndpointAttributeResult> GetVpcEndpointAttributeOutcome;
|
||||
typedef std::future<GetVpcEndpointAttributeOutcome> GetVpcEndpointAttributeOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::GetVpcEndpointAttributeRequest&, const GetVpcEndpointAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetVpcEndpointAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetVpcEndpointServiceAttributeResult> GetVpcEndpointServiceAttributeOutcome;
|
||||
typedef std::future<GetVpcEndpointServiceAttributeOutcome> GetVpcEndpointServiceAttributeOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::GetVpcEndpointServiceAttributeRequest&, const GetVpcEndpointServiceAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetVpcEndpointServiceAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListVpcEndpointConnectionsResult> ListVpcEndpointConnectionsOutcome;
|
||||
typedef std::future<ListVpcEndpointConnectionsOutcome> ListVpcEndpointConnectionsOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::ListVpcEndpointConnectionsRequest&, const ListVpcEndpointConnectionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVpcEndpointConnectionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListVpcEndpointSecurityGroupsResult> ListVpcEndpointSecurityGroupsOutcome;
|
||||
typedef std::future<ListVpcEndpointSecurityGroupsOutcome> ListVpcEndpointSecurityGroupsOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::ListVpcEndpointSecurityGroupsRequest&, const ListVpcEndpointSecurityGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVpcEndpointSecurityGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListVpcEndpointServiceResourcesResult> ListVpcEndpointServiceResourcesOutcome;
|
||||
typedef std::future<ListVpcEndpointServiceResourcesOutcome> ListVpcEndpointServiceResourcesOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::ListVpcEndpointServiceResourcesRequest&, const ListVpcEndpointServiceResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVpcEndpointServiceResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListVpcEndpointServiceUsersResult> ListVpcEndpointServiceUsersOutcome;
|
||||
typedef std::future<ListVpcEndpointServiceUsersOutcome> ListVpcEndpointServiceUsersOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::ListVpcEndpointServiceUsersRequest&, const ListVpcEndpointServiceUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVpcEndpointServiceUsersAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListVpcEndpointServicesResult> ListVpcEndpointServicesOutcome;
|
||||
typedef std::future<ListVpcEndpointServicesOutcome> ListVpcEndpointServicesOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::ListVpcEndpointServicesRequest&, const ListVpcEndpointServicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVpcEndpointServicesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListVpcEndpointServicesByEndUserResult> ListVpcEndpointServicesByEndUserOutcome;
|
||||
typedef std::future<ListVpcEndpointServicesByEndUserOutcome> ListVpcEndpointServicesByEndUserOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::ListVpcEndpointServicesByEndUserRequest&, const ListVpcEndpointServicesByEndUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVpcEndpointServicesByEndUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListVpcEndpointZonesResult> ListVpcEndpointZonesOutcome;
|
||||
typedef std::future<ListVpcEndpointZonesOutcome> ListVpcEndpointZonesOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::ListVpcEndpointZonesRequest&, const ListVpcEndpointZonesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVpcEndpointZonesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListVpcEndpointsResult> ListVpcEndpointsOutcome;
|
||||
typedef std::future<ListVpcEndpointsOutcome> ListVpcEndpointsOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::ListVpcEndpointsRequest&, const ListVpcEndpointsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVpcEndpointsAsyncHandler;
|
||||
typedef Outcome<Error, Model::OpenPrivateLinkServiceResult> OpenPrivateLinkServiceOutcome;
|
||||
typedef std::future<OpenPrivateLinkServiceOutcome> OpenPrivateLinkServiceOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::OpenPrivateLinkServiceRequest&, const OpenPrivateLinkServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpenPrivateLinkServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveUserFromVpcEndpointServiceResult> RemoveUserFromVpcEndpointServiceOutcome;
|
||||
typedef std::future<RemoveUserFromVpcEndpointServiceOutcome> RemoveUserFromVpcEndpointServiceOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::RemoveUserFromVpcEndpointServiceRequest&, const RemoveUserFromVpcEndpointServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveUserFromVpcEndpointServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveZoneFromVpcEndpointResult> RemoveZoneFromVpcEndpointOutcome;
|
||||
typedef std::future<RemoveZoneFromVpcEndpointOutcome> RemoveZoneFromVpcEndpointOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::RemoveZoneFromVpcEndpointRequest&, const RemoveZoneFromVpcEndpointOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveZoneFromVpcEndpointAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateVpcEndpointAttributeResult> UpdateVpcEndpointAttributeOutcome;
|
||||
typedef std::future<UpdateVpcEndpointAttributeOutcome> UpdateVpcEndpointAttributeOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::UpdateVpcEndpointAttributeRequest&, const UpdateVpcEndpointAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateVpcEndpointAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateVpcEndpointConnectionAttributeResult> UpdateVpcEndpointConnectionAttributeOutcome;
|
||||
typedef std::future<UpdateVpcEndpointConnectionAttributeOutcome> UpdateVpcEndpointConnectionAttributeOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::UpdateVpcEndpointConnectionAttributeRequest&, const UpdateVpcEndpointConnectionAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateVpcEndpointConnectionAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateVpcEndpointServiceAttributeResult> UpdateVpcEndpointServiceAttributeOutcome;
|
||||
typedef std::future<UpdateVpcEndpointServiceAttributeOutcome> UpdateVpcEndpointServiceAttributeOutcomeCallable;
|
||||
typedef std::function<void(const PrivatelinkClient*, const Model::UpdateVpcEndpointServiceAttributeRequest&, const UpdateVpcEndpointServiceAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateVpcEndpointServiceAttributeAsyncHandler;
|
||||
|
||||
PrivatelinkClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
PrivatelinkClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
PrivatelinkClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~PrivatelinkClient();
|
||||
AddUserToVpcEndpointServiceOutcome addUserToVpcEndpointService(const Model::AddUserToVpcEndpointServiceRequest &request)const;
|
||||
void addUserToVpcEndpointServiceAsync(const Model::AddUserToVpcEndpointServiceRequest& request, const AddUserToVpcEndpointServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddUserToVpcEndpointServiceOutcomeCallable addUserToVpcEndpointServiceCallable(const Model::AddUserToVpcEndpointServiceRequest& request) const;
|
||||
AddZoneToVpcEndpointOutcome addZoneToVpcEndpoint(const Model::AddZoneToVpcEndpointRequest &request)const;
|
||||
void addZoneToVpcEndpointAsync(const Model::AddZoneToVpcEndpointRequest& request, const AddZoneToVpcEndpointAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddZoneToVpcEndpointOutcomeCallable addZoneToVpcEndpointCallable(const Model::AddZoneToVpcEndpointRequest& request) const;
|
||||
AttachResourceToVpcEndpointServiceOutcome attachResourceToVpcEndpointService(const Model::AttachResourceToVpcEndpointServiceRequest &request)const;
|
||||
void attachResourceToVpcEndpointServiceAsync(const Model::AttachResourceToVpcEndpointServiceRequest& request, const AttachResourceToVpcEndpointServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AttachResourceToVpcEndpointServiceOutcomeCallable attachResourceToVpcEndpointServiceCallable(const Model::AttachResourceToVpcEndpointServiceRequest& request) const;
|
||||
AttachSecurityGroupToVpcEndpointOutcome attachSecurityGroupToVpcEndpoint(const Model::AttachSecurityGroupToVpcEndpointRequest &request)const;
|
||||
void attachSecurityGroupToVpcEndpointAsync(const Model::AttachSecurityGroupToVpcEndpointRequest& request, const AttachSecurityGroupToVpcEndpointAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AttachSecurityGroupToVpcEndpointOutcomeCallable attachSecurityGroupToVpcEndpointCallable(const Model::AttachSecurityGroupToVpcEndpointRequest& request) const;
|
||||
CreateVpcEndpointOutcome createVpcEndpoint(const Model::CreateVpcEndpointRequest &request)const;
|
||||
void createVpcEndpointAsync(const Model::CreateVpcEndpointRequest& request, const CreateVpcEndpointAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateVpcEndpointOutcomeCallable createVpcEndpointCallable(const Model::CreateVpcEndpointRequest& request) const;
|
||||
CreateVpcEndpointServiceOutcome createVpcEndpointService(const Model::CreateVpcEndpointServiceRequest &request)const;
|
||||
void createVpcEndpointServiceAsync(const Model::CreateVpcEndpointServiceRequest& request, const CreateVpcEndpointServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateVpcEndpointServiceOutcomeCallable createVpcEndpointServiceCallable(const Model::CreateVpcEndpointServiceRequest& request) const;
|
||||
DeleteVpcEndpointOutcome deleteVpcEndpoint(const Model::DeleteVpcEndpointRequest &request)const;
|
||||
void deleteVpcEndpointAsync(const Model::DeleteVpcEndpointRequest& request, const DeleteVpcEndpointAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteVpcEndpointOutcomeCallable deleteVpcEndpointCallable(const Model::DeleteVpcEndpointRequest& request) const;
|
||||
DeleteVpcEndpointServiceOutcome deleteVpcEndpointService(const Model::DeleteVpcEndpointServiceRequest &request)const;
|
||||
void deleteVpcEndpointServiceAsync(const Model::DeleteVpcEndpointServiceRequest& request, const DeleteVpcEndpointServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteVpcEndpointServiceOutcomeCallable deleteVpcEndpointServiceCallable(const Model::DeleteVpcEndpointServiceRequest& 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;
|
||||
DescribeZonesOutcome describeZones(const Model::DescribeZonesRequest &request)const;
|
||||
void describeZonesAsync(const Model::DescribeZonesRequest& request, const DescribeZonesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeZonesOutcomeCallable describeZonesCallable(const Model::DescribeZonesRequest& request) const;
|
||||
DetachResourceFromVpcEndpointServiceOutcome detachResourceFromVpcEndpointService(const Model::DetachResourceFromVpcEndpointServiceRequest &request)const;
|
||||
void detachResourceFromVpcEndpointServiceAsync(const Model::DetachResourceFromVpcEndpointServiceRequest& request, const DetachResourceFromVpcEndpointServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetachResourceFromVpcEndpointServiceOutcomeCallable detachResourceFromVpcEndpointServiceCallable(const Model::DetachResourceFromVpcEndpointServiceRequest& request) const;
|
||||
DetachSecurityGroupFromVpcEndpointOutcome detachSecurityGroupFromVpcEndpoint(const Model::DetachSecurityGroupFromVpcEndpointRequest &request)const;
|
||||
void detachSecurityGroupFromVpcEndpointAsync(const Model::DetachSecurityGroupFromVpcEndpointRequest& request, const DetachSecurityGroupFromVpcEndpointAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetachSecurityGroupFromVpcEndpointOutcomeCallable detachSecurityGroupFromVpcEndpointCallable(const Model::DetachSecurityGroupFromVpcEndpointRequest& request) const;
|
||||
DisableVpcEndpointConnectionOutcome disableVpcEndpointConnection(const Model::DisableVpcEndpointConnectionRequest &request)const;
|
||||
void disableVpcEndpointConnectionAsync(const Model::DisableVpcEndpointConnectionRequest& request, const DisableVpcEndpointConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DisableVpcEndpointConnectionOutcomeCallable disableVpcEndpointConnectionCallable(const Model::DisableVpcEndpointConnectionRequest& request) const;
|
||||
EnableVpcEndpointConnectionOutcome enableVpcEndpointConnection(const Model::EnableVpcEndpointConnectionRequest &request)const;
|
||||
void enableVpcEndpointConnectionAsync(const Model::EnableVpcEndpointConnectionRequest& request, const EnableVpcEndpointConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableVpcEndpointConnectionOutcomeCallable enableVpcEndpointConnectionCallable(const Model::EnableVpcEndpointConnectionRequest& request) const;
|
||||
GetVpcEndpointAttributeOutcome getVpcEndpointAttribute(const Model::GetVpcEndpointAttributeRequest &request)const;
|
||||
void getVpcEndpointAttributeAsync(const Model::GetVpcEndpointAttributeRequest& request, const GetVpcEndpointAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetVpcEndpointAttributeOutcomeCallable getVpcEndpointAttributeCallable(const Model::GetVpcEndpointAttributeRequest& request) const;
|
||||
GetVpcEndpointServiceAttributeOutcome getVpcEndpointServiceAttribute(const Model::GetVpcEndpointServiceAttributeRequest &request)const;
|
||||
void getVpcEndpointServiceAttributeAsync(const Model::GetVpcEndpointServiceAttributeRequest& request, const GetVpcEndpointServiceAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetVpcEndpointServiceAttributeOutcomeCallable getVpcEndpointServiceAttributeCallable(const Model::GetVpcEndpointServiceAttributeRequest& request) const;
|
||||
ListVpcEndpointConnectionsOutcome listVpcEndpointConnections(const Model::ListVpcEndpointConnectionsRequest &request)const;
|
||||
void listVpcEndpointConnectionsAsync(const Model::ListVpcEndpointConnectionsRequest& request, const ListVpcEndpointConnectionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListVpcEndpointConnectionsOutcomeCallable listVpcEndpointConnectionsCallable(const Model::ListVpcEndpointConnectionsRequest& request) const;
|
||||
ListVpcEndpointSecurityGroupsOutcome listVpcEndpointSecurityGroups(const Model::ListVpcEndpointSecurityGroupsRequest &request)const;
|
||||
void listVpcEndpointSecurityGroupsAsync(const Model::ListVpcEndpointSecurityGroupsRequest& request, const ListVpcEndpointSecurityGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListVpcEndpointSecurityGroupsOutcomeCallable listVpcEndpointSecurityGroupsCallable(const Model::ListVpcEndpointSecurityGroupsRequest& request) const;
|
||||
ListVpcEndpointServiceResourcesOutcome listVpcEndpointServiceResources(const Model::ListVpcEndpointServiceResourcesRequest &request)const;
|
||||
void listVpcEndpointServiceResourcesAsync(const Model::ListVpcEndpointServiceResourcesRequest& request, const ListVpcEndpointServiceResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListVpcEndpointServiceResourcesOutcomeCallable listVpcEndpointServiceResourcesCallable(const Model::ListVpcEndpointServiceResourcesRequest& request) const;
|
||||
ListVpcEndpointServiceUsersOutcome listVpcEndpointServiceUsers(const Model::ListVpcEndpointServiceUsersRequest &request)const;
|
||||
void listVpcEndpointServiceUsersAsync(const Model::ListVpcEndpointServiceUsersRequest& request, const ListVpcEndpointServiceUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListVpcEndpointServiceUsersOutcomeCallable listVpcEndpointServiceUsersCallable(const Model::ListVpcEndpointServiceUsersRequest& request) const;
|
||||
ListVpcEndpointServicesOutcome listVpcEndpointServices(const Model::ListVpcEndpointServicesRequest &request)const;
|
||||
void listVpcEndpointServicesAsync(const Model::ListVpcEndpointServicesRequest& request, const ListVpcEndpointServicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListVpcEndpointServicesOutcomeCallable listVpcEndpointServicesCallable(const Model::ListVpcEndpointServicesRequest& request) const;
|
||||
ListVpcEndpointServicesByEndUserOutcome listVpcEndpointServicesByEndUser(const Model::ListVpcEndpointServicesByEndUserRequest &request)const;
|
||||
void listVpcEndpointServicesByEndUserAsync(const Model::ListVpcEndpointServicesByEndUserRequest& request, const ListVpcEndpointServicesByEndUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListVpcEndpointServicesByEndUserOutcomeCallable listVpcEndpointServicesByEndUserCallable(const Model::ListVpcEndpointServicesByEndUserRequest& request) const;
|
||||
ListVpcEndpointZonesOutcome listVpcEndpointZones(const Model::ListVpcEndpointZonesRequest &request)const;
|
||||
void listVpcEndpointZonesAsync(const Model::ListVpcEndpointZonesRequest& request, const ListVpcEndpointZonesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListVpcEndpointZonesOutcomeCallable listVpcEndpointZonesCallable(const Model::ListVpcEndpointZonesRequest& request) const;
|
||||
ListVpcEndpointsOutcome listVpcEndpoints(const Model::ListVpcEndpointsRequest &request)const;
|
||||
void listVpcEndpointsAsync(const Model::ListVpcEndpointsRequest& request, const ListVpcEndpointsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListVpcEndpointsOutcomeCallable listVpcEndpointsCallable(const Model::ListVpcEndpointsRequest& request) const;
|
||||
OpenPrivateLinkServiceOutcome openPrivateLinkService(const Model::OpenPrivateLinkServiceRequest &request)const;
|
||||
void openPrivateLinkServiceAsync(const Model::OpenPrivateLinkServiceRequest& request, const OpenPrivateLinkServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OpenPrivateLinkServiceOutcomeCallable openPrivateLinkServiceCallable(const Model::OpenPrivateLinkServiceRequest& request) const;
|
||||
RemoveUserFromVpcEndpointServiceOutcome removeUserFromVpcEndpointService(const Model::RemoveUserFromVpcEndpointServiceRequest &request)const;
|
||||
void removeUserFromVpcEndpointServiceAsync(const Model::RemoveUserFromVpcEndpointServiceRequest& request, const RemoveUserFromVpcEndpointServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveUserFromVpcEndpointServiceOutcomeCallable removeUserFromVpcEndpointServiceCallable(const Model::RemoveUserFromVpcEndpointServiceRequest& request) const;
|
||||
RemoveZoneFromVpcEndpointOutcome removeZoneFromVpcEndpoint(const Model::RemoveZoneFromVpcEndpointRequest &request)const;
|
||||
void removeZoneFromVpcEndpointAsync(const Model::RemoveZoneFromVpcEndpointRequest& request, const RemoveZoneFromVpcEndpointAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveZoneFromVpcEndpointOutcomeCallable removeZoneFromVpcEndpointCallable(const Model::RemoveZoneFromVpcEndpointRequest& request) const;
|
||||
UpdateVpcEndpointAttributeOutcome updateVpcEndpointAttribute(const Model::UpdateVpcEndpointAttributeRequest &request)const;
|
||||
void updateVpcEndpointAttributeAsync(const Model::UpdateVpcEndpointAttributeRequest& request, const UpdateVpcEndpointAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateVpcEndpointAttributeOutcomeCallable updateVpcEndpointAttributeCallable(const Model::UpdateVpcEndpointAttributeRequest& request) const;
|
||||
UpdateVpcEndpointConnectionAttributeOutcome updateVpcEndpointConnectionAttribute(const Model::UpdateVpcEndpointConnectionAttributeRequest &request)const;
|
||||
void updateVpcEndpointConnectionAttributeAsync(const Model::UpdateVpcEndpointConnectionAttributeRequest& request, const UpdateVpcEndpointConnectionAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateVpcEndpointConnectionAttributeOutcomeCallable updateVpcEndpointConnectionAttributeCallable(const Model::UpdateVpcEndpointConnectionAttributeRequest& request) const;
|
||||
UpdateVpcEndpointServiceAttributeOutcome updateVpcEndpointServiceAttribute(const Model::UpdateVpcEndpointServiceAttributeRequest &request)const;
|
||||
void updateVpcEndpointServiceAttributeAsync(const Model::UpdateVpcEndpointServiceAttributeRequest& request, const UpdateVpcEndpointServiceAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateVpcEndpointServiceAttributeOutcomeCallable updateVpcEndpointServiceAttributeCallable(const Model::UpdateVpcEndpointServiceAttributeRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_PRIVATELINK_PRIVATELINKCLIENT_H_
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PRIVATELINK_PRIVATELINKEXPORT_H_
|
||||
#define ALIBABACLOUD_PRIVATELINK_PRIVATELINKEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_PRIVATELINK_LIBRARY)
|
||||
# define ALIBABACLOUD_PRIVATELINK_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_PRIVATELINK_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_PRIVATELINK_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_PRIVATELINK_PRIVATELINKEXPORT_H_
|
||||
@@ -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_PRIVATELINK_MODEL_ADDUSERTOVPCENDPOINTSERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_PRIVATELINK_MODEL_ADDUSERTOVPCENDPOINTSERVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/privatelink/PrivatelinkExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Privatelink
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PRIVATELINK_EXPORT AddUserToVpcEndpointServiceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddUserToVpcEndpointServiceRequest();
|
||||
~AddUserToVpcEndpointServiceRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getServiceId()const;
|
||||
void setServiceId(const std::string& serviceId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string userId_;
|
||||
std::string regionId_;
|
||||
bool dryRun_;
|
||||
std::string serviceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PRIVATELINK_MODEL_ADDUSERTOVPCENDPOINTSERVICEREQUEST_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_PRIVATELINK_MODEL_ADDUSERTOVPCENDPOINTSERVICERESULT_H_
|
||||
#define ALIBABACLOUD_PRIVATELINK_MODEL_ADDUSERTOVPCENDPOINTSERVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/privatelink/PrivatelinkExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Privatelink
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PRIVATELINK_EXPORT AddUserToVpcEndpointServiceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddUserToVpcEndpointServiceResult();
|
||||
explicit AddUserToVpcEndpointServiceResult(const std::string &payload);
|
||||
~AddUserToVpcEndpointServiceResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PRIVATELINK_MODEL_ADDUSERTOVPCENDPOINTSERVICERESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PRIVATELINK_MODEL_ADDZONETOVPCENDPOINTREQUEST_H_
|
||||
#define ALIBABACLOUD_PRIVATELINK_MODEL_ADDZONETOVPCENDPOINTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/privatelink/PrivatelinkExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Privatelink
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PRIVATELINK_EXPORT AddZoneToVpcEndpointRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddZoneToVpcEndpointRequest();
|
||||
~AddZoneToVpcEndpointRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getEndpointId()const;
|
||||
void setEndpointId(const std::string& endpointId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getVSwitchId()const;
|
||||
void setVSwitchId(const std::string& vSwitchId);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string endpointId_;
|
||||
std::string regionId_;
|
||||
bool dryRun_;
|
||||
std::string vSwitchId_;
|
||||
std::string zoneId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PRIVATELINK_MODEL_ADDZONETOVPCENDPOINTREQUEST_H_
|
||||
@@ -14,29 +14,29 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_CREATEDEDICATEDHOSTACCOUNTRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_CREATEDEDICATEDHOSTACCOUNTRESULT_H_
|
||||
#ifndef ALIBABACLOUD_PRIVATELINK_MODEL_ADDZONETOVPCENDPOINTRESULT_H_
|
||||
#define ALIBABACLOUD_PRIVATELINK_MODEL_ADDZONETOVPCENDPOINTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
#include <alibabacloud/privatelink/PrivatelinkExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
namespace Privatelink
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT CreateDedicatedHostAccountResult : public ServiceResult
|
||||
class ALIBABACLOUD_PRIVATELINK_EXPORT AddZoneToVpcEndpointResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDedicatedHostAccountResult();
|
||||
explicit CreateDedicatedHostAccountResult(const std::string &payload);
|
||||
~CreateDedicatedHostAccountResult();
|
||||
AddZoneToVpcEndpointResult();
|
||||
explicit AddZoneToVpcEndpointResult(const std::string &payload);
|
||||
~AddZoneToVpcEndpointResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEDEDICATEDHOSTACCOUNTRESULT_H_
|
||||
#endif // !ALIBABACLOUD_PRIVATELINK_MODEL_ADDZONETOVPCENDPOINTRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PRIVATELINK_MODEL_ATTACHRESOURCETOVPCENDPOINTSERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_PRIVATELINK_MODEL_ATTACHRESOURCETOVPCENDPOINTSERVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/privatelink/PrivatelinkExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Privatelink
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PRIVATELINK_EXPORT AttachResourceToVpcEndpointServiceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AttachResourceToVpcEndpointServiceRequest();
|
||||
~AttachResourceToVpcEndpointServiceRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getResourceId()const;
|
||||
void setResourceId(const std::string& resourceId);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getServiceId()const;
|
||||
void setServiceId(const std::string& serviceId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceId_;
|
||||
bool dryRun_;
|
||||
std::string resourceType_;
|
||||
std::string serviceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PRIVATELINK_MODEL_ATTACHRESOURCETOVPCENDPOINTSERVICEREQUEST_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_PRIVATELINK_MODEL_ATTACHRESOURCETOVPCENDPOINTSERVICERESULT_H_
|
||||
#define ALIBABACLOUD_PRIVATELINK_MODEL_ATTACHRESOURCETOVPCENDPOINTSERVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/privatelink/PrivatelinkExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Privatelink
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PRIVATELINK_EXPORT AttachResourceToVpcEndpointServiceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AttachResourceToVpcEndpointServiceResult();
|
||||
explicit AttachResourceToVpcEndpointServiceResult(const std::string &payload);
|
||||
~AttachResourceToVpcEndpointServiceResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PRIVATELINK_MODEL_ATTACHRESOURCETOVPCENDPOINTSERVICERESULT_H_
|
||||
@@ -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_PRIVATELINK_MODEL_ATTACHSECURITYGROUPTOVPCENDPOINTREQUEST_H_
|
||||
#define ALIBABACLOUD_PRIVATELINK_MODEL_ATTACHSECURITYGROUPTOVPCENDPOINTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/privatelink/PrivatelinkExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Privatelink
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PRIVATELINK_EXPORT AttachSecurityGroupToVpcEndpointRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AttachSecurityGroupToVpcEndpointRequest();
|
||||
~AttachSecurityGroupToVpcEndpointRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getEndpointId()const;
|
||||
void setEndpointId(const std::string& endpointId);
|
||||
std::string getSecurityGroupId()const;
|
||||
void setSecurityGroupId(const std::string& securityGroupId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string endpointId_;
|
||||
std::string securityGroupId_;
|
||||
std::string regionId_;
|
||||
bool dryRun_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PRIVATELINK_MODEL_ATTACHSECURITYGROUPTOVPCENDPOINTREQUEST_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_PRIVATELINK_MODEL_ATTACHSECURITYGROUPTOVPCENDPOINTRESULT_H_
|
||||
#define ALIBABACLOUD_PRIVATELINK_MODEL_ATTACHSECURITYGROUPTOVPCENDPOINTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/privatelink/PrivatelinkExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Privatelink
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PRIVATELINK_EXPORT AttachSecurityGroupToVpcEndpointResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AttachSecurityGroupToVpcEndpointResult();
|
||||
explicit AttachSecurityGroupToVpcEndpointResult(const std::string &payload);
|
||||
~AttachSecurityGroupToVpcEndpointResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PRIVATELINK_MODEL_ATTACHSECURITYGROUPTOVPCENDPOINTRESULT_H_
|
||||
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PRIVATELINK_MODEL_CREATEVPCENDPOINTREQUEST_H_
|
||||
#define ALIBABACLOUD_PRIVATELINK_MODEL_CREATEVPCENDPOINTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/privatelink/PrivatelinkExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Privatelink
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PRIVATELINK_EXPORT CreateVpcEndpointRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Zone
|
||||
{
|
||||
std::string vSwitchId;
|
||||
std::string zoneId;
|
||||
};
|
||||
|
||||
public:
|
||||
CreateVpcEndpointRequest();
|
||||
~CreateVpcEndpointRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::vector<std::string> getSecurityGroupId()const;
|
||||
void setSecurityGroupId(const std::vector<std::string>& securityGroupId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::vector<Zone> getZone()const;
|
||||
void setZone(const std::vector<Zone>& zone);
|
||||
std::string getServiceName()const;
|
||||
void setServiceName(const std::string& serviceName);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getEndpointDescription()const;
|
||||
void setEndpointDescription(const std::string& endpointDescription);
|
||||
std::string getEndpointName()const;
|
||||
void setEndpointName(const std::string& endpointName);
|
||||
std::string getVpcId()const;
|
||||
void setVpcId(const std::string& vpcId);
|
||||
std::string getServiceId()const;
|
||||
void setServiceId(const std::string& serviceId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::vector<std::string> securityGroupId_;
|
||||
std::string regionId_;
|
||||
std::vector<Zone> zone_;
|
||||
std::string serviceName_;
|
||||
bool dryRun_;
|
||||
std::string endpointDescription_;
|
||||
std::string endpointName_;
|
||||
std::string vpcId_;
|
||||
std::string serviceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PRIVATELINK_MODEL_CREATEVPCENDPOINTREQUEST_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_PRIVATELINK_MODEL_CREATEVPCENDPOINTRESULT_H_
|
||||
#define ALIBABACLOUD_PRIVATELINK_MODEL_CREATEVPCENDPOINTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/privatelink/PrivatelinkExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Privatelink
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PRIVATELINK_EXPORT CreateVpcEndpointResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateVpcEndpointResult();
|
||||
explicit CreateVpcEndpointResult(const std::string &payload);
|
||||
~CreateVpcEndpointResult();
|
||||
std::string getEndpointStatus()const;
|
||||
std::string getEndpointName()const;
|
||||
std::string getVpcId()const;
|
||||
std::string getEndpointDomain()const;
|
||||
std::string getServiceName()const;
|
||||
std::string getEndpointId()const;
|
||||
std::string getCreateTime()const;
|
||||
long getBandwidth()const;
|
||||
std::string getEndpointBusinessStatus()const;
|
||||
std::string getEndpointDescription()const;
|
||||
std::string getConnectionStatus()const;
|
||||
std::string getServiceId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string endpointStatus_;
|
||||
std::string endpointName_;
|
||||
std::string vpcId_;
|
||||
std::string endpointDomain_;
|
||||
std::string serviceName_;
|
||||
std::string endpointId_;
|
||||
std::string createTime_;
|
||||
long bandwidth_;
|
||||
std::string endpointBusinessStatus_;
|
||||
std::string endpointDescription_;
|
||||
std::string connectionStatus_;
|
||||
std::string serviceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PRIVATELINK_MODEL_CREATEVPCENDPOINTRESULT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PRIVATELINK_MODEL_CREATEVPCENDPOINTSERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_PRIVATELINK_MODEL_CREATEVPCENDPOINTSERVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/privatelink/PrivatelinkExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Privatelink
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PRIVATELINK_EXPORT CreateVpcEndpointServiceRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Resource
|
||||
{
|
||||
std::string resourceId;
|
||||
std::string resourceType;
|
||||
};
|
||||
|
||||
public:
|
||||
CreateVpcEndpointServiceRequest();
|
||||
~CreateVpcEndpointServiceRequest();
|
||||
|
||||
bool getAutoAcceptEnabled()const;
|
||||
void setAutoAcceptEnabled(bool autoAcceptEnabled);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getPayer()const;
|
||||
void setPayer(const std::string& payer);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::vector<Resource> getResource()const;
|
||||
void setResource(const std::vector<Resource>& resource);
|
||||
std::string getServiceDescription()const;
|
||||
void setServiceDescription(const std::string& serviceDescription);
|
||||
|
||||
private:
|
||||
bool autoAcceptEnabled_;
|
||||
std::string clientToken_;
|
||||
std::string payer_;
|
||||
std::string regionId_;
|
||||
bool dryRun_;
|
||||
std::vector<Resource> resource_;
|
||||
std::string serviceDescription_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PRIVATELINK_MODEL_CREATEVPCENDPOINTSERVICEREQUEST_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_PRIVATELINK_MODEL_CREATEVPCENDPOINTSERVICERESULT_H_
|
||||
#define ALIBABACLOUD_PRIVATELINK_MODEL_CREATEVPCENDPOINTSERVICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/privatelink/PrivatelinkExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Privatelink
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PRIVATELINK_EXPORT CreateVpcEndpointServiceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateVpcEndpointServiceResult();
|
||||
explicit CreateVpcEndpointServiceResult(const std::string &payload);
|
||||
~CreateVpcEndpointServiceResult();
|
||||
std::string getServiceBusinessStatus()const;
|
||||
std::string getServiceName()const;
|
||||
std::string getServiceDescription()const;
|
||||
std::string getServiceStatus()const;
|
||||
std::string getCreateTime()const;
|
||||
std::string getServiceDomain()const;
|
||||
bool getAutoAcceptEnabled()const;
|
||||
std::string getServiceId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string serviceBusinessStatus_;
|
||||
std::string serviceName_;
|
||||
std::string serviceDescription_;
|
||||
std::string serviceStatus_;
|
||||
std::string createTime_;
|
||||
std::string serviceDomain_;
|
||||
bool autoAcceptEnabled_;
|
||||
std::string serviceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PRIVATELINK_MODEL_CREATEVPCENDPOINTSERVICERESULT_H_
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user