Compare commits
9 Commits
ARMS-patch
...
Slb-patch
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
505b8e2062 | ||
|
|
55c2e91e9f | ||
|
|
e70f8f2d10 | ||
|
|
196b891ec3 | ||
|
|
58b398b978 | ||
|
|
13693fecae | ||
|
|
a4f63bc75f | ||
|
|
6dd27ba3df | ||
|
|
cf63bd74d6 |
29
CHANGELOG
29
CHANGELOG
@@ -1,3 +1,32 @@
|
||||
2020-12-22 Version: patch
|
||||
- Support SLB latest OpenAPIs.
|
||||
|
||||
2020-12-22 Version: patch
|
||||
- Release InterpolateVideoFrame ToneSdrVideo ConvertHdrVideo.
|
||||
|
||||
2020-12-22 Version: patch
|
||||
- Release InterpolateVideoFrame.
|
||||
|
||||
2020-12-22 Version: patch
|
||||
- Release DetectRibFracture.
|
||||
|
||||
2020-12-22 Version: patch
|
||||
- Minor chagnes.
|
||||
|
||||
2020-12-22 Version: patch
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
2020-12-21 Version: patch
|
||||
- Support Device of LaunchConfiguration_DataDisk.
|
||||
|
||||
2020-12-21 Version: patch
|
||||
- Support DescribeDatabases for page query.
|
||||
- Support DescribeAccounts for page query.
|
||||
|
||||
2020-12-18 Version: patch
|
||||
- Support ListRepositories, ListOrganizations, GetUserInfo, ListRepositoryWebhook, DeleteRepositoryWebhook api.
|
||||
- AddWebhook api support SecretToken.
|
||||
|
||||
2020-12-18 Version: patch
|
||||
- Add GetAgentDownloadUrl api.
|
||||
|
||||
|
||||
@@ -53,6 +53,8 @@ set(codeup_public_header_model
|
||||
include/alibabacloud/codeup/model/DeleteRepositoryMemberResult.h
|
||||
include/alibabacloud/codeup/model/DeleteRepositoryTagRequest.h
|
||||
include/alibabacloud/codeup/model/DeleteRepositoryTagResult.h
|
||||
include/alibabacloud/codeup/model/DeleteRepositoryWebhookRequest.h
|
||||
include/alibabacloud/codeup/model/DeleteRepositoryWebhookResult.h
|
||||
include/alibabacloud/codeup/model/GetBranchInfoRequest.h
|
||||
include/alibabacloud/codeup/model/GetBranchInfoResult.h
|
||||
include/alibabacloud/codeup/model/GetCodeupOrganizationRequest.h
|
||||
@@ -67,12 +69,18 @@ set(codeup_public_header_model
|
||||
include/alibabacloud/codeup/model/GetRepositoryInfoResult.h
|
||||
include/alibabacloud/codeup/model/GetRepositoryTagRequest.h
|
||||
include/alibabacloud/codeup/model/GetRepositoryTagResult.h
|
||||
include/alibabacloud/codeup/model/GetUserInfoRequest.h
|
||||
include/alibabacloud/codeup/model/GetUserInfoResult.h
|
||||
include/alibabacloud/codeup/model/ListGroupMemberRequest.h
|
||||
include/alibabacloud/codeup/model/ListGroupMemberResult.h
|
||||
include/alibabacloud/codeup/model/ListGroupRepositoriesRequest.h
|
||||
include/alibabacloud/codeup/model/ListGroupRepositoriesResult.h
|
||||
include/alibabacloud/codeup/model/ListGroupsRequest.h
|
||||
include/alibabacloud/codeup/model/ListGroupsResult.h
|
||||
include/alibabacloud/codeup/model/ListOrganizationsRequest.h
|
||||
include/alibabacloud/codeup/model/ListOrganizationsResult.h
|
||||
include/alibabacloud/codeup/model/ListRepositoriesRequest.h
|
||||
include/alibabacloud/codeup/model/ListRepositoriesResult.h
|
||||
include/alibabacloud/codeup/model/ListRepositoryBranchesRequest.h
|
||||
include/alibabacloud/codeup/model/ListRepositoryBranchesResult.h
|
||||
include/alibabacloud/codeup/model/ListRepositoryMemberRequest.h
|
||||
@@ -81,6 +89,8 @@ set(codeup_public_header_model
|
||||
include/alibabacloud/codeup/model/ListRepositoryTagsResult.h
|
||||
include/alibabacloud/codeup/model/ListRepositoryTreeRequest.h
|
||||
include/alibabacloud/codeup/model/ListRepositoryTreeResult.h
|
||||
include/alibabacloud/codeup/model/ListRepositoryWebhookRequest.h
|
||||
include/alibabacloud/codeup/model/ListRepositoryWebhookResult.h
|
||||
include/alibabacloud/codeup/model/MergeMergeRequestRequest.h
|
||||
include/alibabacloud/codeup/model/MergeMergeRequestResult.h
|
||||
include/alibabacloud/codeup/model/UpdateFileRequest.h
|
||||
@@ -124,6 +134,8 @@ set(codeup_src
|
||||
src/model/DeleteRepositoryMemberResult.cc
|
||||
src/model/DeleteRepositoryTagRequest.cc
|
||||
src/model/DeleteRepositoryTagResult.cc
|
||||
src/model/DeleteRepositoryWebhookRequest.cc
|
||||
src/model/DeleteRepositoryWebhookResult.cc
|
||||
src/model/GetBranchInfoRequest.cc
|
||||
src/model/GetBranchInfoResult.cc
|
||||
src/model/GetCodeupOrganizationRequest.cc
|
||||
@@ -138,12 +150,18 @@ set(codeup_src
|
||||
src/model/GetRepositoryInfoResult.cc
|
||||
src/model/GetRepositoryTagRequest.cc
|
||||
src/model/GetRepositoryTagResult.cc
|
||||
src/model/GetUserInfoRequest.cc
|
||||
src/model/GetUserInfoResult.cc
|
||||
src/model/ListGroupMemberRequest.cc
|
||||
src/model/ListGroupMemberResult.cc
|
||||
src/model/ListGroupRepositoriesRequest.cc
|
||||
src/model/ListGroupRepositoriesResult.cc
|
||||
src/model/ListGroupsRequest.cc
|
||||
src/model/ListGroupsResult.cc
|
||||
src/model/ListOrganizationsRequest.cc
|
||||
src/model/ListOrganizationsResult.cc
|
||||
src/model/ListRepositoriesRequest.cc
|
||||
src/model/ListRepositoriesResult.cc
|
||||
src/model/ListRepositoryBranchesRequest.cc
|
||||
src/model/ListRepositoryBranchesResult.cc
|
||||
src/model/ListRepositoryMemberRequest.cc
|
||||
@@ -152,6 +170,8 @@ set(codeup_src
|
||||
src/model/ListRepositoryTagsResult.cc
|
||||
src/model/ListRepositoryTreeRequest.cc
|
||||
src/model/ListRepositoryTreeResult.cc
|
||||
src/model/ListRepositoryWebhookRequest.cc
|
||||
src/model/ListRepositoryWebhookResult.cc
|
||||
src/model/MergeMergeRequestRequest.cc
|
||||
src/model/MergeMergeRequestResult.cc
|
||||
src/model/UpdateFileRequest.cc
|
||||
|
||||
@@ -54,6 +54,8 @@
|
||||
#include "model/DeleteRepositoryMemberResult.h"
|
||||
#include "model/DeleteRepositoryTagRequest.h"
|
||||
#include "model/DeleteRepositoryTagResult.h"
|
||||
#include "model/DeleteRepositoryWebhookRequest.h"
|
||||
#include "model/DeleteRepositoryWebhookResult.h"
|
||||
#include "model/GetBranchInfoRequest.h"
|
||||
#include "model/GetBranchInfoResult.h"
|
||||
#include "model/GetCodeupOrganizationRequest.h"
|
||||
@@ -68,12 +70,18 @@
|
||||
#include "model/GetRepositoryInfoResult.h"
|
||||
#include "model/GetRepositoryTagRequest.h"
|
||||
#include "model/GetRepositoryTagResult.h"
|
||||
#include "model/GetUserInfoRequest.h"
|
||||
#include "model/GetUserInfoResult.h"
|
||||
#include "model/ListGroupMemberRequest.h"
|
||||
#include "model/ListGroupMemberResult.h"
|
||||
#include "model/ListGroupRepositoriesRequest.h"
|
||||
#include "model/ListGroupRepositoriesResult.h"
|
||||
#include "model/ListGroupsRequest.h"
|
||||
#include "model/ListGroupsResult.h"
|
||||
#include "model/ListOrganizationsRequest.h"
|
||||
#include "model/ListOrganizationsResult.h"
|
||||
#include "model/ListRepositoriesRequest.h"
|
||||
#include "model/ListRepositoriesResult.h"
|
||||
#include "model/ListRepositoryBranchesRequest.h"
|
||||
#include "model/ListRepositoryBranchesResult.h"
|
||||
#include "model/ListRepositoryMemberRequest.h"
|
||||
@@ -82,6 +90,8 @@
|
||||
#include "model/ListRepositoryTagsResult.h"
|
||||
#include "model/ListRepositoryTreeRequest.h"
|
||||
#include "model/ListRepositoryTreeResult.h"
|
||||
#include "model/ListRepositoryWebhookRequest.h"
|
||||
#include "model/ListRepositoryWebhookResult.h"
|
||||
#include "model/MergeMergeRequestRequest.h"
|
||||
#include "model/MergeMergeRequestResult.h"
|
||||
#include "model/UpdateFileRequest.h"
|
||||
@@ -147,6 +157,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteRepositoryTagResult> DeleteRepositoryTagOutcome;
|
||||
typedef std::future<DeleteRepositoryTagOutcome> DeleteRepositoryTagOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::DeleteRepositoryTagRequest&, const DeleteRepositoryTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRepositoryTagAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteRepositoryWebhookResult> DeleteRepositoryWebhookOutcome;
|
||||
typedef std::future<DeleteRepositoryWebhookOutcome> DeleteRepositoryWebhookOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::DeleteRepositoryWebhookRequest&, const DeleteRepositoryWebhookOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRepositoryWebhookAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetBranchInfoResult> GetBranchInfoOutcome;
|
||||
typedef std::future<GetBranchInfoOutcome> GetBranchInfoOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::GetBranchInfoRequest&, const GetBranchInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetBranchInfoAsyncHandler;
|
||||
@@ -168,6 +181,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetRepositoryTagResult> GetRepositoryTagOutcome;
|
||||
typedef std::future<GetRepositoryTagOutcome> GetRepositoryTagOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::GetRepositoryTagRequest&, const GetRepositoryTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRepositoryTagAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetUserInfoResult> GetUserInfoOutcome;
|
||||
typedef std::future<GetUserInfoOutcome> GetUserInfoOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::GetUserInfoRequest&, const GetUserInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListGroupMemberResult> ListGroupMemberOutcome;
|
||||
typedef std::future<ListGroupMemberOutcome> ListGroupMemberOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::ListGroupMemberRequest&, const ListGroupMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListGroupMemberAsyncHandler;
|
||||
@@ -177,6 +193,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListGroupsResult> ListGroupsOutcome;
|
||||
typedef std::future<ListGroupsOutcome> ListGroupsOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::ListGroupsRequest&, const ListGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListOrganizationsResult> ListOrganizationsOutcome;
|
||||
typedef std::future<ListOrganizationsOutcome> ListOrganizationsOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::ListOrganizationsRequest&, const ListOrganizationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListOrganizationsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListRepositoriesResult> ListRepositoriesOutcome;
|
||||
typedef std::future<ListRepositoriesOutcome> ListRepositoriesOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::ListRepositoriesRequest&, const ListRepositoriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRepositoriesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListRepositoryBranchesResult> ListRepositoryBranchesOutcome;
|
||||
typedef std::future<ListRepositoryBranchesOutcome> ListRepositoryBranchesOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::ListRepositoryBranchesRequest&, const ListRepositoryBranchesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRepositoryBranchesAsyncHandler;
|
||||
@@ -189,6 +211,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListRepositoryTreeResult> ListRepositoryTreeOutcome;
|
||||
typedef std::future<ListRepositoryTreeOutcome> ListRepositoryTreeOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::ListRepositoryTreeRequest&, const ListRepositoryTreeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRepositoryTreeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListRepositoryWebhookResult> ListRepositoryWebhookOutcome;
|
||||
typedef std::future<ListRepositoryWebhookOutcome> ListRepositoryWebhookOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::ListRepositoryWebhookRequest&, const ListRepositoryWebhookOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRepositoryWebhookAsyncHandler;
|
||||
typedef Outcome<Error, Model::MergeMergeRequestResult> MergeMergeRequestOutcome;
|
||||
typedef std::future<MergeMergeRequestOutcome> MergeMergeRequestOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::MergeMergeRequestRequest&, const MergeMergeRequestOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MergeMergeRequestAsyncHandler;
|
||||
@@ -254,6 +279,9 @@ namespace AlibabaCloud
|
||||
DeleteRepositoryTagOutcome deleteRepositoryTag(const Model::DeleteRepositoryTagRequest &request)const;
|
||||
void deleteRepositoryTagAsync(const Model::DeleteRepositoryTagRequest& request, const DeleteRepositoryTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteRepositoryTagOutcomeCallable deleteRepositoryTagCallable(const Model::DeleteRepositoryTagRequest& request) const;
|
||||
DeleteRepositoryWebhookOutcome deleteRepositoryWebhook(const Model::DeleteRepositoryWebhookRequest &request)const;
|
||||
void deleteRepositoryWebhookAsync(const Model::DeleteRepositoryWebhookRequest& request, const DeleteRepositoryWebhookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteRepositoryWebhookOutcomeCallable deleteRepositoryWebhookCallable(const Model::DeleteRepositoryWebhookRequest& request) const;
|
||||
GetBranchInfoOutcome getBranchInfo(const Model::GetBranchInfoRequest &request)const;
|
||||
void getBranchInfoAsync(const Model::GetBranchInfoRequest& request, const GetBranchInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetBranchInfoOutcomeCallable getBranchInfoCallable(const Model::GetBranchInfoRequest& request) const;
|
||||
@@ -275,6 +303,9 @@ namespace AlibabaCloud
|
||||
GetRepositoryTagOutcome getRepositoryTag(const Model::GetRepositoryTagRequest &request)const;
|
||||
void getRepositoryTagAsync(const Model::GetRepositoryTagRequest& request, const GetRepositoryTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetRepositoryTagOutcomeCallable getRepositoryTagCallable(const Model::GetRepositoryTagRequest& request) const;
|
||||
GetUserInfoOutcome getUserInfo(const Model::GetUserInfoRequest &request)const;
|
||||
void getUserInfoAsync(const Model::GetUserInfoRequest& request, const GetUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetUserInfoOutcomeCallable getUserInfoCallable(const Model::GetUserInfoRequest& request) const;
|
||||
ListGroupMemberOutcome listGroupMember(const Model::ListGroupMemberRequest &request)const;
|
||||
void listGroupMemberAsync(const Model::ListGroupMemberRequest& request, const ListGroupMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListGroupMemberOutcomeCallable listGroupMemberCallable(const Model::ListGroupMemberRequest& request) const;
|
||||
@@ -284,6 +315,12 @@ namespace AlibabaCloud
|
||||
ListGroupsOutcome listGroups(const Model::ListGroupsRequest &request)const;
|
||||
void listGroupsAsync(const Model::ListGroupsRequest& request, const ListGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListGroupsOutcomeCallable listGroupsCallable(const Model::ListGroupsRequest& request) const;
|
||||
ListOrganizationsOutcome listOrganizations(const Model::ListOrganizationsRequest &request)const;
|
||||
void listOrganizationsAsync(const Model::ListOrganizationsRequest& request, const ListOrganizationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListOrganizationsOutcomeCallable listOrganizationsCallable(const Model::ListOrganizationsRequest& request) const;
|
||||
ListRepositoriesOutcome listRepositories(const Model::ListRepositoriesRequest &request)const;
|
||||
void listRepositoriesAsync(const Model::ListRepositoriesRequest& request, const ListRepositoriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRepositoriesOutcomeCallable listRepositoriesCallable(const Model::ListRepositoriesRequest& request) const;
|
||||
ListRepositoryBranchesOutcome listRepositoryBranches(const Model::ListRepositoryBranchesRequest &request)const;
|
||||
void listRepositoryBranchesAsync(const Model::ListRepositoryBranchesRequest& request, const ListRepositoryBranchesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRepositoryBranchesOutcomeCallable listRepositoryBranchesCallable(const Model::ListRepositoryBranchesRequest& request) const;
|
||||
@@ -296,6 +333,9 @@ namespace AlibabaCloud
|
||||
ListRepositoryTreeOutcome listRepositoryTree(const Model::ListRepositoryTreeRequest &request)const;
|
||||
void listRepositoryTreeAsync(const Model::ListRepositoryTreeRequest& request, const ListRepositoryTreeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRepositoryTreeOutcomeCallable listRepositoryTreeCallable(const Model::ListRepositoryTreeRequest& request) const;
|
||||
ListRepositoryWebhookOutcome listRepositoryWebhook(const Model::ListRepositoryWebhookRequest &request)const;
|
||||
void listRepositoryWebhookAsync(const Model::ListRepositoryWebhookRequest& request, const ListRepositoryWebhookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRepositoryWebhookOutcomeCallable listRepositoryWebhookCallable(const Model::ListRepositoryWebhookRequest& request) const;
|
||||
MergeMergeRequestOutcome mergeMergeRequest(const Model::MergeMergeRequestRequest &request)const;
|
||||
void mergeMergeRequestAsync(const Model::MergeMergeRequestRequest& request, const MergeMergeRequestAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MergeMergeRequestOutcomeCallable mergeMergeRequestCallable(const Model::MergeMergeRequestRequest& request) const;
|
||||
|
||||
@@ -47,6 +47,7 @@ namespace AlibabaCloud
|
||||
long id;
|
||||
bool enableSslVerification;
|
||||
bool noteEvents;
|
||||
std::string secretToken;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CODEUP_MODEL_DELETEREPOSITORYWEBHOOKREQUEST_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_DELETEREPOSITORYWEBHOOKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CODEUP_EXPORT DeleteRepositoryWebhookRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteRepositoryWebhookRequest();
|
||||
~DeleteRepositoryWebhookRequest();
|
||||
|
||||
std::string getOrganizationId()const;
|
||||
void setOrganizationId(const std::string& organizationId);
|
||||
long getWebhookId()const;
|
||||
void setWebhookId(long webhookId);
|
||||
std::string getAccessToken()const;
|
||||
void setAccessToken(const std::string& accessToken);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
std::string organizationId_;
|
||||
long webhookId_;
|
||||
std::string accessToken_;
|
||||
long projectId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_DELETEREPOSITORYWEBHOOKREQUEST_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_CODEUP_MODEL_DELETEREPOSITORYWEBHOOKRESULT_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_DELETEREPOSITORYWEBHOOKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CODEUP_EXPORT DeleteRepositoryWebhookResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
std::string description;
|
||||
std::string lastTestResult;
|
||||
bool pushEvents;
|
||||
std::string createdAt;
|
||||
long projectId;
|
||||
bool tagPushEvents;
|
||||
long id;
|
||||
bool enableSslVerification;
|
||||
bool noteEvents;
|
||||
bool mergeRequestsEvents;
|
||||
std::string url;
|
||||
std::string secretToken;
|
||||
};
|
||||
|
||||
|
||||
DeleteRepositoryWebhookResult();
|
||||
explicit DeleteRepositoryWebhookResult(const std::string &payload);
|
||||
~DeleteRepositoryWebhookResult();
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
Result getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
Result result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_DELETEREPOSITORYWEBHOOKRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CODEUP_MODEL_GETUSERINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_GETUSERINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CODEUP_EXPORT GetUserInfoRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetUserInfoRequest();
|
||||
~GetUserInfoRequest();
|
||||
|
||||
std::string getAccessToken()const;
|
||||
void setAccessToken(const std::string& accessToken);
|
||||
|
||||
private:
|
||||
std::string accessToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_GETUSERINFOREQUEST_H_
|
||||
@@ -14,46 +14,53 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SLB_MODEL_DESCRIBELOADBALANCERLISTENERSEXRESULT_H_
|
||||
#define ALIBABACLOUD_SLB_MODEL_DESCRIBELOADBALANCERLISTENERSEXRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CODEUP_MODEL_GETUSERINFORESULT_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_GETUSERINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/slb/SlbExport.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Slb
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SLB_EXPORT DescribeLoadBalancerListenersExResult : public ServiceResult
|
||||
class ALIBABACLOUD_CODEUP_EXPORT GetUserInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ListenerAttributeExResponseModel
|
||||
struct Result
|
||||
{
|
||||
int listenerPort;
|
||||
std::string protocol;
|
||||
std::string recordCustomizedHeaders;
|
||||
std::string email;
|
||||
std::string avatarUrl;
|
||||
std::string username;
|
||||
std::string externalUserId;
|
||||
long id;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DescribeLoadBalancerListenersExResult();
|
||||
explicit DescribeLoadBalancerListenersExResult(const std::string &payload);
|
||||
~DescribeLoadBalancerListenersExResult();
|
||||
std::string getLoadBalancerId()const;
|
||||
std::vector<ListenerAttributeExResponseModel> getListenerExtendedAttributes()const;
|
||||
GetUserInfoResult();
|
||||
explicit GetUserInfoResult(const std::string &payload);
|
||||
~GetUserInfoResult();
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
Result getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string loadBalancerId_;
|
||||
std::vector<ListenerAttributeExResponseModel> listenerExtendedAttributes_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
Result result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SLB_MODEL_DESCRIBELOADBALANCERLISTENERSEXRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_GETUSERINFORESULT_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_CODEUP_MODEL_LISTORGANIZATIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_LISTORGANIZATIONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CODEUP_EXPORT ListOrganizationsRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListOrganizationsRequest();
|
||||
~ListOrganizationsRequest();
|
||||
|
||||
int getAccessLevel()const;
|
||||
void setAccessLevel(int accessLevel);
|
||||
int getMinAccessLevel()const;
|
||||
void setMinAccessLevel(int minAccessLevel);
|
||||
std::string getAccessToken()const;
|
||||
void setAccessToken(const std::string& accessToken);
|
||||
|
||||
private:
|
||||
int accessLevel_;
|
||||
int minAccessLevel_;
|
||||
std::string accessToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_LISTORGANIZATIONSREQUEST_H_
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CODEUP_MODEL_LISTORGANIZATIONSRESULT_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_LISTORGANIZATIONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CODEUP_EXPORT ListOrganizationsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ResultItem
|
||||
{
|
||||
std::string organizationName;
|
||||
std::string organizationRole;
|
||||
std::string organizationId;
|
||||
int accessLevel;
|
||||
};
|
||||
|
||||
|
||||
ListOrganizationsResult();
|
||||
explicit ListOrganizationsResult(const std::string &payload);
|
||||
~ListOrganizationsResult();
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::vector<ResultItem> getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
std::vector<ResultItem> result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_LISTORGANIZATIONSRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CODEUP_MODEL_LISTREPOSITORIESREQUEST_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_LISTREPOSITORIESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CODEUP_EXPORT ListRepositoriesRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListRepositoriesRequest();
|
||||
~ListRepositoriesRequest();
|
||||
|
||||
std::string getAccessToken()const;
|
||||
void setAccessToken(const std::string& accessToken);
|
||||
bool getArchive()const;
|
||||
void setArchive(bool archive);
|
||||
std::string getSort()const;
|
||||
void setSort(const std::string& sort);
|
||||
std::string getOrganizationId()const;
|
||||
void setOrganizationId(const std::string& organizationId);
|
||||
std::string getSearch()const;
|
||||
void setSearch(const std::string& search);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
long getPage()const;
|
||||
void setPage(long page);
|
||||
std::string getOrder()const;
|
||||
void setOrder(const std::string& order);
|
||||
|
||||
private:
|
||||
std::string accessToken_;
|
||||
bool archive_;
|
||||
std::string sort_;
|
||||
std::string organizationId_;
|
||||
std::string search_;
|
||||
long pageSize_;
|
||||
long page_;
|
||||
std::string order_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_LISTREPOSITORIESREQUEST_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_CODEUP_MODEL_LISTREPOSITORIESRESULT_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_LISTREPOSITORIESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CODEUP_EXPORT ListRepositoriesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ResultItem
|
||||
{
|
||||
std::string path;
|
||||
std::string pathWithNamespace;
|
||||
std::string lastActivityAt;
|
||||
std::string description;
|
||||
bool archive;
|
||||
std::string createdAt;
|
||||
std::string webUrl;
|
||||
std::string nameWithNamespace;
|
||||
std::string visibilityLevel;
|
||||
std::string updatedAt;
|
||||
int accessLevel;
|
||||
std::string name;
|
||||
std::string avatarUrl;
|
||||
bool demoProjectStatus;
|
||||
bool star;
|
||||
std::string importStatus;
|
||||
long id;
|
||||
long namespaceId;
|
||||
long starCount;
|
||||
};
|
||||
|
||||
|
||||
ListRepositoriesResult();
|
||||
explicit ListRepositoriesResult(const std::string &payload);
|
||||
~ListRepositoriesResult();
|
||||
long getTotal()const;
|
||||
int getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::vector<ResultItem> getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long total_;
|
||||
int errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
std::vector<ResultItem> result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_LISTREPOSITORIESRESULT_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_CODEUP_MODEL_LISTREPOSITORYWEBHOOKREQUEST_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_LISTREPOSITORYWEBHOOKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CODEUP_EXPORT ListRepositoryWebhookRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListRepositoryWebhookRequest();
|
||||
~ListRepositoryWebhookRequest();
|
||||
|
||||
std::string getOrganizationId()const;
|
||||
void setOrganizationId(const std::string& organizationId);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getAccessToken()const;
|
||||
void setAccessToken(const std::string& accessToken);
|
||||
long getPage()const;
|
||||
void setPage(long page);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
std::string organizationId_;
|
||||
long pageSize_;
|
||||
std::string accessToken_;
|
||||
long page_;
|
||||
long projectId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_LISTREPOSITORYWEBHOOKREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CODEUP_MODEL_LISTREPOSITORYWEBHOOKRESULT_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_LISTREPOSITORYWEBHOOKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CODEUP_EXPORT ListRepositoryWebhookResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ResultItem
|
||||
{
|
||||
std::string description;
|
||||
std::string lastTestResult;
|
||||
bool pushEvents;
|
||||
std::string createdAt;
|
||||
long projectId;
|
||||
bool tagPushEvents;
|
||||
long id;
|
||||
bool enableSslVerification;
|
||||
bool noteEvents;
|
||||
bool mergeRequestsEvents;
|
||||
std::string url;
|
||||
std::string secretToken;
|
||||
};
|
||||
|
||||
|
||||
ListRepositoryWebhookResult();
|
||||
explicit ListRepositoryWebhookResult(const std::string &payload);
|
||||
~ListRepositoryWebhookResult();
|
||||
long getTotal()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::vector<ResultItem> getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long total_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
std::vector<ResultItem> result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_LISTREPOSITORYWEBHOOKRESULT_H_
|
||||
@@ -627,6 +627,42 @@ CodeupClient::DeleteRepositoryTagOutcomeCallable CodeupClient::deleteRepositoryT
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::DeleteRepositoryWebhookOutcome CodeupClient::deleteRepositoryWebhook(const DeleteRepositoryWebhookRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteRepositoryWebhookOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteRepositoryWebhookOutcome(DeleteRepositoryWebhookResult(outcome.result()));
|
||||
else
|
||||
return DeleteRepositoryWebhookOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CodeupClient::deleteRepositoryWebhookAsync(const DeleteRepositoryWebhookRequest& request, const DeleteRepositoryWebhookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteRepositoryWebhook(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CodeupClient::DeleteRepositoryWebhookOutcomeCallable CodeupClient::deleteRepositoryWebhookCallable(const DeleteRepositoryWebhookRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteRepositoryWebhookOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteRepositoryWebhook(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::GetBranchInfoOutcome CodeupClient::getBranchInfo(const GetBranchInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -879,6 +915,42 @@ CodeupClient::GetRepositoryTagOutcomeCallable CodeupClient::getRepositoryTagCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::GetUserInfoOutcome CodeupClient::getUserInfo(const GetUserInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetUserInfoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetUserInfoOutcome(GetUserInfoResult(outcome.result()));
|
||||
else
|
||||
return GetUserInfoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CodeupClient::getUserInfoAsync(const GetUserInfoRequest& request, const GetUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getUserInfo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CodeupClient::GetUserInfoOutcomeCallable CodeupClient::getUserInfoCallable(const GetUserInfoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetUserInfoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getUserInfo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::ListGroupMemberOutcome CodeupClient::listGroupMember(const ListGroupMemberRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -987,6 +1059,78 @@ CodeupClient::ListGroupsOutcomeCallable CodeupClient::listGroupsCallable(const L
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::ListOrganizationsOutcome CodeupClient::listOrganizations(const ListOrganizationsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListOrganizationsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListOrganizationsOutcome(ListOrganizationsResult(outcome.result()));
|
||||
else
|
||||
return ListOrganizationsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CodeupClient::listOrganizationsAsync(const ListOrganizationsRequest& request, const ListOrganizationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listOrganizations(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CodeupClient::ListOrganizationsOutcomeCallable CodeupClient::listOrganizationsCallable(const ListOrganizationsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListOrganizationsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listOrganizations(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::ListRepositoriesOutcome CodeupClient::listRepositories(const ListRepositoriesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListRepositoriesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListRepositoriesOutcome(ListRepositoriesResult(outcome.result()));
|
||||
else
|
||||
return ListRepositoriesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CodeupClient::listRepositoriesAsync(const ListRepositoriesRequest& request, const ListRepositoriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listRepositories(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CodeupClient::ListRepositoriesOutcomeCallable CodeupClient::listRepositoriesCallable(const ListRepositoriesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListRepositoriesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listRepositories(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::ListRepositoryBranchesOutcome CodeupClient::listRepositoryBranches(const ListRepositoryBranchesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1131,6 +1275,42 @@ CodeupClient::ListRepositoryTreeOutcomeCallable CodeupClient::listRepositoryTree
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::ListRepositoryWebhookOutcome CodeupClient::listRepositoryWebhook(const ListRepositoryWebhookRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListRepositoryWebhookOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListRepositoryWebhookOutcome(ListRepositoryWebhookResult(outcome.result()));
|
||||
else
|
||||
return ListRepositoryWebhookOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CodeupClient::listRepositoryWebhookAsync(const ListRepositoryWebhookRequest& request, const ListRepositoryWebhookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listRepositoryWebhook(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CodeupClient::ListRepositoryWebhookOutcomeCallable CodeupClient::listRepositoryWebhookCallable(const ListRepositoryWebhookRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListRepositoryWebhookOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listRepositoryWebhook(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::MergeMergeRequestOutcome CodeupClient::mergeMergeRequest(const MergeMergeRequestRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -66,6 +66,8 @@ void AddWebhookResult::parse(const std::string &payload)
|
||||
result_.lastTestResult = resultNode["LastTestResult"].asString();
|
||||
if(!resultNode["Description"].isNull())
|
||||
result_.description = resultNode["Description"].asString();
|
||||
if(!resultNode["SecretToken"].isNull())
|
||||
result_.secretToken = resultNode["SecretToken"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
|
||||
74
codeup/src/model/DeleteRepositoryWebhookRequest.cc
Normal file
74
codeup/src/model/DeleteRepositoryWebhookRequest.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/codeup/model/DeleteRepositoryWebhookRequest.h>
|
||||
|
||||
using AlibabaCloud::Codeup::Model::DeleteRepositoryWebhookRequest;
|
||||
|
||||
DeleteRepositoryWebhookRequest::DeleteRepositoryWebhookRequest() :
|
||||
RoaServiceRequest("codeup", "2020-04-14")
|
||||
{
|
||||
setResourcePath("/api/v3/projects/[ProjectId]/hooks/[WebhookId]");
|
||||
setMethod(HttpRequest::Method::Delete);
|
||||
}
|
||||
|
||||
DeleteRepositoryWebhookRequest::~DeleteRepositoryWebhookRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteRepositoryWebhookRequest::getOrganizationId()const
|
||||
{
|
||||
return organizationId_;
|
||||
}
|
||||
|
||||
void DeleteRepositoryWebhookRequest::setOrganizationId(const std::string& organizationId)
|
||||
{
|
||||
organizationId_ = organizationId;
|
||||
setParameter("OrganizationId", organizationId);
|
||||
}
|
||||
|
||||
long DeleteRepositoryWebhookRequest::getWebhookId()const
|
||||
{
|
||||
return webhookId_;
|
||||
}
|
||||
|
||||
void DeleteRepositoryWebhookRequest::setWebhookId(long webhookId)
|
||||
{
|
||||
webhookId_ = webhookId;
|
||||
setParameter("WebhookId", std::to_string(webhookId));
|
||||
}
|
||||
|
||||
std::string DeleteRepositoryWebhookRequest::getAccessToken()const
|
||||
{
|
||||
return accessToken_;
|
||||
}
|
||||
|
||||
void DeleteRepositoryWebhookRequest::setAccessToken(const std::string& accessToken)
|
||||
{
|
||||
accessToken_ = accessToken;
|
||||
setParameter("AccessToken", accessToken);
|
||||
}
|
||||
|
||||
long DeleteRepositoryWebhookRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void DeleteRepositoryWebhookRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
95
codeup/src/model/DeleteRepositoryWebhookResult.cc
Normal file
95
codeup/src/model/DeleteRepositoryWebhookResult.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/codeup/model/DeleteRepositoryWebhookResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Codeup;
|
||||
using namespace AlibabaCloud::Codeup::Model;
|
||||
|
||||
DeleteRepositoryWebhookResult::DeleteRepositoryWebhookResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteRepositoryWebhookResult::DeleteRepositoryWebhookResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteRepositoryWebhookResult::~DeleteRepositoryWebhookResult()
|
||||
{}
|
||||
|
||||
void DeleteRepositoryWebhookResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto resultNode = value["Result"];
|
||||
if(!resultNode["Id"].isNull())
|
||||
result_.id = std::stol(resultNode["Id"].asString());
|
||||
if(!resultNode["Url"].isNull())
|
||||
result_.url = resultNode["Url"].asString();
|
||||
if(!resultNode["CreatedAt"].isNull())
|
||||
result_.createdAt = resultNode["CreatedAt"].asString();
|
||||
if(!resultNode["ProjectId"].isNull())
|
||||
result_.projectId = std::stol(resultNode["ProjectId"].asString());
|
||||
if(!resultNode["PushEvents"].isNull())
|
||||
result_.pushEvents = resultNode["PushEvents"].asString() == "true";
|
||||
if(!resultNode["MergeRequestsEvents"].isNull())
|
||||
result_.mergeRequestsEvents = resultNode["MergeRequestsEvents"].asString() == "true";
|
||||
if(!resultNode["TagPushEvents"].isNull())
|
||||
result_.tagPushEvents = resultNode["TagPushEvents"].asString() == "true";
|
||||
if(!resultNode["NoteEvents"].isNull())
|
||||
result_.noteEvents = resultNode["NoteEvents"].asString() == "true";
|
||||
if(!resultNode["EnableSslVerification"].isNull())
|
||||
result_.enableSslVerification = resultNode["EnableSslVerification"].asString() == "true";
|
||||
if(!resultNode["LastTestResult"].isNull())
|
||||
result_.lastTestResult = resultNode["LastTestResult"].asString();
|
||||
if(!resultNode["Description"].isNull())
|
||||
result_.description = resultNode["Description"].asString();
|
||||
if(!resultNode["SecretToken"].isNull())
|
||||
result_.secretToken = resultNode["SecretToken"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteRepositoryWebhookResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DeleteRepositoryWebhookResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool DeleteRepositoryWebhookResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
DeleteRepositoryWebhookResult::Result DeleteRepositoryWebhookResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
41
codeup/src/model/GetUserInfoRequest.cc
Normal file
41
codeup/src/model/GetUserInfoRequest.cc
Normal file
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/codeup/model/GetUserInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Codeup::Model::GetUserInfoRequest;
|
||||
|
||||
GetUserInfoRequest::GetUserInfoRequest() :
|
||||
RoaServiceRequest("codeup", "2020-04-14")
|
||||
{
|
||||
setResourcePath("/api/v3/user/current");
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
GetUserInfoRequest::~GetUserInfoRequest()
|
||||
{}
|
||||
|
||||
std::string GetUserInfoRequest::getAccessToken()const
|
||||
{
|
||||
return accessToken_;
|
||||
}
|
||||
|
||||
void GetUserInfoRequest::setAccessToken(const std::string& accessToken)
|
||||
{
|
||||
accessToken_ = accessToken;
|
||||
setParameter("AccessToken", accessToken);
|
||||
}
|
||||
|
||||
83
codeup/src/model/GetUserInfoResult.cc
Normal file
83
codeup/src/model/GetUserInfoResult.cc
Normal file
@@ -0,0 +1,83 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/codeup/model/GetUserInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Codeup;
|
||||
using namespace AlibabaCloud::Codeup::Model;
|
||||
|
||||
GetUserInfoResult::GetUserInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetUserInfoResult::GetUserInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetUserInfoResult::~GetUserInfoResult()
|
||||
{}
|
||||
|
||||
void GetUserInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto resultNode = value["Result"];
|
||||
if(!resultNode["Id"].isNull())
|
||||
result_.id = std::stol(resultNode["Id"].asString());
|
||||
if(!resultNode["ExternalUserId"].isNull())
|
||||
result_.externalUserId = resultNode["ExternalUserId"].asString();
|
||||
if(!resultNode["Username"].isNull())
|
||||
result_.username = resultNode["Username"].asString();
|
||||
if(!resultNode["Name"].isNull())
|
||||
result_.name = resultNode["Name"].asString();
|
||||
if(!resultNode["Email"].isNull())
|
||||
result_.email = resultNode["Email"].asString();
|
||||
if(!resultNode["AvatarUrl"].isNull())
|
||||
result_.avatarUrl = resultNode["AvatarUrl"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetUserInfoResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string GetUserInfoResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool GetUserInfoResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
GetUserInfoResult::Result GetUserInfoResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
63
codeup/src/model/ListOrganizationsRequest.cc
Normal file
63
codeup/src/model/ListOrganizationsRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/codeup/model/ListOrganizationsRequest.h>
|
||||
|
||||
using AlibabaCloud::Codeup::Model::ListOrganizationsRequest;
|
||||
|
||||
ListOrganizationsRequest::ListOrganizationsRequest() :
|
||||
RoaServiceRequest("codeup", "2020-04-14")
|
||||
{
|
||||
setResourcePath("/api/v4/organization");
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
ListOrganizationsRequest::~ListOrganizationsRequest()
|
||||
{}
|
||||
|
||||
int ListOrganizationsRequest::getAccessLevel()const
|
||||
{
|
||||
return accessLevel_;
|
||||
}
|
||||
|
||||
void ListOrganizationsRequest::setAccessLevel(int accessLevel)
|
||||
{
|
||||
accessLevel_ = accessLevel;
|
||||
setParameter("AccessLevel", std::to_string(accessLevel));
|
||||
}
|
||||
|
||||
int ListOrganizationsRequest::getMinAccessLevel()const
|
||||
{
|
||||
return minAccessLevel_;
|
||||
}
|
||||
|
||||
void ListOrganizationsRequest::setMinAccessLevel(int minAccessLevel)
|
||||
{
|
||||
minAccessLevel_ = minAccessLevel;
|
||||
setParameter("MinAccessLevel", std::to_string(minAccessLevel));
|
||||
}
|
||||
|
||||
std::string ListOrganizationsRequest::getAccessToken()const
|
||||
{
|
||||
return accessToken_;
|
||||
}
|
||||
|
||||
void ListOrganizationsRequest::setAccessToken(const std::string& accessToken)
|
||||
{
|
||||
accessToken_ = accessToken;
|
||||
setParameter("AccessToken", accessToken);
|
||||
}
|
||||
|
||||
84
codeup/src/model/ListOrganizationsResult.cc
Normal file
84
codeup/src/model/ListOrganizationsResult.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/codeup/model/ListOrganizationsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Codeup;
|
||||
using namespace AlibabaCloud::Codeup::Model;
|
||||
|
||||
ListOrganizationsResult::ListOrganizationsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListOrganizationsResult::ListOrganizationsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListOrganizationsResult::~ListOrganizationsResult()
|
||||
{}
|
||||
|
||||
void ListOrganizationsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allResultNode = value["Result"]["ResultItem"];
|
||||
for (auto valueResultResultItem : allResultNode)
|
||||
{
|
||||
ResultItem resultObject;
|
||||
if(!valueResultResultItem["OrganizationId"].isNull())
|
||||
resultObject.organizationId = valueResultResultItem["OrganizationId"].asString();
|
||||
if(!valueResultResultItem["OrganizationName"].isNull())
|
||||
resultObject.organizationName = valueResultResultItem["OrganizationName"].asString();
|
||||
if(!valueResultResultItem["OrganizationRole"].isNull())
|
||||
resultObject.organizationRole = valueResultResultItem["OrganizationRole"].asString();
|
||||
if(!valueResultResultItem["AccessLevel"].isNull())
|
||||
resultObject.accessLevel = std::stoi(valueResultResultItem["AccessLevel"].asString());
|
||||
result_.push_back(resultObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ListOrganizationsResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string ListOrganizationsResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool ListOrganizationsResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::vector<ListOrganizationsResult::ResultItem> ListOrganizationsResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
118
codeup/src/model/ListRepositoriesRequest.cc
Normal file
118
codeup/src/model/ListRepositoriesRequest.cc
Normal file
@@ -0,0 +1,118 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/codeup/model/ListRepositoriesRequest.h>
|
||||
|
||||
using AlibabaCloud::Codeup::Model::ListRepositoriesRequest;
|
||||
|
||||
ListRepositoriesRequest::ListRepositoriesRequest() :
|
||||
RoaServiceRequest("codeup", "2020-04-14")
|
||||
{
|
||||
setResourcePath("/api/v3/projects/all");
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
ListRepositoriesRequest::~ListRepositoriesRequest()
|
||||
{}
|
||||
|
||||
std::string ListRepositoriesRequest::getAccessToken()const
|
||||
{
|
||||
return accessToken_;
|
||||
}
|
||||
|
||||
void ListRepositoriesRequest::setAccessToken(const std::string& accessToken)
|
||||
{
|
||||
accessToken_ = accessToken;
|
||||
setParameter("AccessToken", accessToken);
|
||||
}
|
||||
|
||||
bool ListRepositoriesRequest::getArchive()const
|
||||
{
|
||||
return archive_;
|
||||
}
|
||||
|
||||
void ListRepositoriesRequest::setArchive(bool archive)
|
||||
{
|
||||
archive_ = archive;
|
||||
setParameter("Archive", archive ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ListRepositoriesRequest::getSort()const
|
||||
{
|
||||
return sort_;
|
||||
}
|
||||
|
||||
void ListRepositoriesRequest::setSort(const std::string& sort)
|
||||
{
|
||||
sort_ = sort;
|
||||
setParameter("Sort", sort);
|
||||
}
|
||||
|
||||
std::string ListRepositoriesRequest::getOrganizationId()const
|
||||
{
|
||||
return organizationId_;
|
||||
}
|
||||
|
||||
void ListRepositoriesRequest::setOrganizationId(const std::string& organizationId)
|
||||
{
|
||||
organizationId_ = organizationId;
|
||||
setParameter("OrganizationId", organizationId);
|
||||
}
|
||||
|
||||
std::string ListRepositoriesRequest::getSearch()const
|
||||
{
|
||||
return search_;
|
||||
}
|
||||
|
||||
void ListRepositoriesRequest::setSearch(const std::string& search)
|
||||
{
|
||||
search_ = search;
|
||||
setParameter("Search", search);
|
||||
}
|
||||
|
||||
long ListRepositoriesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListRepositoriesRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long ListRepositoriesRequest::getPage()const
|
||||
{
|
||||
return page_;
|
||||
}
|
||||
|
||||
void ListRepositoriesRequest::setPage(long page)
|
||||
{
|
||||
page_ = page;
|
||||
setParameter("Page", std::to_string(page));
|
||||
}
|
||||
|
||||
std::string ListRepositoriesRequest::getOrder()const
|
||||
{
|
||||
return order_;
|
||||
}
|
||||
|
||||
void ListRepositoriesRequest::setOrder(const std::string& order)
|
||||
{
|
||||
order_ = order;
|
||||
setParameter("Order", order);
|
||||
}
|
||||
|
||||
121
codeup/src/model/ListRepositoriesResult.cc
Normal file
121
codeup/src/model/ListRepositoriesResult.cc
Normal file
@@ -0,0 +1,121 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/codeup/model/ListRepositoriesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Codeup;
|
||||
using namespace AlibabaCloud::Codeup::Model;
|
||||
|
||||
ListRepositoriesResult::ListRepositoriesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListRepositoriesResult::ListRepositoriesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListRepositoriesResult::~ListRepositoriesResult()
|
||||
{}
|
||||
|
||||
void ListRepositoriesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allResultNode = value["Result"]["ResultItem"];
|
||||
for (auto valueResultResultItem : allResultNode)
|
||||
{
|
||||
ResultItem resultObject;
|
||||
if(!valueResultResultItem["Id"].isNull())
|
||||
resultObject.id = std::stol(valueResultResultItem["Id"].asString());
|
||||
if(!valueResultResultItem["Description"].isNull())
|
||||
resultObject.description = valueResultResultItem["Description"].asString();
|
||||
if(!valueResultResultItem["VisibilityLevel"].isNull())
|
||||
resultObject.visibilityLevel = valueResultResultItem["VisibilityLevel"].asString();
|
||||
if(!valueResultResultItem["WebUrl"].isNull())
|
||||
resultObject.webUrl = valueResultResultItem["WebUrl"].asString();
|
||||
if(!valueResultResultItem["Name"].isNull())
|
||||
resultObject.name = valueResultResultItem["Name"].asString();
|
||||
if(!valueResultResultItem["NameWithNamespace"].isNull())
|
||||
resultObject.nameWithNamespace = valueResultResultItem["NameWithNamespace"].asString();
|
||||
if(!valueResultResultItem["Path"].isNull())
|
||||
resultObject.path = valueResultResultItem["Path"].asString();
|
||||
if(!valueResultResultItem["PathWithNamespace"].isNull())
|
||||
resultObject.pathWithNamespace = valueResultResultItem["PathWithNamespace"].asString();
|
||||
if(!valueResultResultItem["CreatedAt"].isNull())
|
||||
resultObject.createdAt = valueResultResultItem["CreatedAt"].asString();
|
||||
if(!valueResultResultItem["LastActivityAt"].isNull())
|
||||
resultObject.lastActivityAt = valueResultResultItem["LastActivityAt"].asString();
|
||||
if(!valueResultResultItem["Archive"].isNull())
|
||||
resultObject.archive = valueResultResultItem["Archive"].asString() == "true";
|
||||
if(!valueResultResultItem["AvatarUrl"].isNull())
|
||||
resultObject.avatarUrl = valueResultResultItem["AvatarUrl"].asString();
|
||||
if(!valueResultResultItem["DemoProjectStatus"].isNull())
|
||||
resultObject.demoProjectStatus = valueResultResultItem["DemoProjectStatus"].asString() == "true";
|
||||
if(!valueResultResultItem["AccessLevel"].isNull())
|
||||
resultObject.accessLevel = std::stoi(valueResultResultItem["AccessLevel"].asString());
|
||||
if(!valueResultResultItem["ImportStatus"].isNull())
|
||||
resultObject.importStatus = valueResultResultItem["ImportStatus"].asString();
|
||||
if(!valueResultResultItem["NamespaceId"].isNull())
|
||||
resultObject.namespaceId = std::stol(valueResultResultItem["NamespaceId"].asString());
|
||||
if(!valueResultResultItem["UpdatedAt"].isNull())
|
||||
resultObject.updatedAt = valueResultResultItem["UpdatedAt"].asString();
|
||||
if(!valueResultResultItem["StarCount"].isNull())
|
||||
resultObject.starCount = std::stol(valueResultResultItem["StarCount"].asString());
|
||||
if(!valueResultResultItem["Star"].isNull())
|
||||
resultObject.star = valueResultResultItem["Star"].asString() == "true";
|
||||
result_.push_back(resultObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Total"].isNull())
|
||||
total_ = std::stol(value["Total"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ListRepositoriesResult::getTotal()const
|
||||
{
|
||||
return total_;
|
||||
}
|
||||
|
||||
int ListRepositoriesResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string ListRepositoriesResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool ListRepositoriesResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::vector<ListRepositoriesResult::ResultItem> ListRepositoriesResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
85
codeup/src/model/ListRepositoryWebhookRequest.cc
Normal file
85
codeup/src/model/ListRepositoryWebhookRequest.cc
Normal file
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/codeup/model/ListRepositoryWebhookRequest.h>
|
||||
|
||||
using AlibabaCloud::Codeup::Model::ListRepositoryWebhookRequest;
|
||||
|
||||
ListRepositoryWebhookRequest::ListRepositoryWebhookRequest() :
|
||||
RoaServiceRequest("codeup", "2020-04-14")
|
||||
{
|
||||
setResourcePath("/api/v3/projects/[ProjectId]/hooks");
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
ListRepositoryWebhookRequest::~ListRepositoryWebhookRequest()
|
||||
{}
|
||||
|
||||
std::string ListRepositoryWebhookRequest::getOrganizationId()const
|
||||
{
|
||||
return organizationId_;
|
||||
}
|
||||
|
||||
void ListRepositoryWebhookRequest::setOrganizationId(const std::string& organizationId)
|
||||
{
|
||||
organizationId_ = organizationId;
|
||||
setParameter("OrganizationId", organizationId);
|
||||
}
|
||||
|
||||
long ListRepositoryWebhookRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListRepositoryWebhookRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListRepositoryWebhookRequest::getAccessToken()const
|
||||
{
|
||||
return accessToken_;
|
||||
}
|
||||
|
||||
void ListRepositoryWebhookRequest::setAccessToken(const std::string& accessToken)
|
||||
{
|
||||
accessToken_ = accessToken;
|
||||
setParameter("AccessToken", accessToken);
|
||||
}
|
||||
|
||||
long ListRepositoryWebhookRequest::getPage()const
|
||||
{
|
||||
return page_;
|
||||
}
|
||||
|
||||
void ListRepositoryWebhookRequest::setPage(long page)
|
||||
{
|
||||
page_ = page;
|
||||
setParameter("Page", std::to_string(page));
|
||||
}
|
||||
|
||||
long ListRepositoryWebhookRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void ListRepositoryWebhookRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
107
codeup/src/model/ListRepositoryWebhookResult.cc
Normal file
107
codeup/src/model/ListRepositoryWebhookResult.cc
Normal file
@@ -0,0 +1,107 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/codeup/model/ListRepositoryWebhookResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Codeup;
|
||||
using namespace AlibabaCloud::Codeup::Model;
|
||||
|
||||
ListRepositoryWebhookResult::ListRepositoryWebhookResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListRepositoryWebhookResult::ListRepositoryWebhookResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListRepositoryWebhookResult::~ListRepositoryWebhookResult()
|
||||
{}
|
||||
|
||||
void ListRepositoryWebhookResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allResultNode = value["Result"]["ResultItem"];
|
||||
for (auto valueResultResultItem : allResultNode)
|
||||
{
|
||||
ResultItem resultObject;
|
||||
if(!valueResultResultItem["Id"].isNull())
|
||||
resultObject.id = std::stol(valueResultResultItem["Id"].asString());
|
||||
if(!valueResultResultItem["Url"].isNull())
|
||||
resultObject.url = valueResultResultItem["Url"].asString();
|
||||
if(!valueResultResultItem["CreatedAt"].isNull())
|
||||
resultObject.createdAt = valueResultResultItem["CreatedAt"].asString();
|
||||
if(!valueResultResultItem["ProjectId"].isNull())
|
||||
resultObject.projectId = std::stol(valueResultResultItem["ProjectId"].asString());
|
||||
if(!valueResultResultItem["PushEvents"].isNull())
|
||||
resultObject.pushEvents = valueResultResultItem["PushEvents"].asString() == "true";
|
||||
if(!valueResultResultItem["MergeRequestsEvents"].isNull())
|
||||
resultObject.mergeRequestsEvents = valueResultResultItem["MergeRequestsEvents"].asString() == "true";
|
||||
if(!valueResultResultItem["TagPushEvents"].isNull())
|
||||
resultObject.tagPushEvents = valueResultResultItem["TagPushEvents"].asString() == "true";
|
||||
if(!valueResultResultItem["NoteEvents"].isNull())
|
||||
resultObject.noteEvents = valueResultResultItem["NoteEvents"].asString() == "true";
|
||||
if(!valueResultResultItem["EnableSslVerification"].isNull())
|
||||
resultObject.enableSslVerification = valueResultResultItem["EnableSslVerification"].asString() == "true";
|
||||
if(!valueResultResultItem["LastTestResult"].isNull())
|
||||
resultObject.lastTestResult = valueResultResultItem["LastTestResult"].asString();
|
||||
if(!valueResultResultItem["Description"].isNull())
|
||||
resultObject.description = valueResultResultItem["Description"].asString();
|
||||
if(!valueResultResultItem["SecretToken"].isNull())
|
||||
resultObject.secretToken = valueResultResultItem["SecretToken"].asString();
|
||||
result_.push_back(resultObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Total"].isNull())
|
||||
total_ = std::stol(value["Total"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ListRepositoryWebhookResult::getTotal()const
|
||||
{
|
||||
return total_;
|
||||
}
|
||||
|
||||
std::string ListRepositoryWebhookResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string ListRepositoryWebhookResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool ListRepositoryWebhookResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::vector<ListRepositoryWebhookResult::ResultItem> ListRepositoryWebhookResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListQualityResultsByEntityResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct QualityResults
|
||||
struct Data
|
||||
{
|
||||
struct RuleChecksItem
|
||||
{
|
||||
@@ -102,12 +102,20 @@ namespace AlibabaCloud
|
||||
ListQualityResultsByEntityResult();
|
||||
explicit ListQualityResultsByEntityResult(const std::string &payload);
|
||||
~ListQualityResultsByEntityResult();
|
||||
QualityResults getQualityResults()const;
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
QualityResults qualityResults_;
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListQualityResultsByRuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct QualityResults
|
||||
struct Data
|
||||
{
|
||||
struct RuleChecksItem
|
||||
{
|
||||
@@ -102,12 +102,20 @@ namespace AlibabaCloud
|
||||
ListQualityResultsByRuleResult();
|
||||
explicit ListQualityResultsByRuleResult(const std::string &payload);
|
||||
~ListQualityResultsByRuleResult();
|
||||
QualityResults getQualityResults()const;
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
QualityResults qualityResults_;
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,130 +39,158 @@ void ListQualityResultsByEntityResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto qualityResultsNode = value["QualityResults"];
|
||||
if(!qualityResultsNode["TotalCount"].isNull())
|
||||
qualityResults_.totalCount = std::stol(qualityResultsNode["TotalCount"].asString());
|
||||
if(!qualityResultsNode["PageNumber"].isNull())
|
||||
qualityResults_.pageNumber = std::stoi(qualityResultsNode["PageNumber"].asString());
|
||||
if(!qualityResultsNode["PageSize"].isNull())
|
||||
qualityResults_.pageSize = std::stoi(qualityResultsNode["PageSize"].asString());
|
||||
auto allRuleChecksNode = qualityResultsNode["RuleChecks"]["RuleChecksItem"];
|
||||
for (auto qualityResultsNodeRuleChecksRuleChecksItem : allRuleChecksNode)
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["TotalCount"].isNull())
|
||||
data_.totalCount = std::stol(dataNode["TotalCount"].asString());
|
||||
if(!dataNode["PageNumber"].isNull())
|
||||
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
|
||||
if(!dataNode["PageSize"].isNull())
|
||||
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
|
||||
auto allRuleChecksNode = dataNode["RuleChecks"]["RuleChecksItem"];
|
||||
for (auto dataNodeRuleChecksRuleChecksItem : allRuleChecksNode)
|
||||
{
|
||||
QualityResults::RuleChecksItem ruleChecksItemObject;
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["Id"].isNull())
|
||||
ruleChecksItemObject.id = std::stoi(qualityResultsNodeRuleChecksRuleChecksItem["Id"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["TaskId"].isNull())
|
||||
ruleChecksItemObject.taskId = qualityResultsNodeRuleChecksRuleChecksItem["TaskId"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["EntityId"].isNull())
|
||||
ruleChecksItemObject.entityId = std::stoi(qualityResultsNodeRuleChecksRuleChecksItem["EntityId"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["RuleId"].isNull())
|
||||
ruleChecksItemObject.ruleId = std::stoi(qualityResultsNodeRuleChecksRuleChecksItem["RuleId"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["Property"].isNull())
|
||||
ruleChecksItemObject.property = qualityResultsNodeRuleChecksRuleChecksItem["Property"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["BizDate"].isNull())
|
||||
ruleChecksItemObject.bizDate = std::stol(qualityResultsNodeRuleChecksRuleChecksItem["BizDate"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["DateType"].isNull())
|
||||
ruleChecksItemObject.dateType = qualityResultsNodeRuleChecksRuleChecksItem["DateType"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["ActualExpression"].isNull())
|
||||
ruleChecksItemObject.actualExpression = qualityResultsNodeRuleChecksRuleChecksItem["ActualExpression"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["MatchExpression"].isNull())
|
||||
ruleChecksItemObject.matchExpression = qualityResultsNodeRuleChecksRuleChecksItem["MatchExpression"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["BlockType"].isNull())
|
||||
ruleChecksItemObject.blockType = std::stoi(qualityResultsNodeRuleChecksRuleChecksItem["BlockType"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["CheckResult"].isNull())
|
||||
ruleChecksItemObject.checkResult = std::stoi(qualityResultsNodeRuleChecksRuleChecksItem["CheckResult"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["CheckResultStatus"].isNull())
|
||||
ruleChecksItemObject.checkResultStatus = std::stoi(qualityResultsNodeRuleChecksRuleChecksItem["CheckResultStatus"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["MethodName"].isNull())
|
||||
ruleChecksItemObject.methodName = qualityResultsNodeRuleChecksRuleChecksItem["MethodName"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["Comment"].isNull())
|
||||
ruleChecksItemObject.comment = qualityResultsNodeRuleChecksRuleChecksItem["Comment"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["WhereCondition"].isNull())
|
||||
ruleChecksItemObject.whereCondition = qualityResultsNodeRuleChecksRuleChecksItem["WhereCondition"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["BeginTime"].isNull())
|
||||
ruleChecksItemObject.beginTime = std::stol(qualityResultsNodeRuleChecksRuleChecksItem["BeginTime"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["EndTime"].isNull())
|
||||
ruleChecksItemObject.endTime = std::stol(qualityResultsNodeRuleChecksRuleChecksItem["EndTime"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["TimeCost"].isNull())
|
||||
ruleChecksItemObject.timeCost = qualityResultsNodeRuleChecksRuleChecksItem["TimeCost"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["ExternalType"].isNull())
|
||||
ruleChecksItemObject.externalType = qualityResultsNodeRuleChecksRuleChecksItem["ExternalType"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["ExternalId"].isNull())
|
||||
ruleChecksItemObject.externalId = qualityResultsNodeRuleChecksRuleChecksItem["ExternalId"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["DiscreteCheck"].isNull())
|
||||
ruleChecksItemObject.discreteCheck = qualityResultsNodeRuleChecksRuleChecksItem["DiscreteCheck"].asString() == "true";
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["FixedCheck"].isNull())
|
||||
ruleChecksItemObject.fixedCheck = qualityResultsNodeRuleChecksRuleChecksItem["FixedCheck"].asString() == "true";
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["Trend"].isNull())
|
||||
ruleChecksItemObject.trend = qualityResultsNodeRuleChecksRuleChecksItem["Trend"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["WarningThreshold"].isNull())
|
||||
ruleChecksItemObject.warningThreshold = std::stof(qualityResultsNodeRuleChecksRuleChecksItem["WarningThreshold"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["CriticalThreshold"].isNull())
|
||||
ruleChecksItemObject.criticalThreshold = std::stof(qualityResultsNodeRuleChecksRuleChecksItem["CriticalThreshold"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["ExpectValue"].isNull())
|
||||
ruleChecksItemObject.expectValue = std::stof(qualityResultsNodeRuleChecksRuleChecksItem["ExpectValue"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["Op"].isNull())
|
||||
ruleChecksItemObject.op = qualityResultsNodeRuleChecksRuleChecksItem["Op"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["ProjectName"].isNull())
|
||||
ruleChecksItemObject.projectName = qualityResultsNodeRuleChecksRuleChecksItem["ProjectName"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["TableName"].isNull())
|
||||
ruleChecksItemObject.tableName = qualityResultsNodeRuleChecksRuleChecksItem["TableName"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["TemplateId"].isNull())
|
||||
ruleChecksItemObject.templateId = std::stoi(qualityResultsNodeRuleChecksRuleChecksItem["TemplateId"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["TemplateName"].isNull())
|
||||
ruleChecksItemObject.templateName = qualityResultsNodeRuleChecksRuleChecksItem["TemplateName"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["ResultString"].isNull())
|
||||
ruleChecksItemObject.resultString = qualityResultsNodeRuleChecksRuleChecksItem["ResultString"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["CheckerId"].isNull())
|
||||
ruleChecksItemObject.checkerId = std::stoi(qualityResultsNodeRuleChecksRuleChecksItem["CheckerId"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["CheckerType"].isNull())
|
||||
ruleChecksItemObject.checkerType = std::stoi(qualityResultsNodeRuleChecksRuleChecksItem["CheckerType"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["RuleName"].isNull())
|
||||
ruleChecksItemObject.ruleName = qualityResultsNodeRuleChecksRuleChecksItem["RuleName"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["IsPrediction"].isNull())
|
||||
ruleChecksItemObject.isPrediction = qualityResultsNodeRuleChecksRuleChecksItem["IsPrediction"].asString() == "true";
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["UpperValue"].isNull())
|
||||
ruleChecksItemObject.upperValue = std::stof(qualityResultsNodeRuleChecksRuleChecksItem["UpperValue"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["LowerValue"].isNull())
|
||||
ruleChecksItemObject.lowerValue = std::stof(qualityResultsNodeRuleChecksRuleChecksItem["LowerValue"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["CheckerName"].isNull())
|
||||
ruleChecksItemObject.checkerName = qualityResultsNodeRuleChecksRuleChecksItem["CheckerName"].asString();
|
||||
auto allReferenceValueNode = qualityResultsNodeRuleChecksRuleChecksItem["ReferenceValue"]["ReferenceValueItem"];
|
||||
for (auto qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem : allReferenceValueNode)
|
||||
Data::RuleChecksItem ruleChecksItemObject;
|
||||
if(!dataNodeRuleChecksRuleChecksItem["Id"].isNull())
|
||||
ruleChecksItemObject.id = std::stoi(dataNodeRuleChecksRuleChecksItem["Id"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["TaskId"].isNull())
|
||||
ruleChecksItemObject.taskId = dataNodeRuleChecksRuleChecksItem["TaskId"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["EntityId"].isNull())
|
||||
ruleChecksItemObject.entityId = std::stoi(dataNodeRuleChecksRuleChecksItem["EntityId"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["RuleId"].isNull())
|
||||
ruleChecksItemObject.ruleId = std::stoi(dataNodeRuleChecksRuleChecksItem["RuleId"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["Property"].isNull())
|
||||
ruleChecksItemObject.property = dataNodeRuleChecksRuleChecksItem["Property"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["BizDate"].isNull())
|
||||
ruleChecksItemObject.bizDate = std::stol(dataNodeRuleChecksRuleChecksItem["BizDate"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["DateType"].isNull())
|
||||
ruleChecksItemObject.dateType = dataNodeRuleChecksRuleChecksItem["DateType"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["ActualExpression"].isNull())
|
||||
ruleChecksItemObject.actualExpression = dataNodeRuleChecksRuleChecksItem["ActualExpression"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["MatchExpression"].isNull())
|
||||
ruleChecksItemObject.matchExpression = dataNodeRuleChecksRuleChecksItem["MatchExpression"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["BlockType"].isNull())
|
||||
ruleChecksItemObject.blockType = std::stoi(dataNodeRuleChecksRuleChecksItem["BlockType"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["CheckResult"].isNull())
|
||||
ruleChecksItemObject.checkResult = std::stoi(dataNodeRuleChecksRuleChecksItem["CheckResult"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["CheckResultStatus"].isNull())
|
||||
ruleChecksItemObject.checkResultStatus = std::stoi(dataNodeRuleChecksRuleChecksItem["CheckResultStatus"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["MethodName"].isNull())
|
||||
ruleChecksItemObject.methodName = dataNodeRuleChecksRuleChecksItem["MethodName"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["Comment"].isNull())
|
||||
ruleChecksItemObject.comment = dataNodeRuleChecksRuleChecksItem["Comment"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["WhereCondition"].isNull())
|
||||
ruleChecksItemObject.whereCondition = dataNodeRuleChecksRuleChecksItem["WhereCondition"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["BeginTime"].isNull())
|
||||
ruleChecksItemObject.beginTime = std::stol(dataNodeRuleChecksRuleChecksItem["BeginTime"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["EndTime"].isNull())
|
||||
ruleChecksItemObject.endTime = std::stol(dataNodeRuleChecksRuleChecksItem["EndTime"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["TimeCost"].isNull())
|
||||
ruleChecksItemObject.timeCost = dataNodeRuleChecksRuleChecksItem["TimeCost"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["ExternalType"].isNull())
|
||||
ruleChecksItemObject.externalType = dataNodeRuleChecksRuleChecksItem["ExternalType"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["ExternalId"].isNull())
|
||||
ruleChecksItemObject.externalId = dataNodeRuleChecksRuleChecksItem["ExternalId"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["DiscreteCheck"].isNull())
|
||||
ruleChecksItemObject.discreteCheck = dataNodeRuleChecksRuleChecksItem["DiscreteCheck"].asString() == "true";
|
||||
if(!dataNodeRuleChecksRuleChecksItem["FixedCheck"].isNull())
|
||||
ruleChecksItemObject.fixedCheck = dataNodeRuleChecksRuleChecksItem["FixedCheck"].asString() == "true";
|
||||
if(!dataNodeRuleChecksRuleChecksItem["Trend"].isNull())
|
||||
ruleChecksItemObject.trend = dataNodeRuleChecksRuleChecksItem["Trend"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["WarningThreshold"].isNull())
|
||||
ruleChecksItemObject.warningThreshold = std::stof(dataNodeRuleChecksRuleChecksItem["WarningThreshold"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["CriticalThreshold"].isNull())
|
||||
ruleChecksItemObject.criticalThreshold = std::stof(dataNodeRuleChecksRuleChecksItem["CriticalThreshold"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["ExpectValue"].isNull())
|
||||
ruleChecksItemObject.expectValue = std::stof(dataNodeRuleChecksRuleChecksItem["ExpectValue"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["Op"].isNull())
|
||||
ruleChecksItemObject.op = dataNodeRuleChecksRuleChecksItem["Op"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["ProjectName"].isNull())
|
||||
ruleChecksItemObject.projectName = dataNodeRuleChecksRuleChecksItem["ProjectName"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["TableName"].isNull())
|
||||
ruleChecksItemObject.tableName = dataNodeRuleChecksRuleChecksItem["TableName"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["TemplateId"].isNull())
|
||||
ruleChecksItemObject.templateId = std::stoi(dataNodeRuleChecksRuleChecksItem["TemplateId"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["TemplateName"].isNull())
|
||||
ruleChecksItemObject.templateName = dataNodeRuleChecksRuleChecksItem["TemplateName"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["ResultString"].isNull())
|
||||
ruleChecksItemObject.resultString = dataNodeRuleChecksRuleChecksItem["ResultString"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["CheckerId"].isNull())
|
||||
ruleChecksItemObject.checkerId = std::stoi(dataNodeRuleChecksRuleChecksItem["CheckerId"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["CheckerType"].isNull())
|
||||
ruleChecksItemObject.checkerType = std::stoi(dataNodeRuleChecksRuleChecksItem["CheckerType"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["RuleName"].isNull())
|
||||
ruleChecksItemObject.ruleName = dataNodeRuleChecksRuleChecksItem["RuleName"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["IsPrediction"].isNull())
|
||||
ruleChecksItemObject.isPrediction = dataNodeRuleChecksRuleChecksItem["IsPrediction"].asString() == "true";
|
||||
if(!dataNodeRuleChecksRuleChecksItem["UpperValue"].isNull())
|
||||
ruleChecksItemObject.upperValue = std::stof(dataNodeRuleChecksRuleChecksItem["UpperValue"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["LowerValue"].isNull())
|
||||
ruleChecksItemObject.lowerValue = std::stof(dataNodeRuleChecksRuleChecksItem["LowerValue"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["CheckerName"].isNull())
|
||||
ruleChecksItemObject.checkerName = dataNodeRuleChecksRuleChecksItem["CheckerName"].asString();
|
||||
auto allReferenceValueNode = dataNodeRuleChecksRuleChecksItem["ReferenceValue"]["ReferenceValueItem"];
|
||||
for (auto dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem : allReferenceValueNode)
|
||||
{
|
||||
QualityResults::RuleChecksItem::ReferenceValueItem referenceValueObject;
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["BizDate"].isNull())
|
||||
referenceValueObject.bizDate = qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["BizDate"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["DiscreteProperty"].isNull())
|
||||
referenceValueObject.discreteProperty = qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["DiscreteProperty"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Value"].isNull())
|
||||
referenceValueObject.value = std::stof(qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Value"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Threshold"].isNull())
|
||||
referenceValueObject.threshold = std::stof(qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Threshold"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["SingleCheckResult"].isNull())
|
||||
referenceValueObject.singleCheckResult = std::stoi(qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["SingleCheckResult"].asString());
|
||||
Data::RuleChecksItem::ReferenceValueItem referenceValueObject;
|
||||
if(!dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["BizDate"].isNull())
|
||||
referenceValueObject.bizDate = dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["BizDate"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["DiscreteProperty"].isNull())
|
||||
referenceValueObject.discreteProperty = dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["DiscreteProperty"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Value"].isNull())
|
||||
referenceValueObject.value = std::stof(dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Value"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Threshold"].isNull())
|
||||
referenceValueObject.threshold = std::stof(dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Threshold"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["SingleCheckResult"].isNull())
|
||||
referenceValueObject.singleCheckResult = std::stoi(dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["SingleCheckResult"].asString());
|
||||
ruleChecksItemObject.referenceValue.push_back(referenceValueObject);
|
||||
}
|
||||
auto allSampleValueNode = qualityResultsNodeRuleChecksRuleChecksItem["SampleValue"]["SampleValueItem"];
|
||||
for (auto qualityResultsNodeRuleChecksRuleChecksItemSampleValueSampleValueItem : allSampleValueNode)
|
||||
auto allSampleValueNode = dataNodeRuleChecksRuleChecksItem["SampleValue"]["SampleValueItem"];
|
||||
for (auto dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem : allSampleValueNode)
|
||||
{
|
||||
QualityResults::RuleChecksItem::SampleValueItem sampleValueObject;
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["BizDate"].isNull())
|
||||
sampleValueObject.bizDate = qualityResultsNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["BizDate"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["DiscreteProperty"].isNull())
|
||||
sampleValueObject.discreteProperty = qualityResultsNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["DiscreteProperty"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["Value"].isNull())
|
||||
sampleValueObject.value = std::stof(qualityResultsNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["Value"].asString());
|
||||
Data::RuleChecksItem::SampleValueItem sampleValueObject;
|
||||
if(!dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["BizDate"].isNull())
|
||||
sampleValueObject.bizDate = dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["BizDate"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["DiscreteProperty"].isNull())
|
||||
sampleValueObject.discreteProperty = dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["DiscreteProperty"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["Value"].isNull())
|
||||
sampleValueObject.value = std::stof(dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["Value"].asString());
|
||||
ruleChecksItemObject.sampleValue.push_back(sampleValueObject);
|
||||
}
|
||||
qualityResults_.ruleChecks.push_back(ruleChecksItemObject);
|
||||
data_.ruleChecks.push_back(ruleChecksItemObject);
|
||||
}
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
ListQualityResultsByEntityResult::QualityResults ListQualityResultsByEntityResult::getQualityResults()const
|
||||
int ListQualityResultsByEntityResult::getHttpStatusCode()const
|
||||
{
|
||||
return qualityResults_;
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
ListQualityResultsByEntityResult::Data ListQualityResultsByEntityResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListQualityResultsByEntityResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string ListQualityResultsByEntityResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool ListQualityResultsByEntityResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
|
||||
@@ -39,130 +39,158 @@ void ListQualityResultsByRuleResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto qualityResultsNode = value["QualityResults"];
|
||||
if(!qualityResultsNode["TotalCount"].isNull())
|
||||
qualityResults_.totalCount = std::stol(qualityResultsNode["TotalCount"].asString());
|
||||
if(!qualityResultsNode["PageNumber"].isNull())
|
||||
qualityResults_.pageNumber = std::stoi(qualityResultsNode["PageNumber"].asString());
|
||||
if(!qualityResultsNode["PageSize"].isNull())
|
||||
qualityResults_.pageSize = std::stoi(qualityResultsNode["PageSize"].asString());
|
||||
auto allRuleChecksNode = qualityResultsNode["RuleChecks"]["RuleChecksItem"];
|
||||
for (auto qualityResultsNodeRuleChecksRuleChecksItem : allRuleChecksNode)
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["TotalCount"].isNull())
|
||||
data_.totalCount = std::stol(dataNode["TotalCount"].asString());
|
||||
if(!dataNode["PageNumber"].isNull())
|
||||
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
|
||||
if(!dataNode["PageSize"].isNull())
|
||||
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
|
||||
auto allRuleChecksNode = dataNode["RuleChecks"]["RuleChecksItem"];
|
||||
for (auto dataNodeRuleChecksRuleChecksItem : allRuleChecksNode)
|
||||
{
|
||||
QualityResults::RuleChecksItem ruleChecksItemObject;
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["Id"].isNull())
|
||||
ruleChecksItemObject.id = std::stoi(qualityResultsNodeRuleChecksRuleChecksItem["Id"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["TaskId"].isNull())
|
||||
ruleChecksItemObject.taskId = qualityResultsNodeRuleChecksRuleChecksItem["TaskId"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["EntityId"].isNull())
|
||||
ruleChecksItemObject.entityId = std::stoi(qualityResultsNodeRuleChecksRuleChecksItem["EntityId"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["RuleId"].isNull())
|
||||
ruleChecksItemObject.ruleId = std::stoi(qualityResultsNodeRuleChecksRuleChecksItem["RuleId"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["Property"].isNull())
|
||||
ruleChecksItemObject.property = qualityResultsNodeRuleChecksRuleChecksItem["Property"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["BizDate"].isNull())
|
||||
ruleChecksItemObject.bizDate = std::stol(qualityResultsNodeRuleChecksRuleChecksItem["BizDate"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["DateType"].isNull())
|
||||
ruleChecksItemObject.dateType = qualityResultsNodeRuleChecksRuleChecksItem["DateType"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["ActualExpression"].isNull())
|
||||
ruleChecksItemObject.actualExpression = qualityResultsNodeRuleChecksRuleChecksItem["ActualExpression"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["MatchExpression"].isNull())
|
||||
ruleChecksItemObject.matchExpression = qualityResultsNodeRuleChecksRuleChecksItem["MatchExpression"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["BlockType"].isNull())
|
||||
ruleChecksItemObject.blockType = std::stoi(qualityResultsNodeRuleChecksRuleChecksItem["BlockType"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["CheckResult"].isNull())
|
||||
ruleChecksItemObject.checkResult = std::stoi(qualityResultsNodeRuleChecksRuleChecksItem["CheckResult"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["CheckResultStatus"].isNull())
|
||||
ruleChecksItemObject.checkResultStatus = std::stoi(qualityResultsNodeRuleChecksRuleChecksItem["CheckResultStatus"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["MethodName"].isNull())
|
||||
ruleChecksItemObject.methodName = qualityResultsNodeRuleChecksRuleChecksItem["MethodName"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["Comment"].isNull())
|
||||
ruleChecksItemObject.comment = qualityResultsNodeRuleChecksRuleChecksItem["Comment"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["WhereCondition"].isNull())
|
||||
ruleChecksItemObject.whereCondition = qualityResultsNodeRuleChecksRuleChecksItem["WhereCondition"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["BeginTime"].isNull())
|
||||
ruleChecksItemObject.beginTime = std::stol(qualityResultsNodeRuleChecksRuleChecksItem["BeginTime"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["EndTime"].isNull())
|
||||
ruleChecksItemObject.endTime = std::stol(qualityResultsNodeRuleChecksRuleChecksItem["EndTime"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["TimeCost"].isNull())
|
||||
ruleChecksItemObject.timeCost = qualityResultsNodeRuleChecksRuleChecksItem["TimeCost"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["ExternalType"].isNull())
|
||||
ruleChecksItemObject.externalType = qualityResultsNodeRuleChecksRuleChecksItem["ExternalType"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["ExternalId"].isNull())
|
||||
ruleChecksItemObject.externalId = qualityResultsNodeRuleChecksRuleChecksItem["ExternalId"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["DiscreteCheck"].isNull())
|
||||
ruleChecksItemObject.discreteCheck = qualityResultsNodeRuleChecksRuleChecksItem["DiscreteCheck"].asString() == "true";
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["FixedCheck"].isNull())
|
||||
ruleChecksItemObject.fixedCheck = qualityResultsNodeRuleChecksRuleChecksItem["FixedCheck"].asString() == "true";
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["Trend"].isNull())
|
||||
ruleChecksItemObject.trend = qualityResultsNodeRuleChecksRuleChecksItem["Trend"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["WarningThreshold"].isNull())
|
||||
ruleChecksItemObject.warningThreshold = std::stof(qualityResultsNodeRuleChecksRuleChecksItem["WarningThreshold"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["CriticalThreshold"].isNull())
|
||||
ruleChecksItemObject.criticalThreshold = std::stof(qualityResultsNodeRuleChecksRuleChecksItem["CriticalThreshold"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["ExpectValue"].isNull())
|
||||
ruleChecksItemObject.expectValue = std::stof(qualityResultsNodeRuleChecksRuleChecksItem["ExpectValue"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["Op"].isNull())
|
||||
ruleChecksItemObject.op = qualityResultsNodeRuleChecksRuleChecksItem["Op"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["ProjectName"].isNull())
|
||||
ruleChecksItemObject.projectName = qualityResultsNodeRuleChecksRuleChecksItem["ProjectName"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["TableName"].isNull())
|
||||
ruleChecksItemObject.tableName = qualityResultsNodeRuleChecksRuleChecksItem["TableName"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["TemplateId"].isNull())
|
||||
ruleChecksItemObject.templateId = std::stoi(qualityResultsNodeRuleChecksRuleChecksItem["TemplateId"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["TemplateName"].isNull())
|
||||
ruleChecksItemObject.templateName = qualityResultsNodeRuleChecksRuleChecksItem["TemplateName"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["ResultString"].isNull())
|
||||
ruleChecksItemObject.resultString = qualityResultsNodeRuleChecksRuleChecksItem["ResultString"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["CheckerId"].isNull())
|
||||
ruleChecksItemObject.checkerId = std::stoi(qualityResultsNodeRuleChecksRuleChecksItem["CheckerId"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["CheckerType"].isNull())
|
||||
ruleChecksItemObject.checkerType = std::stoi(qualityResultsNodeRuleChecksRuleChecksItem["CheckerType"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["RuleName"].isNull())
|
||||
ruleChecksItemObject.ruleName = qualityResultsNodeRuleChecksRuleChecksItem["RuleName"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["IsPrediction"].isNull())
|
||||
ruleChecksItemObject.isPrediction = qualityResultsNodeRuleChecksRuleChecksItem["IsPrediction"].asString() == "true";
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["UpperValue"].isNull())
|
||||
ruleChecksItemObject.upperValue = std::stof(qualityResultsNodeRuleChecksRuleChecksItem["UpperValue"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["LowerValue"].isNull())
|
||||
ruleChecksItemObject.lowerValue = std::stof(qualityResultsNodeRuleChecksRuleChecksItem["LowerValue"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItem["CheckerName"].isNull())
|
||||
ruleChecksItemObject.checkerName = qualityResultsNodeRuleChecksRuleChecksItem["CheckerName"].asString();
|
||||
auto allReferenceValueNode = qualityResultsNodeRuleChecksRuleChecksItem["ReferenceValue"]["ReferenceValueItem"];
|
||||
for (auto qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem : allReferenceValueNode)
|
||||
Data::RuleChecksItem ruleChecksItemObject;
|
||||
if(!dataNodeRuleChecksRuleChecksItem["Id"].isNull())
|
||||
ruleChecksItemObject.id = std::stoi(dataNodeRuleChecksRuleChecksItem["Id"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["TaskId"].isNull())
|
||||
ruleChecksItemObject.taskId = dataNodeRuleChecksRuleChecksItem["TaskId"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["EntityId"].isNull())
|
||||
ruleChecksItemObject.entityId = std::stoi(dataNodeRuleChecksRuleChecksItem["EntityId"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["RuleId"].isNull())
|
||||
ruleChecksItemObject.ruleId = std::stoi(dataNodeRuleChecksRuleChecksItem["RuleId"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["Property"].isNull())
|
||||
ruleChecksItemObject.property = dataNodeRuleChecksRuleChecksItem["Property"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["BizDate"].isNull())
|
||||
ruleChecksItemObject.bizDate = std::stol(dataNodeRuleChecksRuleChecksItem["BizDate"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["DateType"].isNull())
|
||||
ruleChecksItemObject.dateType = dataNodeRuleChecksRuleChecksItem["DateType"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["ActualExpression"].isNull())
|
||||
ruleChecksItemObject.actualExpression = dataNodeRuleChecksRuleChecksItem["ActualExpression"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["MatchExpression"].isNull())
|
||||
ruleChecksItemObject.matchExpression = dataNodeRuleChecksRuleChecksItem["MatchExpression"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["BlockType"].isNull())
|
||||
ruleChecksItemObject.blockType = std::stoi(dataNodeRuleChecksRuleChecksItem["BlockType"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["CheckResult"].isNull())
|
||||
ruleChecksItemObject.checkResult = std::stoi(dataNodeRuleChecksRuleChecksItem["CheckResult"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["CheckResultStatus"].isNull())
|
||||
ruleChecksItemObject.checkResultStatus = std::stoi(dataNodeRuleChecksRuleChecksItem["CheckResultStatus"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["MethodName"].isNull())
|
||||
ruleChecksItemObject.methodName = dataNodeRuleChecksRuleChecksItem["MethodName"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["Comment"].isNull())
|
||||
ruleChecksItemObject.comment = dataNodeRuleChecksRuleChecksItem["Comment"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["WhereCondition"].isNull())
|
||||
ruleChecksItemObject.whereCondition = dataNodeRuleChecksRuleChecksItem["WhereCondition"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["BeginTime"].isNull())
|
||||
ruleChecksItemObject.beginTime = std::stol(dataNodeRuleChecksRuleChecksItem["BeginTime"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["EndTime"].isNull())
|
||||
ruleChecksItemObject.endTime = std::stol(dataNodeRuleChecksRuleChecksItem["EndTime"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["TimeCost"].isNull())
|
||||
ruleChecksItemObject.timeCost = dataNodeRuleChecksRuleChecksItem["TimeCost"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["ExternalType"].isNull())
|
||||
ruleChecksItemObject.externalType = dataNodeRuleChecksRuleChecksItem["ExternalType"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["ExternalId"].isNull())
|
||||
ruleChecksItemObject.externalId = dataNodeRuleChecksRuleChecksItem["ExternalId"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["DiscreteCheck"].isNull())
|
||||
ruleChecksItemObject.discreteCheck = dataNodeRuleChecksRuleChecksItem["DiscreteCheck"].asString() == "true";
|
||||
if(!dataNodeRuleChecksRuleChecksItem["FixedCheck"].isNull())
|
||||
ruleChecksItemObject.fixedCheck = dataNodeRuleChecksRuleChecksItem["FixedCheck"].asString() == "true";
|
||||
if(!dataNodeRuleChecksRuleChecksItem["Trend"].isNull())
|
||||
ruleChecksItemObject.trend = dataNodeRuleChecksRuleChecksItem["Trend"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["WarningThreshold"].isNull())
|
||||
ruleChecksItemObject.warningThreshold = std::stof(dataNodeRuleChecksRuleChecksItem["WarningThreshold"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["CriticalThreshold"].isNull())
|
||||
ruleChecksItemObject.criticalThreshold = std::stof(dataNodeRuleChecksRuleChecksItem["CriticalThreshold"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["ExpectValue"].isNull())
|
||||
ruleChecksItemObject.expectValue = std::stof(dataNodeRuleChecksRuleChecksItem["ExpectValue"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["Op"].isNull())
|
||||
ruleChecksItemObject.op = dataNodeRuleChecksRuleChecksItem["Op"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["ProjectName"].isNull())
|
||||
ruleChecksItemObject.projectName = dataNodeRuleChecksRuleChecksItem["ProjectName"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["TableName"].isNull())
|
||||
ruleChecksItemObject.tableName = dataNodeRuleChecksRuleChecksItem["TableName"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["TemplateId"].isNull())
|
||||
ruleChecksItemObject.templateId = std::stoi(dataNodeRuleChecksRuleChecksItem["TemplateId"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["TemplateName"].isNull())
|
||||
ruleChecksItemObject.templateName = dataNodeRuleChecksRuleChecksItem["TemplateName"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["ResultString"].isNull())
|
||||
ruleChecksItemObject.resultString = dataNodeRuleChecksRuleChecksItem["ResultString"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["CheckerId"].isNull())
|
||||
ruleChecksItemObject.checkerId = std::stoi(dataNodeRuleChecksRuleChecksItem["CheckerId"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["CheckerType"].isNull())
|
||||
ruleChecksItemObject.checkerType = std::stoi(dataNodeRuleChecksRuleChecksItem["CheckerType"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["RuleName"].isNull())
|
||||
ruleChecksItemObject.ruleName = dataNodeRuleChecksRuleChecksItem["RuleName"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItem["IsPrediction"].isNull())
|
||||
ruleChecksItemObject.isPrediction = dataNodeRuleChecksRuleChecksItem["IsPrediction"].asString() == "true";
|
||||
if(!dataNodeRuleChecksRuleChecksItem["UpperValue"].isNull())
|
||||
ruleChecksItemObject.upperValue = std::stof(dataNodeRuleChecksRuleChecksItem["UpperValue"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["LowerValue"].isNull())
|
||||
ruleChecksItemObject.lowerValue = std::stof(dataNodeRuleChecksRuleChecksItem["LowerValue"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItem["CheckerName"].isNull())
|
||||
ruleChecksItemObject.checkerName = dataNodeRuleChecksRuleChecksItem["CheckerName"].asString();
|
||||
auto allReferenceValueNode = dataNodeRuleChecksRuleChecksItem["ReferenceValue"]["ReferenceValueItem"];
|
||||
for (auto dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem : allReferenceValueNode)
|
||||
{
|
||||
QualityResults::RuleChecksItem::ReferenceValueItem referenceValueObject;
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["BizDate"].isNull())
|
||||
referenceValueObject.bizDate = std::stol(qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["BizDate"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["DiscreteProperty"].isNull())
|
||||
referenceValueObject.discreteProperty = qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["DiscreteProperty"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Value"].isNull())
|
||||
referenceValueObject.value = std::stof(qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Value"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Threshold"].isNull())
|
||||
referenceValueObject.threshold = std::stof(qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Threshold"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["SingleCheckResult"].isNull())
|
||||
referenceValueObject.singleCheckResult = std::stoi(qualityResultsNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["SingleCheckResult"].asString());
|
||||
Data::RuleChecksItem::ReferenceValueItem referenceValueObject;
|
||||
if(!dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["BizDate"].isNull())
|
||||
referenceValueObject.bizDate = std::stol(dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["BizDate"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["DiscreteProperty"].isNull())
|
||||
referenceValueObject.discreteProperty = dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["DiscreteProperty"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Value"].isNull())
|
||||
referenceValueObject.value = std::stof(dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Value"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Threshold"].isNull())
|
||||
referenceValueObject.threshold = std::stof(dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["Threshold"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["SingleCheckResult"].isNull())
|
||||
referenceValueObject.singleCheckResult = std::stoi(dataNodeRuleChecksRuleChecksItemReferenceValueReferenceValueItem["SingleCheckResult"].asString());
|
||||
ruleChecksItemObject.referenceValue.push_back(referenceValueObject);
|
||||
}
|
||||
auto allSampleValueNode = qualityResultsNodeRuleChecksRuleChecksItem["SampleValue"]["SampleValueItem"];
|
||||
for (auto qualityResultsNodeRuleChecksRuleChecksItemSampleValueSampleValueItem : allSampleValueNode)
|
||||
auto allSampleValueNode = dataNodeRuleChecksRuleChecksItem["SampleValue"]["SampleValueItem"];
|
||||
for (auto dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem : allSampleValueNode)
|
||||
{
|
||||
QualityResults::RuleChecksItem::SampleValueItem sampleValueObject;
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["BizDate"].isNull())
|
||||
sampleValueObject.bizDate = std::stol(qualityResultsNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["BizDate"].asString());
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["DiscreteProperty"].isNull())
|
||||
sampleValueObject.discreteProperty = qualityResultsNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["DiscreteProperty"].asString();
|
||||
if(!qualityResultsNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["Value"].isNull())
|
||||
sampleValueObject.value = std::stof(qualityResultsNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["Value"].asString());
|
||||
Data::RuleChecksItem::SampleValueItem sampleValueObject;
|
||||
if(!dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["BizDate"].isNull())
|
||||
sampleValueObject.bizDate = std::stol(dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["BizDate"].asString());
|
||||
if(!dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["DiscreteProperty"].isNull())
|
||||
sampleValueObject.discreteProperty = dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["DiscreteProperty"].asString();
|
||||
if(!dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["Value"].isNull())
|
||||
sampleValueObject.value = std::stof(dataNodeRuleChecksRuleChecksItemSampleValueSampleValueItem["Value"].asString());
|
||||
ruleChecksItemObject.sampleValue.push_back(sampleValueObject);
|
||||
}
|
||||
qualityResults_.ruleChecks.push_back(ruleChecksItemObject);
|
||||
data_.ruleChecks.push_back(ruleChecksItemObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
ListQualityResultsByRuleResult::QualityResults ListQualityResultsByRuleResult::getQualityResults()const
|
||||
int ListQualityResultsByRuleResult::getHttpStatusCode()const
|
||||
{
|
||||
return qualityResults_;
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
ListQualityResultsByRuleResult::Data ListQualityResultsByRuleResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListQualityResultsByRuleResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string ListQualityResultsByRuleResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool ListQualityResultsByRuleResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
|
||||
@@ -36,6 +36,13 @@ namespace AlibabaCloud
|
||||
int size;
|
||||
std::string category;
|
||||
std::string performanceLevel;
|
||||
std::string device;
|
||||
std::string snapshotId;
|
||||
bool deleteWithInstance;
|
||||
bool encrypted;
|
||||
std::string kmsKeyId;
|
||||
std::string diskName;
|
||||
std::string description;
|
||||
};
|
||||
struct SystemDiskConfig
|
||||
{
|
||||
|
||||
@@ -41,6 +41,13 @@ void CreateAutoProvisioningGroupRequest::setLaunchConfigurationDataDisk(const st
|
||||
setParameter(launchConfigurationDataDiskObjStr + ".Size", std::to_string(launchConfigurationDataDiskObj.size));
|
||||
setParameter(launchConfigurationDataDiskObjStr + ".Category", launchConfigurationDataDiskObj.category);
|
||||
setParameter(launchConfigurationDataDiskObjStr + ".PerformanceLevel", launchConfigurationDataDiskObj.performanceLevel);
|
||||
setParameter(launchConfigurationDataDiskObjStr + ".Device", launchConfigurationDataDiskObj.device);
|
||||
setParameter(launchConfigurationDataDiskObjStr + ".SnapshotId", launchConfigurationDataDiskObj.snapshotId);
|
||||
setParameter(launchConfigurationDataDiskObjStr + ".DeleteWithInstance", launchConfigurationDataDiskObj.deleteWithInstance ? "true" : "false");
|
||||
setParameter(launchConfigurationDataDiskObjStr + ".Encrypted", launchConfigurationDataDiskObj.encrypted ? "true" : "false");
|
||||
setParameter(launchConfigurationDataDiskObjStr + ".KmsKeyId", launchConfigurationDataDiskObj.kmsKeyId);
|
||||
setParameter(launchConfigurationDataDiskObjStr + ".DiskName", launchConfigurationDataDiskObj.diskName);
|
||||
setParameter(launchConfigurationDataDiskObjStr + ".Description", launchConfigurationDataDiskObj.description);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -57,6 +57,8 @@ set(facebody_public_header_model
|
||||
include/alibabacloud/facebody/model/DetectMaskResult.h
|
||||
include/alibabacloud/facebody/model/DetectPedestrianRequest.h
|
||||
include/alibabacloud/facebody/model/DetectPedestrianResult.h
|
||||
include/alibabacloud/facebody/model/DetectPedestrianIntrusionRequest.h
|
||||
include/alibabacloud/facebody/model/DetectPedestrianIntrusionResult.h
|
||||
include/alibabacloud/facebody/model/DetectVideoLivingFaceRequest.h
|
||||
include/alibabacloud/facebody/model/DetectVideoLivingFaceResult.h
|
||||
include/alibabacloud/facebody/model/EnhanceFaceRequest.h
|
||||
@@ -140,6 +142,8 @@ set(facebody_src
|
||||
src/model/DetectMaskResult.cc
|
||||
src/model/DetectPedestrianRequest.cc
|
||||
src/model/DetectPedestrianResult.cc
|
||||
src/model/DetectPedestrianIntrusionRequest.cc
|
||||
src/model/DetectPedestrianIntrusionResult.cc
|
||||
src/model/DetectVideoLivingFaceRequest.cc
|
||||
src/model/DetectVideoLivingFaceResult.cc
|
||||
src/model/EnhanceFaceRequest.cc
|
||||
|
||||
@@ -58,6 +58,8 @@
|
||||
#include "model/DetectMaskResult.h"
|
||||
#include "model/DetectPedestrianRequest.h"
|
||||
#include "model/DetectPedestrianResult.h"
|
||||
#include "model/DetectPedestrianIntrusionRequest.h"
|
||||
#include "model/DetectPedestrianIntrusionResult.h"
|
||||
#include "model/DetectVideoLivingFaceRequest.h"
|
||||
#include "model/DetectVideoLivingFaceResult.h"
|
||||
#include "model/EnhanceFaceRequest.h"
|
||||
@@ -165,6 +167,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DetectPedestrianResult> DetectPedestrianOutcome;
|
||||
typedef std::future<DetectPedestrianOutcome> DetectPedestrianOutcomeCallable;
|
||||
typedef std::function<void(const FacebodyClient*, const Model::DetectPedestrianRequest&, const DetectPedestrianOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectPedestrianAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetectPedestrianIntrusionResult> DetectPedestrianIntrusionOutcome;
|
||||
typedef std::future<DetectPedestrianIntrusionOutcome> DetectPedestrianIntrusionOutcomeCallable;
|
||||
typedef std::function<void(const FacebodyClient*, const Model::DetectPedestrianIntrusionRequest&, const DetectPedestrianIntrusionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectPedestrianIntrusionAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetectVideoLivingFaceResult> DetectVideoLivingFaceOutcome;
|
||||
typedef std::future<DetectVideoLivingFaceOutcome> DetectVideoLivingFaceOutcomeCallable;
|
||||
typedef std::function<void(const FacebodyClient*, const Model::DetectVideoLivingFaceRequest&, const DetectVideoLivingFaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectVideoLivingFaceAsyncHandler;
|
||||
@@ -290,6 +295,9 @@ namespace AlibabaCloud
|
||||
DetectPedestrianOutcome detectPedestrian(const Model::DetectPedestrianRequest &request)const;
|
||||
void detectPedestrianAsync(const Model::DetectPedestrianRequest& request, const DetectPedestrianAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetectPedestrianOutcomeCallable detectPedestrianCallable(const Model::DetectPedestrianRequest& request) const;
|
||||
DetectPedestrianIntrusionOutcome detectPedestrianIntrusion(const Model::DetectPedestrianIntrusionRequest &request)const;
|
||||
void detectPedestrianIntrusionAsync(const Model::DetectPedestrianIntrusionRequest& request, const DetectPedestrianIntrusionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetectPedestrianIntrusionOutcomeCallable detectPedestrianIntrusionCallable(const Model::DetectPedestrianIntrusionRequest& request) const;
|
||||
DetectVideoLivingFaceOutcome detectVideoLivingFace(const Model::DetectVideoLivingFaceRequest &request)const;
|
||||
void detectVideoLivingFaceAsync(const Model::DetectVideoLivingFaceRequest& request, const DetectVideoLivingFaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetectVideoLivingFaceOutcomeCallable detectVideoLivingFaceCallable(const Model::DetectVideoLivingFaceRequest& request) const;
|
||||
|
||||
@@ -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_FACEBODY_MODEL_DETECTPEDESTRIANINTRUSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_FACEBODY_MODEL_DETECTPEDESTRIANINTRUSIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/facebody/FacebodyExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Facebody
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FACEBODY_EXPORT DetectPedestrianIntrusionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DetectPedestrianIntrusionRequest();
|
||||
~DetectPedestrianIntrusionRequest();
|
||||
|
||||
std::string getRegionType()const;
|
||||
void setRegionType(const std::string& regionType);
|
||||
std::string getImageURL()const;
|
||||
void setImageURL(const std::string& imageURL);
|
||||
Array getRegion()const;
|
||||
void setRegion(const Array& region);
|
||||
|
||||
private:
|
||||
std::string regionType_;
|
||||
std::string imageURL_;
|
||||
Array region_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DETECTPEDESTRIANINTRUSIONREQUEST_H_
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FACEBODY_MODEL_DETECTPEDESTRIANINTRUSIONRESULT_H_
|
||||
#define ALIBABACLOUD_FACEBODY_MODEL_DETECTPEDESTRIANINTRUSIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/facebody/FacebodyExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Facebody
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FACEBODY_EXPORT DetectPedestrianIntrusionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct ElementsItem
|
||||
{
|
||||
struct Box
|
||||
{
|
||||
long left;
|
||||
long top;
|
||||
long right;
|
||||
long bottom;
|
||||
};
|
||||
long boxId;
|
||||
std::string type;
|
||||
long score;
|
||||
bool isIntrude;
|
||||
Box box;
|
||||
};
|
||||
long imageHeight;
|
||||
long imageWidth;
|
||||
std::vector<ElementsItem> elements;
|
||||
};
|
||||
|
||||
|
||||
DetectPedestrianIntrusionResult();
|
||||
explicit DetectPedestrianIntrusionResult(const std::string &payload);
|
||||
~DetectPedestrianIntrusionResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FACEBODY_MODEL_DETECTPEDESTRIANINTRUSIONRESULT_H_
|
||||
@@ -699,6 +699,42 @@ FacebodyClient::DetectPedestrianOutcomeCallable FacebodyClient::detectPedestrian
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
FacebodyClient::DetectPedestrianIntrusionOutcome FacebodyClient::detectPedestrianIntrusion(const DetectPedestrianIntrusionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DetectPedestrianIntrusionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DetectPedestrianIntrusionOutcome(DetectPedestrianIntrusionResult(outcome.result()));
|
||||
else
|
||||
return DetectPedestrianIntrusionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void FacebodyClient::detectPedestrianIntrusionAsync(const DetectPedestrianIntrusionRequest& request, const DetectPedestrianIntrusionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, detectPedestrianIntrusion(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
FacebodyClient::DetectPedestrianIntrusionOutcomeCallable FacebodyClient::detectPedestrianIntrusionCallable(const DetectPedestrianIntrusionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DetectPedestrianIntrusionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->detectPedestrianIntrusion(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
FacebodyClient::DetectVideoLivingFaceOutcome FacebodyClient::detectVideoLivingFace(const DetectVideoLivingFaceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
62
facebody/src/model/DetectPedestrianIntrusionRequest.cc
Normal file
62
facebody/src/model/DetectPedestrianIntrusionRequest.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/facebody/model/DetectPedestrianIntrusionRequest.h>
|
||||
|
||||
using AlibabaCloud::Facebody::Model::DetectPedestrianIntrusionRequest;
|
||||
|
||||
DetectPedestrianIntrusionRequest::DetectPedestrianIntrusionRequest() :
|
||||
RpcServiceRequest("facebody", "2019-12-30", "DetectPedestrianIntrusion")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DetectPedestrianIntrusionRequest::~DetectPedestrianIntrusionRequest()
|
||||
{}
|
||||
|
||||
std::string DetectPedestrianIntrusionRequest::getRegionType()const
|
||||
{
|
||||
return regionType_;
|
||||
}
|
||||
|
||||
void DetectPedestrianIntrusionRequest::setRegionType(const std::string& regionType)
|
||||
{
|
||||
regionType_ = regionType;
|
||||
setBodyParameter("RegionType", regionType);
|
||||
}
|
||||
|
||||
std::string DetectPedestrianIntrusionRequest::getImageURL()const
|
||||
{
|
||||
return imageURL_;
|
||||
}
|
||||
|
||||
void DetectPedestrianIntrusionRequest::setImageURL(const std::string& imageURL)
|
||||
{
|
||||
imageURL_ = imageURL;
|
||||
setBodyParameter("ImageURL", imageURL);
|
||||
}
|
||||
|
||||
Array DetectPedestrianIntrusionRequest::getRegion()const
|
||||
{
|
||||
return region_;
|
||||
}
|
||||
|
||||
void DetectPedestrianIntrusionRequest::setRegion(const Array& region)
|
||||
{
|
||||
region_ = region;
|
||||
setBodyParameter("Region", std::to_string(region));
|
||||
}
|
||||
|
||||
91
facebody/src/model/DetectPedestrianIntrusionResult.cc
Normal file
91
facebody/src/model/DetectPedestrianIntrusionResult.cc
Normal file
@@ -0,0 +1,91 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/facebody/model/DetectPedestrianIntrusionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Facebody;
|
||||
using namespace AlibabaCloud::Facebody::Model;
|
||||
|
||||
DetectPedestrianIntrusionResult::DetectPedestrianIntrusionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DetectPedestrianIntrusionResult::DetectPedestrianIntrusionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DetectPedestrianIntrusionResult::~DetectPedestrianIntrusionResult()
|
||||
{}
|
||||
|
||||
void DetectPedestrianIntrusionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["ImageHeight"].isNull())
|
||||
data_.imageHeight = std::stol(dataNode["ImageHeight"].asString());
|
||||
if(!dataNode["ImageWidth"].isNull())
|
||||
data_.imageWidth = std::stol(dataNode["ImageWidth"].asString());
|
||||
auto allElementsNode = dataNode["Elements"]["ElementsItem"];
|
||||
for (auto dataNodeElementsElementsItem : allElementsNode)
|
||||
{
|
||||
Data::ElementsItem elementsItemObject;
|
||||
if(!dataNodeElementsElementsItem["BoxId"].isNull())
|
||||
elementsItemObject.boxId = std::stol(dataNodeElementsElementsItem["BoxId"].asString());
|
||||
if(!dataNodeElementsElementsItem["Type"].isNull())
|
||||
elementsItemObject.type = dataNodeElementsElementsItem["Type"].asString();
|
||||
if(!dataNodeElementsElementsItem["Score"].isNull())
|
||||
elementsItemObject.score = std::stol(dataNodeElementsElementsItem["Score"].asString());
|
||||
if(!dataNodeElementsElementsItem["IsIntrude"].isNull())
|
||||
elementsItemObject.isIntrude = dataNodeElementsElementsItem["IsIntrude"].asString() == "true";
|
||||
auto boxNode = value["Box"];
|
||||
if(!boxNode["Left"].isNull())
|
||||
elementsItemObject.box.left = std::stol(boxNode["Left"].asString());
|
||||
if(!boxNode["Top"].isNull())
|
||||
elementsItemObject.box.top = std::stol(boxNode["Top"].asString());
|
||||
if(!boxNode["Right"].isNull())
|
||||
elementsItemObject.box.right = std::stol(boxNode["Right"].asString());
|
||||
if(!boxNode["Bottom"].isNull())
|
||||
elementsItemObject.box.bottom = std::stol(boxNode["Bottom"].asString());
|
||||
data_.elements.push_back(elementsItemObject);
|
||||
}
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DetectPedestrianIntrusionResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
DetectPedestrianIntrusionResult::Data DetectPedestrianIntrusionResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string DetectPedestrianIntrusionResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -35,6 +35,8 @@ set(imageprocess_public_header_model
|
||||
include/alibabacloud/imageprocess/model/DetectKneeXRayResult.h
|
||||
include/alibabacloud/imageprocess/model/DetectLungNoduleRequest.h
|
||||
include/alibabacloud/imageprocess/model/DetectLungNoduleResult.h
|
||||
include/alibabacloud/imageprocess/model/DetectRibFractureRequest.h
|
||||
include/alibabacloud/imageprocess/model/DetectRibFractureResult.h
|
||||
include/alibabacloud/imageprocess/model/DetectSkinDiseaseRequest.h
|
||||
include/alibabacloud/imageprocess/model/DetectSkinDiseaseResult.h
|
||||
include/alibabacloud/imageprocess/model/DetectSpineMRIRequest.h
|
||||
@@ -45,6 +47,8 @@ set(imageprocess_public_header_model
|
||||
include/alibabacloud/imageprocess/model/RunCTRegistrationResult.h
|
||||
include/alibabacloud/imageprocess/model/RunMedQARequest.h
|
||||
include/alibabacloud/imageprocess/model/RunMedQAResult.h
|
||||
include/alibabacloud/imageprocess/model/ScreenChestCTRequest.h
|
||||
include/alibabacloud/imageprocess/model/ScreenChestCTResult.h
|
||||
include/alibabacloud/imageprocess/model/TranslateMedRequest.h
|
||||
include/alibabacloud/imageprocess/model/TranslateMedResult.h )
|
||||
|
||||
@@ -64,6 +68,8 @@ set(imageprocess_src
|
||||
src/model/DetectKneeXRayResult.cc
|
||||
src/model/DetectLungNoduleRequest.cc
|
||||
src/model/DetectLungNoduleResult.cc
|
||||
src/model/DetectRibFractureRequest.cc
|
||||
src/model/DetectRibFractureResult.cc
|
||||
src/model/DetectSkinDiseaseRequest.cc
|
||||
src/model/DetectSkinDiseaseResult.cc
|
||||
src/model/DetectSpineMRIRequest.cc
|
||||
@@ -74,6 +80,8 @@ set(imageprocess_src
|
||||
src/model/RunCTRegistrationResult.cc
|
||||
src/model/RunMedQARequest.cc
|
||||
src/model/RunMedQAResult.cc
|
||||
src/model/ScreenChestCTRequest.cc
|
||||
src/model/ScreenChestCTResult.cc
|
||||
src/model/TranslateMedRequest.cc
|
||||
src/model/TranslateMedResult.cc )
|
||||
|
||||
|
||||
@@ -36,6 +36,8 @@
|
||||
#include "model/DetectKneeXRayResult.h"
|
||||
#include "model/DetectLungNoduleRequest.h"
|
||||
#include "model/DetectLungNoduleResult.h"
|
||||
#include "model/DetectRibFractureRequest.h"
|
||||
#include "model/DetectRibFractureResult.h"
|
||||
#include "model/DetectSkinDiseaseRequest.h"
|
||||
#include "model/DetectSkinDiseaseResult.h"
|
||||
#include "model/DetectSpineMRIRequest.h"
|
||||
@@ -46,6 +48,8 @@
|
||||
#include "model/RunCTRegistrationResult.h"
|
||||
#include "model/RunMedQARequest.h"
|
||||
#include "model/RunMedQAResult.h"
|
||||
#include "model/ScreenChestCTRequest.h"
|
||||
#include "model/ScreenChestCTResult.h"
|
||||
#include "model/TranslateMedRequest.h"
|
||||
#include "model/TranslateMedResult.h"
|
||||
|
||||
@@ -78,6 +82,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DetectLungNoduleResult> DetectLungNoduleOutcome;
|
||||
typedef std::future<DetectLungNoduleOutcome> DetectLungNoduleOutcomeCallable;
|
||||
typedef std::function<void(const ImageprocessClient*, const Model::DetectLungNoduleRequest&, const DetectLungNoduleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectLungNoduleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetectRibFractureResult> DetectRibFractureOutcome;
|
||||
typedef std::future<DetectRibFractureOutcome> DetectRibFractureOutcomeCallable;
|
||||
typedef std::function<void(const ImageprocessClient*, const Model::DetectRibFractureRequest&, const DetectRibFractureOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectRibFractureAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetectSkinDiseaseResult> DetectSkinDiseaseOutcome;
|
||||
typedef std::future<DetectSkinDiseaseOutcome> DetectSkinDiseaseOutcomeCallable;
|
||||
typedef std::function<void(const ImageprocessClient*, const Model::DetectSkinDiseaseRequest&, const DetectSkinDiseaseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectSkinDiseaseAsyncHandler;
|
||||
@@ -93,6 +100,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::RunMedQAResult> RunMedQAOutcome;
|
||||
typedef std::future<RunMedQAOutcome> RunMedQAOutcomeCallable;
|
||||
typedef std::function<void(const ImageprocessClient*, const Model::RunMedQARequest&, const RunMedQAOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RunMedQAAsyncHandler;
|
||||
typedef Outcome<Error, Model::ScreenChestCTResult> ScreenChestCTOutcome;
|
||||
typedef std::future<ScreenChestCTOutcome> ScreenChestCTOutcomeCallable;
|
||||
typedef std::function<void(const ImageprocessClient*, const Model::ScreenChestCTRequest&, const ScreenChestCTOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ScreenChestCTAsyncHandler;
|
||||
typedef Outcome<Error, Model::TranslateMedResult> TranslateMedOutcome;
|
||||
typedef std::future<TranslateMedOutcome> TranslateMedOutcomeCallable;
|
||||
typedef std::function<void(const ImageprocessClient*, const Model::TranslateMedRequest&, const TranslateMedOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TranslateMedAsyncHandler;
|
||||
@@ -122,6 +132,9 @@ namespace AlibabaCloud
|
||||
DetectLungNoduleOutcome detectLungNodule(const Model::DetectLungNoduleRequest &request)const;
|
||||
void detectLungNoduleAsync(const Model::DetectLungNoduleRequest& request, const DetectLungNoduleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetectLungNoduleOutcomeCallable detectLungNoduleCallable(const Model::DetectLungNoduleRequest& request) const;
|
||||
DetectRibFractureOutcome detectRibFracture(const Model::DetectRibFractureRequest &request)const;
|
||||
void detectRibFractureAsync(const Model::DetectRibFractureRequest& request, const DetectRibFractureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetectRibFractureOutcomeCallable detectRibFractureCallable(const Model::DetectRibFractureRequest& request) const;
|
||||
DetectSkinDiseaseOutcome detectSkinDisease(const Model::DetectSkinDiseaseRequest &request)const;
|
||||
void detectSkinDiseaseAsync(const Model::DetectSkinDiseaseRequest& request, const DetectSkinDiseaseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetectSkinDiseaseOutcomeCallable detectSkinDiseaseCallable(const Model::DetectSkinDiseaseRequest& request) const;
|
||||
@@ -137,6 +150,9 @@ namespace AlibabaCloud
|
||||
RunMedQAOutcome runMedQA(const Model::RunMedQARequest &request)const;
|
||||
void runMedQAAsync(const Model::RunMedQARequest& request, const RunMedQAAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RunMedQAOutcomeCallable runMedQACallable(const Model::RunMedQARequest& request) const;
|
||||
ScreenChestCTOutcome screenChestCT(const Model::ScreenChestCTRequest &request)const;
|
||||
void screenChestCTAsync(const Model::ScreenChestCTRequest& request, const ScreenChestCTAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ScreenChestCTOutcomeCallable screenChestCTCallable(const Model::ScreenChestCTRequest& request) const;
|
||||
TranslateMedOutcome translateMed(const Model::TranslateMedRequest &request)const;
|
||||
void translateMedAsync(const Model::TranslateMedRequest& request, const TranslateMedAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TranslateMedOutcomeCallable translateMedCallable(const Model::TranslateMedRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTRIBFRACTUREREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTRIBFRACTUREREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imageprocess
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectRibFractureRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct URLList
|
||||
{
|
||||
std::string uRL;
|
||||
};
|
||||
|
||||
public:
|
||||
DetectRibFractureRequest();
|
||||
~DetectRibFractureRequest();
|
||||
|
||||
std::string getDataFormat()const;
|
||||
void setDataFormat(const std::string& dataFormat);
|
||||
std::vector<URLList> getURLList()const;
|
||||
void setURLList(const std::vector<URLList>& uRLList);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
bool getAsync()const;
|
||||
void setAsync(bool async);
|
||||
std::string getOrgName()const;
|
||||
void setOrgName(const std::string& orgName);
|
||||
std::string getSourceType()const;
|
||||
void setSourceType(const std::string& sourceType);
|
||||
|
||||
private:
|
||||
std::string dataFormat_;
|
||||
std::vector<URLList> uRLList_;
|
||||
std::string orgId_;
|
||||
bool async_;
|
||||
std::string orgName_;
|
||||
std::string sourceType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTRIBFRACTUREREQUEST_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTRIBFRACTURERESULT_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTRIBFRACTURERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imageprocess
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectRibFractureResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct DetectionsItem
|
||||
{
|
||||
float fractureConfidence;
|
||||
std::string fractureCategory;
|
||||
std::vector<std::string> coordinateImage;
|
||||
std::vector<std::string> coordinates;
|
||||
int fractureId;
|
||||
};
|
||||
std::vector<std::string> origin;
|
||||
std::vector<std::string> spacing;
|
||||
std::vector<DetectionsItem> detections;
|
||||
std::string resultURL;
|
||||
};
|
||||
|
||||
|
||||
DetectRibFractureResult();
|
||||
explicit DetectRibFractureResult(const std::string &payload);
|
||||
~DetectRibFractureResult();
|
||||
Data getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTRIBFRACTURERESULT_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_IMAGEPROCESS_MODEL_SCREENCHESTCTREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENCHESTCTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imageprocess
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT ScreenChestCTRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct URLList
|
||||
{
|
||||
std::string uRL;
|
||||
};
|
||||
|
||||
public:
|
||||
ScreenChestCTRequest();
|
||||
~ScreenChestCTRequest();
|
||||
|
||||
std::string getDataFormat()const;
|
||||
void setDataFormat(const std::string& dataFormat);
|
||||
std::vector<URLList> getURLList()const;
|
||||
void setURLList(const std::vector<URLList>& uRLList);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
bool getAsync()const;
|
||||
void setAsync(bool async);
|
||||
std::string getOrgName()const;
|
||||
void setOrgName(const std::string& orgName);
|
||||
|
||||
private:
|
||||
std::string dataFormat_;
|
||||
std::vector<URLList> uRLList_;
|
||||
std::string orgId_;
|
||||
bool async_;
|
||||
std::string orgName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENCHESTCTREQUEST_H_
|
||||
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENCHESTCTRESULT_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENCHESTCTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imageprocess
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT ScreenChestCTResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct LungNodule
|
||||
{
|
||||
struct Serie
|
||||
{
|
||||
struct Element
|
||||
{
|
||||
float imageZ;
|
||||
float imageY;
|
||||
std::string lobe;
|
||||
float imageX;
|
||||
std::string category;
|
||||
std::string lung;
|
||||
float meanValue;
|
||||
float confidence;
|
||||
float volume;
|
||||
float x;
|
||||
float y;
|
||||
float z;
|
||||
std::string sOPInstanceUID;
|
||||
float diameter;
|
||||
};
|
||||
std::vector<std::string> origin;
|
||||
std::string report;
|
||||
std::vector<std::string> spacing;
|
||||
std::vector<Serie::Element> elements;
|
||||
std::string seriesInstanceUid;
|
||||
};
|
||||
std::vector<Serie> series;
|
||||
};
|
||||
struct CACS
|
||||
{
|
||||
std::string score;
|
||||
std::string resultUrl;
|
||||
};
|
||||
struct Covid
|
||||
{
|
||||
std::string newProbability;
|
||||
std::string otherProbability;
|
||||
std::string normalProbability;
|
||||
std::string mask;
|
||||
std::string lesionRatio;
|
||||
};
|
||||
LungNodule lungNodule;
|
||||
CACS cACS;
|
||||
Covid covid;
|
||||
};
|
||||
|
||||
|
||||
ScreenChestCTResult();
|
||||
explicit ScreenChestCTResult(const std::string &payload);
|
||||
~ScreenChestCTResult();
|
||||
Data getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_SCREENCHESTCTRESULT_H_
|
||||
@@ -303,6 +303,42 @@ ImageprocessClient::DetectLungNoduleOutcomeCallable ImageprocessClient::detectLu
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ImageprocessClient::DetectRibFractureOutcome ImageprocessClient::detectRibFracture(const DetectRibFractureRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DetectRibFractureOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DetectRibFractureOutcome(DetectRibFractureResult(outcome.result()));
|
||||
else
|
||||
return DetectRibFractureOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ImageprocessClient::detectRibFractureAsync(const DetectRibFractureRequest& request, const DetectRibFractureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, detectRibFracture(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ImageprocessClient::DetectRibFractureOutcomeCallable ImageprocessClient::detectRibFractureCallable(const DetectRibFractureRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DetectRibFractureOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->detectRibFracture(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ImageprocessClient::DetectSkinDiseaseOutcome ImageprocessClient::detectSkinDisease(const DetectSkinDiseaseRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -483,6 +519,42 @@ ImageprocessClient::RunMedQAOutcomeCallable ImageprocessClient::runMedQACallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ImageprocessClient::ScreenChestCTOutcome ImageprocessClient::screenChestCT(const ScreenChestCTRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ScreenChestCTOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ScreenChestCTOutcome(ScreenChestCTResult(outcome.result()));
|
||||
else
|
||||
return ScreenChestCTOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ImageprocessClient::screenChestCTAsync(const ScreenChestCTRequest& request, const ScreenChestCTAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, screenChestCT(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ImageprocessClient::ScreenChestCTOutcomeCallable ImageprocessClient::screenChestCTCallable(const ScreenChestCTRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ScreenChestCTOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->screenChestCT(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ImageprocessClient::TranslateMedOutcome ImageprocessClient::translateMed(const TranslateMedRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
99
imageprocess/src/model/DetectRibFractureRequest.cc
Normal file
99
imageprocess/src/model/DetectRibFractureRequest.cc
Normal file
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/imageprocess/model/DetectRibFractureRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::DetectRibFractureRequest;
|
||||
|
||||
DetectRibFractureRequest::DetectRibFractureRequest() :
|
||||
RpcServiceRequest("imageprocess", "2020-03-20", "DetectRibFracture")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DetectRibFractureRequest::~DetectRibFractureRequest()
|
||||
{}
|
||||
|
||||
std::string DetectRibFractureRequest::getDataFormat()const
|
||||
{
|
||||
return dataFormat_;
|
||||
}
|
||||
|
||||
void DetectRibFractureRequest::setDataFormat(const std::string& dataFormat)
|
||||
{
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter("DataFormat", dataFormat);
|
||||
}
|
||||
|
||||
std::vector<DetectRibFractureRequest::URLList> DetectRibFractureRequest::getURLList()const
|
||||
{
|
||||
return uRLList_;
|
||||
}
|
||||
|
||||
void DetectRibFractureRequest::setURLList(const std::vector<URLList>& uRLList)
|
||||
{
|
||||
uRLList_ = uRLList;
|
||||
for(int dep1 = 0; dep1!= uRLList.size(); dep1++) {
|
||||
auto uRLListObj = uRLList.at(dep1);
|
||||
std::string uRLListObjStr = "URLList." + std::to_string(dep1 + 1);
|
||||
setParameter(uRLListObjStr + ".URL", uRLListObj.uRL);
|
||||
}
|
||||
}
|
||||
|
||||
std::string DetectRibFractureRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void DetectRibFractureRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
bool DetectRibFractureRequest::getAsync()const
|
||||
{
|
||||
return async_;
|
||||
}
|
||||
|
||||
void DetectRibFractureRequest::setAsync(bool async)
|
||||
{
|
||||
async_ = async;
|
||||
setBodyParameter("Async", async ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DetectRibFractureRequest::getOrgName()const
|
||||
{
|
||||
return orgName_;
|
||||
}
|
||||
|
||||
void DetectRibFractureRequest::setOrgName(const std::string& orgName)
|
||||
{
|
||||
orgName_ = orgName;
|
||||
setBodyParameter("OrgName", orgName);
|
||||
}
|
||||
|
||||
std::string DetectRibFractureRequest::getSourceType()const
|
||||
{
|
||||
return sourceType_;
|
||||
}
|
||||
|
||||
void DetectRibFractureRequest::setSourceType(const std::string& sourceType)
|
||||
{
|
||||
sourceType_ = sourceType;
|
||||
setBodyParameter("SourceType", sourceType);
|
||||
}
|
||||
|
||||
76
imageprocess/src/model/DetectRibFractureResult.cc
Normal file
76
imageprocess/src/model/DetectRibFractureResult.cc
Normal file
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/imageprocess/model/DetectRibFractureResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Imageprocess;
|
||||
using namespace AlibabaCloud::Imageprocess::Model;
|
||||
|
||||
DetectRibFractureResult::DetectRibFractureResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DetectRibFractureResult::DetectRibFractureResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DetectRibFractureResult::~DetectRibFractureResult()
|
||||
{}
|
||||
|
||||
void DetectRibFractureResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["ResultURL"].isNull())
|
||||
data_.resultURL = dataNode["ResultURL"].asString();
|
||||
auto allDetectionsNode = dataNode["Detections"]["DetectionsItem"];
|
||||
for (auto dataNodeDetectionsDetectionsItem : allDetectionsNode)
|
||||
{
|
||||
Data::DetectionsItem detectionsItemObject;
|
||||
if(!dataNodeDetectionsDetectionsItem["FractureId"].isNull())
|
||||
detectionsItemObject.fractureId = std::stoi(dataNodeDetectionsDetectionsItem["FractureId"].asString());
|
||||
if(!dataNodeDetectionsDetectionsItem["FractureConfidence"].isNull())
|
||||
detectionsItemObject.fractureConfidence = std::stof(dataNodeDetectionsDetectionsItem["FractureConfidence"].asString());
|
||||
if(!dataNodeDetectionsDetectionsItem["FractureCategory"].isNull())
|
||||
detectionsItemObject.fractureCategory = dataNodeDetectionsDetectionsItem["FractureCategory"].asString();
|
||||
auto allCoordinates = value["Coordinates"]["Coordinates"];
|
||||
for (auto value : allCoordinates)
|
||||
detectionsItemObject.coordinates.push_back(value.asString());
|
||||
auto allCoordinateImage = value["CoordinateImage"]["CoordinateImage"];
|
||||
for (auto value : allCoordinateImage)
|
||||
detectionsItemObject.coordinateImage.push_back(value.asString());
|
||||
data_.detections.push_back(detectionsItemObject);
|
||||
}
|
||||
auto allSpacing = dataNode["Spacing"]["Spacing"];
|
||||
for (auto value : allSpacing)
|
||||
data_.spacing.push_back(value.asString());
|
||||
auto allOrigin = dataNode["Origin"]["Origin"];
|
||||
for (auto value : allOrigin)
|
||||
data_.origin.push_back(value.asString());
|
||||
|
||||
}
|
||||
|
||||
DetectRibFractureResult::Data DetectRibFractureResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
88
imageprocess/src/model/ScreenChestCTRequest.cc
Normal file
88
imageprocess/src/model/ScreenChestCTRequest.cc
Normal file
@@ -0,0 +1,88 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/imageprocess/model/ScreenChestCTRequest.h>
|
||||
|
||||
using AlibabaCloud::Imageprocess::Model::ScreenChestCTRequest;
|
||||
|
||||
ScreenChestCTRequest::ScreenChestCTRequest() :
|
||||
RpcServiceRequest("imageprocess", "2020-03-20", "ScreenChestCT")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ScreenChestCTRequest::~ScreenChestCTRequest()
|
||||
{}
|
||||
|
||||
std::string ScreenChestCTRequest::getDataFormat()const
|
||||
{
|
||||
return dataFormat_;
|
||||
}
|
||||
|
||||
void ScreenChestCTRequest::setDataFormat(const std::string& dataFormat)
|
||||
{
|
||||
dataFormat_ = dataFormat;
|
||||
setBodyParameter("DataFormat", dataFormat);
|
||||
}
|
||||
|
||||
std::vector<ScreenChestCTRequest::URLList> ScreenChestCTRequest::getURLList()const
|
||||
{
|
||||
return uRLList_;
|
||||
}
|
||||
|
||||
void ScreenChestCTRequest::setURLList(const std::vector<URLList>& uRLList)
|
||||
{
|
||||
uRLList_ = uRLList;
|
||||
for(int dep1 = 0; dep1!= uRLList.size(); dep1++) {
|
||||
auto uRLListObj = uRLList.at(dep1);
|
||||
std::string uRLListObjStr = "URLList." + std::to_string(dep1 + 1);
|
||||
setParameter(uRLListObjStr + ".URL", uRLListObj.uRL);
|
||||
}
|
||||
}
|
||||
|
||||
std::string ScreenChestCTRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void ScreenChestCTRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
bool ScreenChestCTRequest::getAsync()const
|
||||
{
|
||||
return async_;
|
||||
}
|
||||
|
||||
void ScreenChestCTRequest::setAsync(bool async)
|
||||
{
|
||||
async_ = async;
|
||||
setBodyParameter("Async", async ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ScreenChestCTRequest::getOrgName()const
|
||||
{
|
||||
return orgName_;
|
||||
}
|
||||
|
||||
void ScreenChestCTRequest::setOrgName(const std::string& orgName)
|
||||
{
|
||||
orgName_ = orgName;
|
||||
setBodyParameter("OrgName", orgName);
|
||||
}
|
||||
|
||||
117
imageprocess/src/model/ScreenChestCTResult.cc
Normal file
117
imageprocess/src/model/ScreenChestCTResult.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/imageprocess/model/ScreenChestCTResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Imageprocess;
|
||||
using namespace AlibabaCloud::Imageprocess::Model;
|
||||
|
||||
ScreenChestCTResult::ScreenChestCTResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ScreenChestCTResult::ScreenChestCTResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ScreenChestCTResult::~ScreenChestCTResult()
|
||||
{}
|
||||
|
||||
void ScreenChestCTResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
auto lungNoduleNode = dataNode["LungNodule"];
|
||||
auto allSeriesNode = lungNoduleNode["Series"]["Serie"];
|
||||
for (auto lungNoduleNodeSeriesSerie : allSeriesNode)
|
||||
{
|
||||
Data::LungNodule::Serie serieObject;
|
||||
if(!lungNoduleNodeSeriesSerie["SeriesInstanceUid"].isNull())
|
||||
serieObject.seriesInstanceUid = lungNoduleNodeSeriesSerie["SeriesInstanceUid"].asString();
|
||||
if(!lungNoduleNodeSeriesSerie["Report"].isNull())
|
||||
serieObject.report = lungNoduleNodeSeriesSerie["Report"].asString();
|
||||
auto allElementsNode = lungNoduleNodeSeriesSerie["Elements"]["Element"];
|
||||
for (auto lungNoduleNodeSeriesSerieElementsElement : allElementsNode)
|
||||
{
|
||||
Data::LungNodule::Serie::Element elementsObject;
|
||||
if(!lungNoduleNodeSeriesSerieElementsElement["Category"].isNull())
|
||||
elementsObject.category = lungNoduleNodeSeriesSerieElementsElement["Category"].asString();
|
||||
if(!lungNoduleNodeSeriesSerieElementsElement["Confidence"].isNull())
|
||||
elementsObject.confidence = std::stof(lungNoduleNodeSeriesSerieElementsElement["Confidence"].asString());
|
||||
if(!lungNoduleNodeSeriesSerieElementsElement["Diameter"].isNull())
|
||||
elementsObject.diameter = std::stof(lungNoduleNodeSeriesSerieElementsElement["Diameter"].asString());
|
||||
if(!lungNoduleNodeSeriesSerieElementsElement["Lobe"].isNull())
|
||||
elementsObject.lobe = lungNoduleNodeSeriesSerieElementsElement["Lobe"].asString();
|
||||
if(!lungNoduleNodeSeriesSerieElementsElement["Lung"].isNull())
|
||||
elementsObject.lung = lungNoduleNodeSeriesSerieElementsElement["Lung"].asString();
|
||||
if(!lungNoduleNodeSeriesSerieElementsElement["X"].isNull())
|
||||
elementsObject.x = std::stof(lungNoduleNodeSeriesSerieElementsElement["X"].asString());
|
||||
if(!lungNoduleNodeSeriesSerieElementsElement["Z"].isNull())
|
||||
elementsObject.z = std::stof(lungNoduleNodeSeriesSerieElementsElement["Z"].asString());
|
||||
if(!lungNoduleNodeSeriesSerieElementsElement["Y"].isNull())
|
||||
elementsObject.y = std::stof(lungNoduleNodeSeriesSerieElementsElement["Y"].asString());
|
||||
if(!lungNoduleNodeSeriesSerieElementsElement["ImageX"].isNull())
|
||||
elementsObject.imageX = std::stof(lungNoduleNodeSeriesSerieElementsElement["ImageX"].asString());
|
||||
if(!lungNoduleNodeSeriesSerieElementsElement["ImageY"].isNull())
|
||||
elementsObject.imageY = std::stof(lungNoduleNodeSeriesSerieElementsElement["ImageY"].asString());
|
||||
if(!lungNoduleNodeSeriesSerieElementsElement["ImageZ"].isNull())
|
||||
elementsObject.imageZ = std::stof(lungNoduleNodeSeriesSerieElementsElement["ImageZ"].asString());
|
||||
if(!lungNoduleNodeSeriesSerieElementsElement["SOPInstanceUID"].isNull())
|
||||
elementsObject.sOPInstanceUID = lungNoduleNodeSeriesSerieElementsElement["SOPInstanceUID"].asString();
|
||||
if(!lungNoduleNodeSeriesSerieElementsElement["Volume"].isNull())
|
||||
elementsObject.volume = std::stof(lungNoduleNodeSeriesSerieElementsElement["Volume"].asString());
|
||||
if(!lungNoduleNodeSeriesSerieElementsElement["MeanValue"].isNull())
|
||||
elementsObject.meanValue = std::stof(lungNoduleNodeSeriesSerieElementsElement["MeanValue"].asString());
|
||||
serieObject.elements.push_back(elementsObject);
|
||||
}
|
||||
auto allOrigin = value["Origin"]["Origin"];
|
||||
for (auto value : allOrigin)
|
||||
serieObject.origin.push_back(value.asString());
|
||||
auto allSpacing = value["Spacing"]["Spacing"];
|
||||
for (auto value : allSpacing)
|
||||
serieObject.spacing.push_back(value.asString());
|
||||
data_.lungNodule.series.push_back(serieObject);
|
||||
}
|
||||
auto cACSNode = dataNode["CACS"];
|
||||
if(!cACSNode["Score"].isNull())
|
||||
data_.cACS.score = cACSNode["Score"].asString();
|
||||
if(!cACSNode["ResultUrl"].isNull())
|
||||
data_.cACS.resultUrl = cACSNode["ResultUrl"].asString();
|
||||
auto covidNode = dataNode["Covid"];
|
||||
if(!covidNode["NewProbability"].isNull())
|
||||
data_.covid.newProbability = covidNode["NewProbability"].asString();
|
||||
if(!covidNode["NormalProbability"].isNull())
|
||||
data_.covid.normalProbability = covidNode["NormalProbability"].asString();
|
||||
if(!covidNode["OtherProbability"].isNull())
|
||||
data_.covid.otherProbability = covidNode["OtherProbability"].asString();
|
||||
if(!covidNode["LesionRatio"].isNull())
|
||||
data_.covid.lesionRatio = covidNode["LesionRatio"].asString();
|
||||
if(!covidNode["Mask"].isNull())
|
||||
data_.covid.mask = covidNode["Mask"].asString();
|
||||
|
||||
}
|
||||
|
||||
ScreenChestCTResult::Data ScreenChestCTResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -53,8 +53,6 @@ namespace AlibabaCloud
|
||||
std::string beard;
|
||||
float beardConfidence;
|
||||
HeadPose headPose;
|
||||
std::string race;
|
||||
float raceConfidence;
|
||||
std::string glasses;
|
||||
std::string mask;
|
||||
float maskConfidence;
|
||||
|
||||
@@ -100,8 +100,6 @@ namespace AlibabaCloud
|
||||
std::string beard;
|
||||
float beardConfidence;
|
||||
HeadPose headPose;
|
||||
float raceConfidence;
|
||||
std::string race;
|
||||
std::string glasses;
|
||||
float maskConfidence;
|
||||
std::string mask;
|
||||
@@ -132,7 +130,7 @@ namespace AlibabaCloud
|
||||
struct OCRBoundary
|
||||
{
|
||||
int left;
|
||||
int left1;
|
||||
int top;
|
||||
int height;
|
||||
int width;
|
||||
};
|
||||
|
||||
@@ -88,8 +88,6 @@ namespace AlibabaCloud
|
||||
std::string beard;
|
||||
float beardConfidence;
|
||||
HeadPose headPose;
|
||||
std::string race;
|
||||
float raceConfidence;
|
||||
std::string glasses;
|
||||
std::string mask;
|
||||
float maskConfidence;
|
||||
|
||||
@@ -100,8 +100,6 @@ namespace AlibabaCloud
|
||||
std::string beard;
|
||||
float beardConfidence;
|
||||
HeadPose headPose;
|
||||
float raceConfidence;
|
||||
std::string race;
|
||||
std::string glasses;
|
||||
float maskConfidence;
|
||||
std::string mask;
|
||||
@@ -132,7 +130,7 @@ namespace AlibabaCloud
|
||||
struct OCRBoundary
|
||||
{
|
||||
int left;
|
||||
int left1;
|
||||
int top;
|
||||
int height;
|
||||
int width;
|
||||
};
|
||||
|
||||
@@ -65,8 +65,6 @@ namespace AlibabaCloud
|
||||
std::string beard;
|
||||
float beardConfidence;
|
||||
HeadPose headPose;
|
||||
float raceConfidence;
|
||||
std::string race;
|
||||
std::string glasses;
|
||||
float maskConfidence;
|
||||
std::string mask;
|
||||
|
||||
@@ -70,16 +70,12 @@ void DetectImageFacesResult::parse(const std::string &payload)
|
||||
facesObject.faceAttributes.glasses = faceAttributesNode["Glasses"].asString();
|
||||
if(!faceAttributesNode["Beard"].isNull())
|
||||
facesObject.faceAttributes.beard = faceAttributesNode["Beard"].asString();
|
||||
if(!faceAttributesNode["Race"].isNull())
|
||||
facesObject.faceAttributes.race = faceAttributesNode["Race"].asString();
|
||||
if(!faceAttributesNode["Mask"].isNull())
|
||||
facesObject.faceAttributes.mask = faceAttributesNode["Mask"].asString();
|
||||
if(!faceAttributesNode["GlassesConfidence"].isNull())
|
||||
facesObject.faceAttributes.glassesConfidence = std::stof(faceAttributesNode["GlassesConfidence"].asString());
|
||||
if(!faceAttributesNode["BeardConfidence"].isNull())
|
||||
facesObject.faceAttributes.beardConfidence = std::stof(faceAttributesNode["BeardConfidence"].asString());
|
||||
if(!faceAttributesNode["RaceConfidence"].isNull())
|
||||
facesObject.faceAttributes.raceConfidence = std::stof(faceAttributesNode["RaceConfidence"].asString());
|
||||
if(!faceAttributesNode["MaskConfidence"].isNull())
|
||||
facesObject.faceAttributes.maskConfidence = std::stof(faceAttributesNode["MaskConfidence"].asString());
|
||||
auto faceBoundaryNode = faceAttributesNode["FaceBoundary"];
|
||||
|
||||
@@ -190,14 +190,10 @@ void FindImagesResult::parse(const std::string &payload)
|
||||
facesObject.faceAttributes.glassesConfidence = std::stof(faceAttributesNode["GlassesConfidence"].asString());
|
||||
if(!faceAttributesNode["Glasses"].isNull())
|
||||
facesObject.faceAttributes.glasses = faceAttributesNode["Glasses"].asString();
|
||||
if(!faceAttributesNode["RaceConfidence"].isNull())
|
||||
facesObject.faceAttributes.raceConfidence = std::stof(faceAttributesNode["RaceConfidence"].asString());
|
||||
if(!faceAttributesNode["Beard"].isNull())
|
||||
facesObject.faceAttributes.beard = faceAttributesNode["Beard"].asString();
|
||||
if(!faceAttributesNode["MaskConfidence"].isNull())
|
||||
facesObject.faceAttributes.maskConfidence = std::stof(faceAttributesNode["MaskConfidence"].asString());
|
||||
if(!faceAttributesNode["Race"].isNull())
|
||||
facesObject.faceAttributes.race = faceAttributesNode["Race"].asString();
|
||||
if(!faceAttributesNode["BeardConfidence"].isNull())
|
||||
facesObject.faceAttributes.beardConfidence = std::stof(faceAttributesNode["BeardConfidence"].asString());
|
||||
if(!faceAttributesNode["Mask"].isNull())
|
||||
@@ -245,8 +241,8 @@ void FindImagesResult::parse(const std::string &payload)
|
||||
auto oCRBoundaryNode = value["OCRBoundary"];
|
||||
if(!oCRBoundaryNode["Left"].isNull())
|
||||
oCRObject.oCRBoundary.left = std::stoi(oCRBoundaryNode["Left"].asString());
|
||||
if(!oCRBoundaryNode["Left"].isNull())
|
||||
oCRObject.oCRBoundary.left1 = std::stoi(oCRBoundaryNode["Left"].asString());
|
||||
if(!oCRBoundaryNode["Top"].isNull())
|
||||
oCRObject.oCRBoundary.top = std::stoi(oCRBoundaryNode["Top"].asString());
|
||||
if(!oCRBoundaryNode["Width"].isNull())
|
||||
oCRObject.oCRBoundary.width = std::stoi(oCRBoundaryNode["Width"].asString());
|
||||
if(!oCRBoundaryNode["Height"].isNull())
|
||||
|
||||
@@ -87,16 +87,12 @@ void GetImageResult::parse(const std::string &payload)
|
||||
facesObject.faceAttributes.glasses = faceAttributesNode["Glasses"].asString();
|
||||
if(!faceAttributesNode["Beard"].isNull())
|
||||
facesObject.faceAttributes.beard = faceAttributesNode["Beard"].asString();
|
||||
if(!faceAttributesNode["Race"].isNull())
|
||||
facesObject.faceAttributes.race = faceAttributesNode["Race"].asString();
|
||||
if(!faceAttributesNode["Mask"].isNull())
|
||||
facesObject.faceAttributes.mask = faceAttributesNode["Mask"].asString();
|
||||
if(!faceAttributesNode["GlassesConfidence"].isNull())
|
||||
facesObject.faceAttributes.glassesConfidence = std::stof(faceAttributesNode["GlassesConfidence"].asString());
|
||||
if(!faceAttributesNode["BeardConfidence"].isNull())
|
||||
facesObject.faceAttributes.beardConfidence = std::stof(faceAttributesNode["BeardConfidence"].asString());
|
||||
if(!faceAttributesNode["RaceConfidence"].isNull())
|
||||
facesObject.faceAttributes.raceConfidence = std::stof(faceAttributesNode["RaceConfidence"].asString());
|
||||
if(!faceAttributesNode["MaskConfidence"].isNull())
|
||||
facesObject.faceAttributes.maskConfidence = std::stof(faceAttributesNode["MaskConfidence"].asString());
|
||||
auto faceBoundaryNode = faceAttributesNode["FaceBoundary"];
|
||||
|
||||
@@ -190,14 +190,10 @@ void ListImagesResult::parse(const std::string &payload)
|
||||
facesObject.faceAttributes.glassesConfidence = std::stof(faceAttributesNode["GlassesConfidence"].asString());
|
||||
if(!faceAttributesNode["Glasses"].isNull())
|
||||
facesObject.faceAttributes.glasses = faceAttributesNode["Glasses"].asString();
|
||||
if(!faceAttributesNode["RaceConfidence"].isNull())
|
||||
facesObject.faceAttributes.raceConfidence = std::stof(faceAttributesNode["RaceConfidence"].asString());
|
||||
if(!faceAttributesNode["Beard"].isNull())
|
||||
facesObject.faceAttributes.beard = faceAttributesNode["Beard"].asString();
|
||||
if(!faceAttributesNode["MaskConfidence"].isNull())
|
||||
facesObject.faceAttributes.maskConfidence = std::stof(faceAttributesNode["MaskConfidence"].asString());
|
||||
if(!faceAttributesNode["Race"].isNull())
|
||||
facesObject.faceAttributes.race = faceAttributesNode["Race"].asString();
|
||||
if(!faceAttributesNode["BeardConfidence"].isNull())
|
||||
facesObject.faceAttributes.beardConfidence = std::stof(faceAttributesNode["BeardConfidence"].asString());
|
||||
if(!faceAttributesNode["Mask"].isNull())
|
||||
@@ -245,8 +241,8 @@ void ListImagesResult::parse(const std::string &payload)
|
||||
auto oCRBoundaryNode = value["OCRBoundary"];
|
||||
if(!oCRBoundaryNode["Left"].isNull())
|
||||
oCRObject.oCRBoundary.left = std::stoi(oCRBoundaryNode["Left"].asString());
|
||||
if(!oCRBoundaryNode["Left"].isNull())
|
||||
oCRObject.oCRBoundary.left1 = std::stoi(oCRBoundaryNode["Left"].asString());
|
||||
if(!oCRBoundaryNode["Top"].isNull())
|
||||
oCRObject.oCRBoundary.top = std::stoi(oCRBoundaryNode["Top"].asString());
|
||||
if(!oCRBoundaryNode["Width"].isNull())
|
||||
oCRObject.oCRBoundary.width = std::stoi(oCRBoundaryNode["Width"].asString());
|
||||
if(!oCRBoundaryNode["Height"].isNull())
|
||||
|
||||
@@ -149,14 +149,10 @@ void ListVideoFramesResult::parse(const std::string &payload)
|
||||
facesObject.faceAttributes.glassesConfidence = std::stof(faceAttributesNode["GlassesConfidence"].asString());
|
||||
if(!faceAttributesNode["Glasses"].isNull())
|
||||
facesObject.faceAttributes.glasses = faceAttributesNode["Glasses"].asString();
|
||||
if(!faceAttributesNode["RaceConfidence"].isNull())
|
||||
facesObject.faceAttributes.raceConfidence = std::stof(faceAttributesNode["RaceConfidence"].asString());
|
||||
if(!faceAttributesNode["Beard"].isNull())
|
||||
facesObject.faceAttributes.beard = faceAttributesNode["Beard"].asString();
|
||||
if(!faceAttributesNode["MaskConfidence"].isNull())
|
||||
facesObject.faceAttributes.maskConfidence = std::stof(faceAttributesNode["MaskConfidence"].asString());
|
||||
if(!faceAttributesNode["Race"].isNull())
|
||||
facesObject.faceAttributes.race = faceAttributesNode["Race"].asString();
|
||||
if(!faceAttributesNode["BeardConfidence"].isNull())
|
||||
facesObject.faceAttributes.beardConfidence = std::stof(faceAttributesNode["BeardConfidence"].asString());
|
||||
if(!faceAttributesNode["Mask"].isNull())
|
||||
|
||||
@@ -105,8 +105,6 @@ set(polardb_public_header_model
|
||||
include/alibabacloud/polardb/model/DescribeDetachedBackupsResult.h
|
||||
include/alibabacloud/polardb/model/DescribeGlobalDatabaseNetworksRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeGlobalDatabaseNetworksResult.h
|
||||
include/alibabacloud/polardb/model/DescribeLocalAvailableRecoveryTimeRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeLocalAvailableRecoveryTimeResult.h
|
||||
include/alibabacloud/polardb/model/DescribeLogBackupPolicyRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeLogBackupPolicyResult.h
|
||||
include/alibabacloud/polardb/model/DescribeMetaListRequest.h
|
||||
@@ -119,8 +117,6 @@ set(polardb_public_header_model
|
||||
include/alibabacloud/polardb/model/DescribeRegionsResult.h
|
||||
include/alibabacloud/polardb/model/DescribeSlowLogRecordsRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeSlowLogRecordsResult.h
|
||||
include/alibabacloud/polardb/model/DescribeSlowLogsRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeSlowLogsResult.h
|
||||
include/alibabacloud/polardb/model/DescribeTasksRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeTasksResult.h
|
||||
include/alibabacloud/polardb/model/FailoverDBClusterRequest.h
|
||||
@@ -180,7 +176,9 @@ set(polardb_public_header_model
|
||||
include/alibabacloud/polardb/model/TagResourcesRequest.h
|
||||
include/alibabacloud/polardb/model/TagResourcesResult.h
|
||||
include/alibabacloud/polardb/model/UntagResourcesRequest.h
|
||||
include/alibabacloud/polardb/model/UntagResourcesResult.h )
|
||||
include/alibabacloud/polardb/model/UntagResourcesResult.h
|
||||
include/alibabacloud/polardb/model/UpgradeDBClusterMinorVersionRequest.h
|
||||
include/alibabacloud/polardb/model/UpgradeDBClusterMinorVersionResult.h )
|
||||
|
||||
set(polardb_src
|
||||
src/PolardbClient.cc
|
||||
@@ -268,8 +266,6 @@ set(polardb_src
|
||||
src/model/DescribeDetachedBackupsResult.cc
|
||||
src/model/DescribeGlobalDatabaseNetworksRequest.cc
|
||||
src/model/DescribeGlobalDatabaseNetworksResult.cc
|
||||
src/model/DescribeLocalAvailableRecoveryTimeRequest.cc
|
||||
src/model/DescribeLocalAvailableRecoveryTimeResult.cc
|
||||
src/model/DescribeLogBackupPolicyRequest.cc
|
||||
src/model/DescribeLogBackupPolicyResult.cc
|
||||
src/model/DescribeMetaListRequest.cc
|
||||
@@ -282,8 +278,6 @@ set(polardb_src
|
||||
src/model/DescribeRegionsResult.cc
|
||||
src/model/DescribeSlowLogRecordsRequest.cc
|
||||
src/model/DescribeSlowLogRecordsResult.cc
|
||||
src/model/DescribeSlowLogsRequest.cc
|
||||
src/model/DescribeSlowLogsResult.cc
|
||||
src/model/DescribeTasksRequest.cc
|
||||
src/model/DescribeTasksResult.cc
|
||||
src/model/FailoverDBClusterRequest.cc
|
||||
@@ -343,7 +337,9 @@ set(polardb_src
|
||||
src/model/TagResourcesRequest.cc
|
||||
src/model/TagResourcesResult.cc
|
||||
src/model/UntagResourcesRequest.cc
|
||||
src/model/UntagResourcesResult.cc )
|
||||
src/model/UntagResourcesResult.cc
|
||||
src/model/UpgradeDBClusterMinorVersionRequest.cc
|
||||
src/model/UpgradeDBClusterMinorVersionResult.cc )
|
||||
|
||||
add_library(polardb ${LIB_TYPE}
|
||||
${polardb_public_header}
|
||||
|
||||
@@ -106,8 +106,6 @@
|
||||
#include "model/DescribeDetachedBackupsResult.h"
|
||||
#include "model/DescribeGlobalDatabaseNetworksRequest.h"
|
||||
#include "model/DescribeGlobalDatabaseNetworksResult.h"
|
||||
#include "model/DescribeLocalAvailableRecoveryTimeRequest.h"
|
||||
#include "model/DescribeLocalAvailableRecoveryTimeResult.h"
|
||||
#include "model/DescribeLogBackupPolicyRequest.h"
|
||||
#include "model/DescribeLogBackupPolicyResult.h"
|
||||
#include "model/DescribeMetaListRequest.h"
|
||||
@@ -120,8 +118,6 @@
|
||||
#include "model/DescribeRegionsResult.h"
|
||||
#include "model/DescribeSlowLogRecordsRequest.h"
|
||||
#include "model/DescribeSlowLogRecordsResult.h"
|
||||
#include "model/DescribeSlowLogsRequest.h"
|
||||
#include "model/DescribeSlowLogsResult.h"
|
||||
#include "model/DescribeTasksRequest.h"
|
||||
#include "model/DescribeTasksResult.h"
|
||||
#include "model/FailoverDBClusterRequest.h"
|
||||
@@ -182,6 +178,8 @@
|
||||
#include "model/TagResourcesResult.h"
|
||||
#include "model/UntagResourcesRequest.h"
|
||||
#include "model/UntagResourcesResult.h"
|
||||
#include "model/UpgradeDBClusterMinorVersionRequest.h"
|
||||
#include "model/UpgradeDBClusterMinorVersionResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -317,9 +315,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeGlobalDatabaseNetworksResult> DescribeGlobalDatabaseNetworksOutcome;
|
||||
typedef std::future<DescribeGlobalDatabaseNetworksOutcome> DescribeGlobalDatabaseNetworksOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeGlobalDatabaseNetworksRequest&, const DescribeGlobalDatabaseNetworksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGlobalDatabaseNetworksAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLocalAvailableRecoveryTimeResult> DescribeLocalAvailableRecoveryTimeOutcome;
|
||||
typedef std::future<DescribeLocalAvailableRecoveryTimeOutcome> DescribeLocalAvailableRecoveryTimeOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeLocalAvailableRecoveryTimeRequest&, const DescribeLocalAvailableRecoveryTimeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLocalAvailableRecoveryTimeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLogBackupPolicyResult> DescribeLogBackupPolicyOutcome;
|
||||
typedef std::future<DescribeLogBackupPolicyOutcome> DescribeLogBackupPolicyOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeLogBackupPolicyRequest&, const DescribeLogBackupPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLogBackupPolicyAsyncHandler;
|
||||
@@ -338,9 +333,6 @@ namespace AlibabaCloud
|
||||
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::DescribeSlowLogsResult> DescribeSlowLogsOutcome;
|
||||
typedef std::future<DescribeSlowLogsOutcome> DescribeSlowLogsOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeSlowLogsRequest&, const DescribeSlowLogsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSlowLogsAsyncHandler;
|
||||
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;
|
||||
@@ -431,6 +423,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UntagResourcesResult> UntagResourcesOutcome;
|
||||
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
|
||||
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;
|
||||
|
||||
PolardbClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
PolardbClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
@@ -562,9 +557,6 @@ namespace AlibabaCloud
|
||||
DescribeGlobalDatabaseNetworksOutcome describeGlobalDatabaseNetworks(const Model::DescribeGlobalDatabaseNetworksRequest &request)const;
|
||||
void describeGlobalDatabaseNetworksAsync(const Model::DescribeGlobalDatabaseNetworksRequest& request, const DescribeGlobalDatabaseNetworksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeGlobalDatabaseNetworksOutcomeCallable describeGlobalDatabaseNetworksCallable(const Model::DescribeGlobalDatabaseNetworksRequest& request) const;
|
||||
DescribeLocalAvailableRecoveryTimeOutcome describeLocalAvailableRecoveryTime(const Model::DescribeLocalAvailableRecoveryTimeRequest &request)const;
|
||||
void describeLocalAvailableRecoveryTimeAsync(const Model::DescribeLocalAvailableRecoveryTimeRequest& request, const DescribeLocalAvailableRecoveryTimeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLocalAvailableRecoveryTimeOutcomeCallable describeLocalAvailableRecoveryTimeCallable(const Model::DescribeLocalAvailableRecoveryTimeRequest& request) const;
|
||||
DescribeLogBackupPolicyOutcome describeLogBackupPolicy(const Model::DescribeLogBackupPolicyRequest &request)const;
|
||||
void describeLogBackupPolicyAsync(const Model::DescribeLogBackupPolicyRequest& request, const DescribeLogBackupPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLogBackupPolicyOutcomeCallable describeLogBackupPolicyCallable(const Model::DescribeLogBackupPolicyRequest& request) const;
|
||||
@@ -583,9 +575,6 @@ namespace AlibabaCloud
|
||||
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;
|
||||
DescribeSlowLogsOutcome describeSlowLogs(const Model::DescribeSlowLogsRequest &request)const;
|
||||
void describeSlowLogsAsync(const Model::DescribeSlowLogsRequest& request, const DescribeSlowLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSlowLogsOutcomeCallable describeSlowLogsCallable(const Model::DescribeSlowLogsRequest& 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;
|
||||
@@ -676,6 +665,9 @@ namespace AlibabaCloud
|
||||
UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const;
|
||||
void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const;
|
||||
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;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -43,8 +43,14 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTargetDBName()const;
|
||||
void setTargetDBName(const std::string& targetDBName);
|
||||
std::string getTargetIp()const;
|
||||
void setTargetIp(const std::string& targetIp);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDBLinkName()const;
|
||||
void setDBLinkName(const std::string& dBLinkName);
|
||||
std::string getTargetPort()const;
|
||||
void setTargetPort(const std::string& targetPort);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getTargetDBInstanceName()const;
|
||||
@@ -59,13 +65,18 @@ namespace AlibabaCloud
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTargetDBAccount()const;
|
||||
void setTargetDBAccount(const std::string& targetDBAccount);
|
||||
std::string getVpcId()const;
|
||||
void setVpcId(const std::string& vpcId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string sourceDBName_;
|
||||
std::string accessKeyId_;
|
||||
std::string targetDBName_;
|
||||
std::string targetIp_;
|
||||
std::string regionId_;
|
||||
std::string dBLinkName_;
|
||||
std::string targetPort_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string targetDBInstanceName_;
|
||||
std::string dBClusterId_;
|
||||
@@ -73,6 +84,7 @@ namespace AlibabaCloud
|
||||
std::string targetDBPasswd_;
|
||||
long ownerId_;
|
||||
std::string targetDBAccount_;
|
||||
std::string vpcId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getEndpointBindList()const;
|
||||
void setEndpointBindList(const std::string& endpointBindList);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
@@ -61,6 +63,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string endpointBindList_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
|
||||
@@ -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 getAccountName()const;
|
||||
void setAccountName(const std::string& accountName);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
@@ -52,8 +56,10 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountName_;
|
||||
int pageSize_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -53,11 +53,15 @@ namespace AlibabaCloud
|
||||
DescribeAccountsResult();
|
||||
explicit DescribeAccountsResult(const std::string &payload);
|
||||
~DescribeAccountsResult();
|
||||
int getPageRecordCount()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<DBAccount> getAccounts()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageRecordCount_;
|
||||
int pageNumber_;
|
||||
std::vector<DBAccount> accounts_;
|
||||
|
||||
};
|
||||
|
||||
@@ -37,7 +37,6 @@ namespace AlibabaCloud
|
||||
DescribeDBClusterVersionResult();
|
||||
explicit DescribeDBClusterVersionResult(const std::string &payload);
|
||||
~DescribeDBClusterVersionResult();
|
||||
std::string getLatestRevisionVersion()const;
|
||||
std::string getIsLatestVersion()const;
|
||||
std::string getDBVersion()const;
|
||||
std::string getDBRevisionVersion()const;
|
||||
@@ -48,7 +47,6 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string latestRevisionVersion_;
|
||||
std::string isLatestVersion_;
|
||||
std::string dBVersion_;
|
||||
std::string dBRevisionVersion_;
|
||||
|
||||
@@ -37,8 +37,12 @@ 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);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
@@ -52,7 +56,9 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
int pageSize_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -54,11 +54,15 @@ namespace AlibabaCloud
|
||||
explicit DescribeDatabasesResult(const std::string &payload);
|
||||
~DescribeDatabasesResult();
|
||||
std::vector<Database> getDatabases()const;
|
||||
int getPageRecordCount()const;
|
||||
int getPageNumber()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Database> databases_;
|
||||
int pageRecordCount_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,81 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR 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_DESCRIBESLOWLOGSREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBESLOWLOGSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeSlowLogsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeSlowLogsRequest();
|
||||
~DescribeSlowLogsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
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;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getDBName()const;
|
||||
void setDBName(const std::string& dBName);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string startTime_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string dBName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBESLOWLOGSREQUEST_H_
|
||||
@@ -1,82 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR 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_DESCRIBESLOWLOGSRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBESLOWLOGSRESULT_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 DescribeSlowLogsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SQLSlowLog
|
||||
{
|
||||
long maxLockTime;
|
||||
std::string createTime;
|
||||
long totalExecutionCounts;
|
||||
std::string dBNodeId;
|
||||
long totalLockTimes;
|
||||
long totalExecutionTimes;
|
||||
long returnMaxRowCount;
|
||||
long parseMaxRowCount;
|
||||
long maxExecutionTime;
|
||||
std::string sQLText;
|
||||
std::string sQLHASH;
|
||||
long returnTotalRowCounts;
|
||||
long parseTotalRowCounts;
|
||||
std::string dBName;
|
||||
};
|
||||
|
||||
|
||||
DescribeSlowLogsResult();
|
||||
explicit DescribeSlowLogsResult(const std::string &payload);
|
||||
~DescribeSlowLogsResult();
|
||||
int getTotalRecordCount()const;
|
||||
int getPageRecordCount()const;
|
||||
std::string getEndTime()const;
|
||||
int getPageNumber()const;
|
||||
std::string getDBClusterId()const;
|
||||
std::string getStartTime()const;
|
||||
std::vector<SQLSlowLog> getItems()const;
|
||||
std::string getEngine()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalRecordCount_;
|
||||
int pageRecordCount_;
|
||||
std::string endTime_;
|
||||
int pageNumber_;
|
||||
std::string dBClusterId_;
|
||||
std::string startTime_;
|
||||
std::vector<SQLSlowLog> items_;
|
||||
std::string engine_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBESLOWLOGSRESULT_H_
|
||||
@@ -59,9 +59,8 @@ namespace AlibabaCloud
|
||||
int getPageRecordCount()const;
|
||||
std::string getEndTime()const;
|
||||
int getPageNumber()const;
|
||||
std::string getDBInstanceId()const;
|
||||
std::string getStartTime()const;
|
||||
std::string getDBInstanceName()const;
|
||||
std::string getDBClusterId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -71,9 +70,8 @@ namespace AlibabaCloud
|
||||
int pageRecordCount_;
|
||||
std::string endTime_;
|
||||
int pageNumber_;
|
||||
std::string dBInstanceId_;
|
||||
std::string startTime_;
|
||||
std::string dBInstanceName_;
|
||||
std::string dBClusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBELOCALAVAILABLERECOVERYTIMEREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBELOCALAVAILABLERECOVERYTIMEREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_UPGRADEDBCLUSTERMINORVERSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_UPGRADEDBCLUSTERMINORVERSIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,19 +28,19 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeLocalAvailableRecoveryTimeRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_POLARDB_EXPORT UpgradeDBClusterMinorVersionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeLocalAvailableRecoveryTimeRequest();
|
||||
~DescribeLocalAvailableRecoveryTimeRequest();
|
||||
UpgradeDBClusterMinorVersionRequest();
|
||||
~UpgradeDBClusterMinorVersionRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getSwitchTimeMode()const;
|
||||
void setSwitchTimeMode(const std::string& switchTimeMode);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
@@ -53,7 +53,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string switchTimeMode_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
@@ -63,4 +63,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBELOCALAVAILABLERECOVERYTIMEREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_UPGRADEDBCLUSTERMINORVERSIONREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBELOCALAVAILABLERECOVERYTIMERESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBELOCALAVAILABLERECOVERYTIMERESULT_H_
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_UPGRADEDBCLUSTERMINORVERSIONRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_UPGRADEDBCLUSTERMINORVERSIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,27 +29,21 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeLocalAvailableRecoveryTimeResult : public ServiceResult
|
||||
class ALIBABACLOUD_POLARDB_EXPORT UpgradeDBClusterMinorVersionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeLocalAvailableRecoveryTimeResult();
|
||||
explicit DescribeLocalAvailableRecoveryTimeResult(const std::string &payload);
|
||||
~DescribeLocalAvailableRecoveryTimeResult();
|
||||
std::string getRecoveryEndTime()const;
|
||||
std::string getRecoveryBeginTime()const;
|
||||
std::string getDBClusterId()const;
|
||||
UpgradeDBClusterMinorVersionResult();
|
||||
explicit UpgradeDBClusterMinorVersionResult(const std::string &payload);
|
||||
~UpgradeDBClusterMinorVersionResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string recoveryEndTime_;
|
||||
std::string recoveryBeginTime_;
|
||||
std::string dBClusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBELOCALAVAILABLERECOVERYTIMERESULT_H_
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_UPGRADEDBCLUSTERMINORVERSIONRESULT_H_
|
||||
@@ -1563,42 +1563,6 @@ PolardbClient::DescribeGlobalDatabaseNetworksOutcomeCallable PolardbClient::desc
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribeLocalAvailableRecoveryTimeOutcome PolardbClient::describeLocalAvailableRecoveryTime(const DescribeLocalAvailableRecoveryTimeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLocalAvailableRecoveryTimeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLocalAvailableRecoveryTimeOutcome(DescribeLocalAvailableRecoveryTimeResult(outcome.result()));
|
||||
else
|
||||
return DescribeLocalAvailableRecoveryTimeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::describeLocalAvailableRecoveryTimeAsync(const DescribeLocalAvailableRecoveryTimeRequest& request, const DescribeLocalAvailableRecoveryTimeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLocalAvailableRecoveryTime(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::DescribeLocalAvailableRecoveryTimeOutcomeCallable PolardbClient::describeLocalAvailableRecoveryTimeCallable(const DescribeLocalAvailableRecoveryTimeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLocalAvailableRecoveryTimeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLocalAvailableRecoveryTime(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribeLogBackupPolicyOutcome PolardbClient::describeLogBackupPolicy(const DescribeLogBackupPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1815,42 +1779,6 @@ PolardbClient::DescribeSlowLogRecordsOutcomeCallable PolardbClient::describeSlow
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribeSlowLogsOutcome PolardbClient::describeSlowLogs(const DescribeSlowLogsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeSlowLogsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeSlowLogsOutcome(DescribeSlowLogsResult(outcome.result()));
|
||||
else
|
||||
return DescribeSlowLogsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::describeSlowLogsAsync(const DescribeSlowLogsRequest& request, const DescribeSlowLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeSlowLogs(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::DescribeSlowLogsOutcomeCallable PolardbClient::describeSlowLogsCallable(const DescribeSlowLogsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeSlowLogsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeSlowLogs(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribeTasksOutcome PolardbClient::describeTasks(const DescribeTasksRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2931,3 +2859,39 @@ PolardbClient::UntagResourcesOutcomeCallable PolardbClient::untagResourcesCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::UpgradeDBClusterMinorVersionOutcome PolardbClient::upgradeDBClusterMinorVersion(const UpgradeDBClusterMinorVersionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpgradeDBClusterMinorVersionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpgradeDBClusterMinorVersionOutcome(UpgradeDBClusterMinorVersionResult(outcome.result()));
|
||||
else
|
||||
return UpgradeDBClusterMinorVersionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::upgradeDBClusterMinorVersionAsync(const UpgradeDBClusterMinorVersionRequest& request, const UpgradeDBClusterMinorVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, upgradeDBClusterMinorVersion(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::UpgradeDBClusterMinorVersionOutcomeCallable PolardbClient::upgradeDBClusterMinorVersionCallable(const UpgradeDBClusterMinorVersionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpgradeDBClusterMinorVersionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->upgradeDBClusterMinorVersion(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
@@ -71,6 +71,28 @@ void CreateDBLinkRequest::setTargetDBName(const std::string& targetDBName)
|
||||
setParameter("TargetDBName", targetDBName);
|
||||
}
|
||||
|
||||
std::string CreateDBLinkRequest::getTargetIp()const
|
||||
{
|
||||
return targetIp_;
|
||||
}
|
||||
|
||||
void CreateDBLinkRequest::setTargetIp(const std::string& targetIp)
|
||||
{
|
||||
targetIp_ = targetIp;
|
||||
setParameter("TargetIp", targetIp);
|
||||
}
|
||||
|
||||
std::string CreateDBLinkRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateDBLinkRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateDBLinkRequest::getDBLinkName()const
|
||||
{
|
||||
return dBLinkName_;
|
||||
@@ -82,6 +104,17 @@ void CreateDBLinkRequest::setDBLinkName(const std::string& dBLinkName)
|
||||
setParameter("DBLinkName", dBLinkName);
|
||||
}
|
||||
|
||||
std::string CreateDBLinkRequest::getTargetPort()const
|
||||
{
|
||||
return targetPort_;
|
||||
}
|
||||
|
||||
void CreateDBLinkRequest::setTargetPort(const std::string& targetPort)
|
||||
{
|
||||
targetPort_ = targetPort;
|
||||
setParameter("TargetPort", targetPort);
|
||||
}
|
||||
|
||||
std::string CreateDBLinkRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -159,3 +192,14 @@ void CreateDBLinkRequest::setTargetDBAccount(const std::string& targetDBAccount)
|
||||
setParameter("TargetDBAccount", targetDBAccount);
|
||||
}
|
||||
|
||||
std::string CreateDBLinkRequest::getVpcId()const
|
||||
{
|
||||
return vpcId_;
|
||||
}
|
||||
|
||||
void CreateDBLinkRequest::setVpcId(const std::string& vpcId)
|
||||
{
|
||||
vpcId_ = vpcId;
|
||||
setParameter("VpcId", vpcId);
|
||||
}
|
||||
|
||||
|
||||
@@ -49,6 +49,17 @@ void CreateDBNodesRequest::setClientToken(const std::string& clientToken)
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateDBNodesRequest::getEndpointBindList()const
|
||||
{
|
||||
return endpointBindList_;
|
||||
}
|
||||
|
||||
void CreateDBNodesRequest::setEndpointBindList(const std::string& endpointBindList)
|
||||
{
|
||||
endpointBindList_ = endpointBindList;
|
||||
setParameter("EndpointBindList", endpointBindList);
|
||||
}
|
||||
|
||||
std::string CreateDBNodesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
|
||||
@@ -38,6 +38,17 @@ void DescribeAccountsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int DescribeAccountsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeAccountsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeAccountsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -60,6 +71,17 @@ void DescribeAccountsRequest::setAccountName(const std::string& accountName)
|
||||
setParameter("AccountName", accountName);
|
||||
}
|
||||
|
||||
int DescribeAccountsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeAccountsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeAccountsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
|
||||
@@ -69,9 +69,23 @@ void DescribeAccountsResult::parse(const std::string &payload)
|
||||
}
|
||||
accounts_.push_back(accountsObject);
|
||||
}
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageRecordCount"].isNull())
|
||||
pageRecordCount_ = std::stoi(value["PageRecordCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeAccountsResult::getPageRecordCount()const
|
||||
{
|
||||
return pageRecordCount_;
|
||||
}
|
||||
|
||||
int DescribeAccountsResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAccountsResult::DBAccount> DescribeAccountsResult::getAccounts()const
|
||||
{
|
||||
return accounts_;
|
||||
|
||||
@@ -45,22 +45,15 @@ void DescribeDBClusterVersionResult::parse(const std::string &payload)
|
||||
dBVersion_ = value["DBVersion"].asString();
|
||||
if(!value["DBMinorVersion"].isNull())
|
||||
dBMinorVersion_ = value["DBMinorVersion"].asString();
|
||||
if(!value["DBRevisionVersion"].isNull())
|
||||
dBRevisionVersion_ = value["DBRevisionVersion"].asString();
|
||||
if(!value["DBVersionStatus"].isNull())
|
||||
dBVersionStatus_ = value["DBVersionStatus"].asString();
|
||||
if(!value["IsLatestVersion"].isNull())
|
||||
isLatestVersion_ = value["IsLatestVersion"].asString();
|
||||
if(!value["LatestRevisionVersion"].isNull())
|
||||
latestRevisionVersion_ = value["LatestRevisionVersion"].asString();
|
||||
if(!value["DBRevisionVersion"].isNull())
|
||||
dBRevisionVersion_ = value["DBRevisionVersion"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterVersionResult::getLatestRevisionVersion()const
|
||||
{
|
||||
return latestRevisionVersion_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterVersionResult::getIsLatestVersion()const
|
||||
{
|
||||
return isLatestVersion_;
|
||||
|
||||
@@ -38,6 +38,17 @@ void DescribeDatabasesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int DescribeDatabasesRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeDatabasesRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeDatabasesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -49,6 +60,17 @@ void DescribeDatabasesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int DescribeDatabasesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeDatabasesRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeDatabasesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
|
||||
@@ -69,6 +69,10 @@ void DescribeDatabasesResult::parse(const std::string &payload)
|
||||
}
|
||||
databases_.push_back(databasesObject);
|
||||
}
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageRecordCount"].isNull())
|
||||
pageRecordCount_ = std::stoi(value["PageRecordCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -77,3 +81,13 @@ std::vector<DescribeDatabasesResult::Database> DescribeDatabasesResult::getDatab
|
||||
return databases_;
|
||||
}
|
||||
|
||||
int DescribeDatabasesResult::getPageRecordCount()const
|
||||
{
|
||||
return pageRecordCount_;
|
||||
}
|
||||
|
||||
int DescribeDatabasesResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,106 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeLocalAvailableRecoveryTimeRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeLocalAvailableRecoveryTimeRequest;
|
||||
|
||||
DescribeLocalAvailableRecoveryTimeRequest::DescribeLocalAvailableRecoveryTimeRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeLocalAvailableRecoveryTime")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeLocalAvailableRecoveryTimeRequest::~DescribeLocalAvailableRecoveryTimeRequest()
|
||||
{}
|
||||
|
||||
long DescribeLocalAvailableRecoveryTimeRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeLocalAvailableRecoveryTimeRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeLocalAvailableRecoveryTimeRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeLocalAvailableRecoveryTimeRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeLocalAvailableRecoveryTimeRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeLocalAvailableRecoveryTimeRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeLocalAvailableRecoveryTimeRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeLocalAvailableRecoveryTimeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeLocalAvailableRecoveryTimeRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeLocalAvailableRecoveryTimeRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeLocalAvailableRecoveryTimeRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeLocalAvailableRecoveryTimeRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeLocalAvailableRecoveryTimeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLocalAvailableRecoveryTimeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,65 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeLocalAvailableRecoveryTimeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeLocalAvailableRecoveryTimeResult::DescribeLocalAvailableRecoveryTimeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeLocalAvailableRecoveryTimeResult::DescribeLocalAvailableRecoveryTimeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeLocalAvailableRecoveryTimeResult::~DescribeLocalAvailableRecoveryTimeResult()
|
||||
{}
|
||||
|
||||
void DescribeLocalAvailableRecoveryTimeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["RecoveryEndTime"].isNull())
|
||||
recoveryEndTime_ = value["RecoveryEndTime"].asString();
|
||||
if(!value["RecoveryBeginTime"].isNull())
|
||||
recoveryBeginTime_ = value["RecoveryBeginTime"].asString();
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeLocalAvailableRecoveryTimeResult::getRecoveryEndTime()const
|
||||
{
|
||||
return recoveryEndTime_;
|
||||
}
|
||||
|
||||
std::string DescribeLocalAvailableRecoveryTimeResult::getRecoveryBeginTime()const
|
||||
{
|
||||
return recoveryBeginTime_;
|
||||
}
|
||||
|
||||
std::string DescribeLocalAvailableRecoveryTimeResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
@@ -1,161 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeSlowLogsRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeSlowLogsRequest;
|
||||
|
||||
DescribeSlowLogsRequest::DescribeSlowLogsRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeSlowLogs")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeSlowLogsRequest::~DescribeSlowLogsRequest()
|
||||
{}
|
||||
|
||||
long DescribeSlowLogsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeSlowLogsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogsRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeSlowLogsRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
int DescribeSlowLogsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeSlowLogsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeSlowLogsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeSlowLogsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
int DescribeSlowLogsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeSlowLogsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeSlowLogsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogsRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeSlowLogsRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeSlowLogsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeSlowLogsRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeSlowLogsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeSlowLogsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogsRequest::getDBName()const
|
||||
{
|
||||
return dBName_;
|
||||
}
|
||||
|
||||
void DescribeSlowLogsRequest::setDBName(const std::string& dBName)
|
||||
{
|
||||
dBName_ = dBName;
|
||||
setParameter("DBName", dBName);
|
||||
}
|
||||
|
||||
@@ -1,132 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/DescribeSlowLogsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeSlowLogsResult::DescribeSlowLogsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeSlowLogsResult::DescribeSlowLogsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeSlowLogsResult::~DescribeSlowLogsResult()
|
||||
{}
|
||||
|
||||
void DescribeSlowLogsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["SQLSlowLog"];
|
||||
for (auto valueItemsSQLSlowLog : allItemsNode)
|
||||
{
|
||||
SQLSlowLog itemsObject;
|
||||
if(!valueItemsSQLSlowLog["DBNodeId"].isNull())
|
||||
itemsObject.dBNodeId = valueItemsSQLSlowLog["DBNodeId"].asString();
|
||||
if(!valueItemsSQLSlowLog["ParseMaxRowCount"].isNull())
|
||||
itemsObject.parseMaxRowCount = std::stol(valueItemsSQLSlowLog["ParseMaxRowCount"].asString());
|
||||
if(!valueItemsSQLSlowLog["TotalLockTimes"].isNull())
|
||||
itemsObject.totalLockTimes = std::stol(valueItemsSQLSlowLog["TotalLockTimes"].asString());
|
||||
if(!valueItemsSQLSlowLog["DBName"].isNull())
|
||||
itemsObject.dBName = valueItemsSQLSlowLog["DBName"].asString();
|
||||
if(!valueItemsSQLSlowLog["MaxExecutionTime"].isNull())
|
||||
itemsObject.maxExecutionTime = std::stol(valueItemsSQLSlowLog["MaxExecutionTime"].asString());
|
||||
if(!valueItemsSQLSlowLog["SQLHASH"].isNull())
|
||||
itemsObject.sQLHASH = valueItemsSQLSlowLog["SQLHASH"].asString();
|
||||
if(!valueItemsSQLSlowLog["SQLText"].isNull())
|
||||
itemsObject.sQLText = valueItemsSQLSlowLog["SQLText"].asString();
|
||||
if(!valueItemsSQLSlowLog["CreateTime"].isNull())
|
||||
itemsObject.createTime = valueItemsSQLSlowLog["CreateTime"].asString();
|
||||
if(!valueItemsSQLSlowLog["TotalExecutionTimes"].isNull())
|
||||
itemsObject.totalExecutionTimes = std::stol(valueItemsSQLSlowLog["TotalExecutionTimes"].asString());
|
||||
if(!valueItemsSQLSlowLog["ReturnTotalRowCounts"].isNull())
|
||||
itemsObject.returnTotalRowCounts = std::stol(valueItemsSQLSlowLog["ReturnTotalRowCounts"].asString());
|
||||
if(!valueItemsSQLSlowLog["TotalExecutionCounts"].isNull())
|
||||
itemsObject.totalExecutionCounts = std::stol(valueItemsSQLSlowLog["TotalExecutionCounts"].asString());
|
||||
if(!valueItemsSQLSlowLog["MaxLockTime"].isNull())
|
||||
itemsObject.maxLockTime = std::stol(valueItemsSQLSlowLog["MaxLockTime"].asString());
|
||||
if(!valueItemsSQLSlowLog["ReturnMaxRowCount"].isNull())
|
||||
itemsObject.returnMaxRowCount = std::stol(valueItemsSQLSlowLog["ReturnMaxRowCount"].asString());
|
||||
if(!valueItemsSQLSlowLog["ParseTotalRowCounts"].isNull())
|
||||
itemsObject.parseTotalRowCounts = std::stol(valueItemsSQLSlowLog["ParseTotalRowCounts"].asString());
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
if(!value["Engine"].isNull())
|
||||
engine_ = value["Engine"].asString();
|
||||
if(!value["TotalRecordCount"].isNull())
|
||||
totalRecordCount_ = std::stoi(value["TotalRecordCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageRecordCount"].isNull())
|
||||
pageRecordCount_ = std::stoi(value["PageRecordCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeSlowLogsResult::getTotalRecordCount()const
|
||||
{
|
||||
return totalRecordCount_;
|
||||
}
|
||||
|
||||
int DescribeSlowLogsResult::getPageRecordCount()const
|
||||
{
|
||||
return pageRecordCount_;
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogsResult::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
int DescribeSlowLogsResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogsResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogsResult::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::vector<DescribeSlowLogsResult::SQLSlowLog> DescribeSlowLogsResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
std::string DescribeSlowLogsResult::getEngine()const
|
||||
{
|
||||
return engine_;
|
||||
}
|
||||
|
||||
@@ -83,10 +83,8 @@ void DescribeTasksResult::parse(const std::string &payload)
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageRecordCount"].isNull())
|
||||
pageRecordCount_ = std::stoi(value["PageRecordCount"].asString());
|
||||
if(!value["DBInstanceName"].isNull())
|
||||
dBInstanceName_ = value["DBInstanceName"].asString();
|
||||
if(!value["DBInstanceId"].isNull())
|
||||
dBInstanceId_ = value["DBInstanceId"].asString();
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -115,18 +113,13 @@ int DescribeTasksResult::getPageNumber()const
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::string DescribeTasksResult::getDBInstanceId()const
|
||||
{
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
std::string DescribeTasksResult::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string DescribeTasksResult::getDBInstanceName()const
|
||||
std::string DescribeTasksResult::getDBClusterId()const
|
||||
{
|
||||
return dBInstanceName_;
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
|
||||
106
polardb/src/model/UpgradeDBClusterMinorVersionRequest.cc
Normal file
106
polardb/src/model/UpgradeDBClusterMinorVersionRequest.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/UpgradeDBClusterMinorVersionRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::UpgradeDBClusterMinorVersionRequest;
|
||||
|
||||
UpgradeDBClusterMinorVersionRequest::UpgradeDBClusterMinorVersionRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "UpgradeDBClusterMinorVersion")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpgradeDBClusterMinorVersionRequest::~UpgradeDBClusterMinorVersionRequest()
|
||||
{}
|
||||
|
||||
long UpgradeDBClusterMinorVersionRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void UpgradeDBClusterMinorVersionRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string UpgradeDBClusterMinorVersionRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void UpgradeDBClusterMinorVersionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
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_;
|
||||
}
|
||||
|
||||
void UpgradeDBClusterMinorVersionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string UpgradeDBClusterMinorVersionRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void UpgradeDBClusterMinorVersionRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string UpgradeDBClusterMinorVersionRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void UpgradeDBClusterMinorVersionRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long UpgradeDBClusterMinorVersionRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void UpgradeDBClusterMinorVersionRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
44
polardb/src/model/UpgradeDBClusterMinorVersionResult.cc
Normal file
44
polardb/src/model/UpgradeDBClusterMinorVersionResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/UpgradeDBClusterMinorVersionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
UpgradeDBClusterMinorVersionResult::UpgradeDBClusterMinorVersionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpgradeDBClusterMinorVersionResult::UpgradeDBClusterMinorVersionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpgradeDBClusterMinorVersionResult::~UpgradeDBClusterMinorVersionResult()
|
||||
{}
|
||||
|
||||
void UpgradeDBClusterMinorVersionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -47,10 +47,10 @@ set(slb_public_header_model
|
||||
include/alibabacloud/slb/model/CreateLoadBalancerUDPListenerResult.h
|
||||
include/alibabacloud/slb/model/CreateMasterSlaveServerGroupRequest.h
|
||||
include/alibabacloud/slb/model/CreateMasterSlaveServerGroupResult.h
|
||||
include/alibabacloud/slb/model/CreateMasterSlaveVServerGroupRequest.h
|
||||
include/alibabacloud/slb/model/CreateMasterSlaveVServerGroupResult.h
|
||||
include/alibabacloud/slb/model/CreateRulesRequest.h
|
||||
include/alibabacloud/slb/model/CreateRulesResult.h
|
||||
include/alibabacloud/slb/model/CreateTLSCipherPolicyRequest.h
|
||||
include/alibabacloud/slb/model/CreateTLSCipherPolicyResult.h
|
||||
include/alibabacloud/slb/model/CreateVServerGroupRequest.h
|
||||
include/alibabacloud/slb/model/CreateVServerGroupResult.h
|
||||
include/alibabacloud/slb/model/DeleteAccessControlListRequest.h
|
||||
@@ -65,12 +65,12 @@ set(slb_public_header_model
|
||||
include/alibabacloud/slb/model/DeleteLoadBalancerListenerResult.h
|
||||
include/alibabacloud/slb/model/DeleteMasterSlaveServerGroupRequest.h
|
||||
include/alibabacloud/slb/model/DeleteMasterSlaveServerGroupResult.h
|
||||
include/alibabacloud/slb/model/DeleteMasterSlaveVServerGroupRequest.h
|
||||
include/alibabacloud/slb/model/DeleteMasterSlaveVServerGroupResult.h
|
||||
include/alibabacloud/slb/model/DeleteRulesRequest.h
|
||||
include/alibabacloud/slb/model/DeleteRulesResult.h
|
||||
include/alibabacloud/slb/model/DeleteServerCertificateRequest.h
|
||||
include/alibabacloud/slb/model/DeleteServerCertificateResult.h
|
||||
include/alibabacloud/slb/model/DeleteTLSCipherPolicyRequest.h
|
||||
include/alibabacloud/slb/model/DeleteTLSCipherPolicyResult.h
|
||||
include/alibabacloud/slb/model/DeleteVServerGroupRequest.h
|
||||
include/alibabacloud/slb/model/DeleteVServerGroupResult.h
|
||||
include/alibabacloud/slb/model/DescribeAccessControlListAttributeRequest.h
|
||||
@@ -95,8 +95,6 @@ set(slb_public_header_model
|
||||
include/alibabacloud/slb/model/DescribeLoadBalancerHTTPListenerAttributeResult.h
|
||||
include/alibabacloud/slb/model/DescribeLoadBalancerHTTPSListenerAttributeRequest.h
|
||||
include/alibabacloud/slb/model/DescribeLoadBalancerHTTPSListenerAttributeResult.h
|
||||
include/alibabacloud/slb/model/DescribeLoadBalancerListenersExRequest.h
|
||||
include/alibabacloud/slb/model/DescribeLoadBalancerListenersExResult.h
|
||||
include/alibabacloud/slb/model/DescribeLoadBalancerTCPListenerAttributeRequest.h
|
||||
include/alibabacloud/slb/model/DescribeLoadBalancerTCPListenerAttributeResult.h
|
||||
include/alibabacloud/slb/model/DescribeLoadBalancerUDPListenerAttributeRequest.h
|
||||
@@ -107,10 +105,6 @@ set(slb_public_header_model
|
||||
include/alibabacloud/slb/model/DescribeMasterSlaveServerGroupAttributeResult.h
|
||||
include/alibabacloud/slb/model/DescribeMasterSlaveServerGroupsRequest.h
|
||||
include/alibabacloud/slb/model/DescribeMasterSlaveServerGroupsResult.h
|
||||
include/alibabacloud/slb/model/DescribeMasterSlaveVServerGroupAttributeRequest.h
|
||||
include/alibabacloud/slb/model/DescribeMasterSlaveVServerGroupAttributeResult.h
|
||||
include/alibabacloud/slb/model/DescribeMasterSlaveVServerGroupsRequest.h
|
||||
include/alibabacloud/slb/model/DescribeMasterSlaveVServerGroupsResult.h
|
||||
include/alibabacloud/slb/model/DescribeRegionsRequest.h
|
||||
include/alibabacloud/slb/model/DescribeRegionsResult.h
|
||||
include/alibabacloud/slb/model/DescribeRuleAttributeRequest.h
|
||||
@@ -127,6 +121,8 @@ set(slb_public_header_model
|
||||
include/alibabacloud/slb/model/DescribeVServerGroupsResult.h
|
||||
include/alibabacloud/slb/model/DescribeZonesRequest.h
|
||||
include/alibabacloud/slb/model/DescribeZonesResult.h
|
||||
include/alibabacloud/slb/model/ListTLSCipherPoliciesRequest.h
|
||||
include/alibabacloud/slb/model/ListTLSCipherPoliciesResult.h
|
||||
include/alibabacloud/slb/model/ListTagResourcesRequest.h
|
||||
include/alibabacloud/slb/model/ListTagResourcesResult.h
|
||||
include/alibabacloud/slb/model/ModifyLoadBalancerInstanceSpecRequest.h
|
||||
@@ -163,8 +159,8 @@ set(slb_public_header_model
|
||||
include/alibabacloud/slb/model/SetLoadBalancerHTTPListenerAttributeResult.h
|
||||
include/alibabacloud/slb/model/SetLoadBalancerHTTPSListenerAttributeRequest.h
|
||||
include/alibabacloud/slb/model/SetLoadBalancerHTTPSListenerAttributeResult.h
|
||||
include/alibabacloud/slb/model/SetLoadBalancerListenerAttributeExRequest.h
|
||||
include/alibabacloud/slb/model/SetLoadBalancerListenerAttributeExResult.h
|
||||
include/alibabacloud/slb/model/SetLoadBalancerModificationProtectionRequest.h
|
||||
include/alibabacloud/slb/model/SetLoadBalancerModificationProtectionResult.h
|
||||
include/alibabacloud/slb/model/SetLoadBalancerNameRequest.h
|
||||
include/alibabacloud/slb/model/SetLoadBalancerNameResult.h
|
||||
include/alibabacloud/slb/model/SetLoadBalancerStatusRequest.h
|
||||
@@ -177,6 +173,8 @@ set(slb_public_header_model
|
||||
include/alibabacloud/slb/model/SetRuleResult.h
|
||||
include/alibabacloud/slb/model/SetServerCertificateNameRequest.h
|
||||
include/alibabacloud/slb/model/SetServerCertificateNameResult.h
|
||||
include/alibabacloud/slb/model/SetTLSCipherPolicyAttributeRequest.h
|
||||
include/alibabacloud/slb/model/SetTLSCipherPolicyAttributeResult.h
|
||||
include/alibabacloud/slb/model/SetVServerGroupAttributeRequest.h
|
||||
include/alibabacloud/slb/model/SetVServerGroupAttributeResult.h
|
||||
include/alibabacloud/slb/model/StartLoadBalancerListenerRequest.h
|
||||
@@ -220,10 +218,10 @@ set(slb_src
|
||||
src/model/CreateLoadBalancerUDPListenerResult.cc
|
||||
src/model/CreateMasterSlaveServerGroupRequest.cc
|
||||
src/model/CreateMasterSlaveServerGroupResult.cc
|
||||
src/model/CreateMasterSlaveVServerGroupRequest.cc
|
||||
src/model/CreateMasterSlaveVServerGroupResult.cc
|
||||
src/model/CreateRulesRequest.cc
|
||||
src/model/CreateRulesResult.cc
|
||||
src/model/CreateTLSCipherPolicyRequest.cc
|
||||
src/model/CreateTLSCipherPolicyResult.cc
|
||||
src/model/CreateVServerGroupRequest.cc
|
||||
src/model/CreateVServerGroupResult.cc
|
||||
src/model/DeleteAccessControlListRequest.cc
|
||||
@@ -238,12 +236,12 @@ set(slb_src
|
||||
src/model/DeleteLoadBalancerListenerResult.cc
|
||||
src/model/DeleteMasterSlaveServerGroupRequest.cc
|
||||
src/model/DeleteMasterSlaveServerGroupResult.cc
|
||||
src/model/DeleteMasterSlaveVServerGroupRequest.cc
|
||||
src/model/DeleteMasterSlaveVServerGroupResult.cc
|
||||
src/model/DeleteRulesRequest.cc
|
||||
src/model/DeleteRulesResult.cc
|
||||
src/model/DeleteServerCertificateRequest.cc
|
||||
src/model/DeleteServerCertificateResult.cc
|
||||
src/model/DeleteTLSCipherPolicyRequest.cc
|
||||
src/model/DeleteTLSCipherPolicyResult.cc
|
||||
src/model/DeleteVServerGroupRequest.cc
|
||||
src/model/DeleteVServerGroupResult.cc
|
||||
src/model/DescribeAccessControlListAttributeRequest.cc
|
||||
@@ -268,8 +266,6 @@ set(slb_src
|
||||
src/model/DescribeLoadBalancerHTTPListenerAttributeResult.cc
|
||||
src/model/DescribeLoadBalancerHTTPSListenerAttributeRequest.cc
|
||||
src/model/DescribeLoadBalancerHTTPSListenerAttributeResult.cc
|
||||
src/model/DescribeLoadBalancerListenersExRequest.cc
|
||||
src/model/DescribeLoadBalancerListenersExResult.cc
|
||||
src/model/DescribeLoadBalancerTCPListenerAttributeRequest.cc
|
||||
src/model/DescribeLoadBalancerTCPListenerAttributeResult.cc
|
||||
src/model/DescribeLoadBalancerUDPListenerAttributeRequest.cc
|
||||
@@ -280,10 +276,6 @@ set(slb_src
|
||||
src/model/DescribeMasterSlaveServerGroupAttributeResult.cc
|
||||
src/model/DescribeMasterSlaveServerGroupsRequest.cc
|
||||
src/model/DescribeMasterSlaveServerGroupsResult.cc
|
||||
src/model/DescribeMasterSlaveVServerGroupAttributeRequest.cc
|
||||
src/model/DescribeMasterSlaveVServerGroupAttributeResult.cc
|
||||
src/model/DescribeMasterSlaveVServerGroupsRequest.cc
|
||||
src/model/DescribeMasterSlaveVServerGroupsResult.cc
|
||||
src/model/DescribeRegionsRequest.cc
|
||||
src/model/DescribeRegionsResult.cc
|
||||
src/model/DescribeRuleAttributeRequest.cc
|
||||
@@ -300,6 +292,8 @@ set(slb_src
|
||||
src/model/DescribeVServerGroupsResult.cc
|
||||
src/model/DescribeZonesRequest.cc
|
||||
src/model/DescribeZonesResult.cc
|
||||
src/model/ListTLSCipherPoliciesRequest.cc
|
||||
src/model/ListTLSCipherPoliciesResult.cc
|
||||
src/model/ListTagResourcesRequest.cc
|
||||
src/model/ListTagResourcesResult.cc
|
||||
src/model/ModifyLoadBalancerInstanceSpecRequest.cc
|
||||
@@ -336,8 +330,8 @@ set(slb_src
|
||||
src/model/SetLoadBalancerHTTPListenerAttributeResult.cc
|
||||
src/model/SetLoadBalancerHTTPSListenerAttributeRequest.cc
|
||||
src/model/SetLoadBalancerHTTPSListenerAttributeResult.cc
|
||||
src/model/SetLoadBalancerListenerAttributeExRequest.cc
|
||||
src/model/SetLoadBalancerListenerAttributeExResult.cc
|
||||
src/model/SetLoadBalancerModificationProtectionRequest.cc
|
||||
src/model/SetLoadBalancerModificationProtectionResult.cc
|
||||
src/model/SetLoadBalancerNameRequest.cc
|
||||
src/model/SetLoadBalancerNameResult.cc
|
||||
src/model/SetLoadBalancerStatusRequest.cc
|
||||
@@ -350,6 +344,8 @@ set(slb_src
|
||||
src/model/SetRuleResult.cc
|
||||
src/model/SetServerCertificateNameRequest.cc
|
||||
src/model/SetServerCertificateNameResult.cc
|
||||
src/model/SetTLSCipherPolicyAttributeRequest.cc
|
||||
src/model/SetTLSCipherPolicyAttributeResult.cc
|
||||
src/model/SetVServerGroupAttributeRequest.cc
|
||||
src/model/SetVServerGroupAttributeResult.cc
|
||||
src/model/StartLoadBalancerListenerRequest.cc
|
||||
|
||||
@@ -48,10 +48,10 @@
|
||||
#include "model/CreateLoadBalancerUDPListenerResult.h"
|
||||
#include "model/CreateMasterSlaveServerGroupRequest.h"
|
||||
#include "model/CreateMasterSlaveServerGroupResult.h"
|
||||
#include "model/CreateMasterSlaveVServerGroupRequest.h"
|
||||
#include "model/CreateMasterSlaveVServerGroupResult.h"
|
||||
#include "model/CreateRulesRequest.h"
|
||||
#include "model/CreateRulesResult.h"
|
||||
#include "model/CreateTLSCipherPolicyRequest.h"
|
||||
#include "model/CreateTLSCipherPolicyResult.h"
|
||||
#include "model/CreateVServerGroupRequest.h"
|
||||
#include "model/CreateVServerGroupResult.h"
|
||||
#include "model/DeleteAccessControlListRequest.h"
|
||||
@@ -66,12 +66,12 @@
|
||||
#include "model/DeleteLoadBalancerListenerResult.h"
|
||||
#include "model/DeleteMasterSlaveServerGroupRequest.h"
|
||||
#include "model/DeleteMasterSlaveServerGroupResult.h"
|
||||
#include "model/DeleteMasterSlaveVServerGroupRequest.h"
|
||||
#include "model/DeleteMasterSlaveVServerGroupResult.h"
|
||||
#include "model/DeleteRulesRequest.h"
|
||||
#include "model/DeleteRulesResult.h"
|
||||
#include "model/DeleteServerCertificateRequest.h"
|
||||
#include "model/DeleteServerCertificateResult.h"
|
||||
#include "model/DeleteTLSCipherPolicyRequest.h"
|
||||
#include "model/DeleteTLSCipherPolicyResult.h"
|
||||
#include "model/DeleteVServerGroupRequest.h"
|
||||
#include "model/DeleteVServerGroupResult.h"
|
||||
#include "model/DescribeAccessControlListAttributeRequest.h"
|
||||
@@ -96,8 +96,6 @@
|
||||
#include "model/DescribeLoadBalancerHTTPListenerAttributeResult.h"
|
||||
#include "model/DescribeLoadBalancerHTTPSListenerAttributeRequest.h"
|
||||
#include "model/DescribeLoadBalancerHTTPSListenerAttributeResult.h"
|
||||
#include "model/DescribeLoadBalancerListenersExRequest.h"
|
||||
#include "model/DescribeLoadBalancerListenersExResult.h"
|
||||
#include "model/DescribeLoadBalancerTCPListenerAttributeRequest.h"
|
||||
#include "model/DescribeLoadBalancerTCPListenerAttributeResult.h"
|
||||
#include "model/DescribeLoadBalancerUDPListenerAttributeRequest.h"
|
||||
@@ -108,10 +106,6 @@
|
||||
#include "model/DescribeMasterSlaveServerGroupAttributeResult.h"
|
||||
#include "model/DescribeMasterSlaveServerGroupsRequest.h"
|
||||
#include "model/DescribeMasterSlaveServerGroupsResult.h"
|
||||
#include "model/DescribeMasterSlaveVServerGroupAttributeRequest.h"
|
||||
#include "model/DescribeMasterSlaveVServerGroupAttributeResult.h"
|
||||
#include "model/DescribeMasterSlaveVServerGroupsRequest.h"
|
||||
#include "model/DescribeMasterSlaveVServerGroupsResult.h"
|
||||
#include "model/DescribeRegionsRequest.h"
|
||||
#include "model/DescribeRegionsResult.h"
|
||||
#include "model/DescribeRuleAttributeRequest.h"
|
||||
@@ -128,6 +122,8 @@
|
||||
#include "model/DescribeVServerGroupsResult.h"
|
||||
#include "model/DescribeZonesRequest.h"
|
||||
#include "model/DescribeZonesResult.h"
|
||||
#include "model/ListTLSCipherPoliciesRequest.h"
|
||||
#include "model/ListTLSCipherPoliciesResult.h"
|
||||
#include "model/ListTagResourcesRequest.h"
|
||||
#include "model/ListTagResourcesResult.h"
|
||||
#include "model/ModifyLoadBalancerInstanceSpecRequest.h"
|
||||
@@ -164,8 +160,8 @@
|
||||
#include "model/SetLoadBalancerHTTPListenerAttributeResult.h"
|
||||
#include "model/SetLoadBalancerHTTPSListenerAttributeRequest.h"
|
||||
#include "model/SetLoadBalancerHTTPSListenerAttributeResult.h"
|
||||
#include "model/SetLoadBalancerListenerAttributeExRequest.h"
|
||||
#include "model/SetLoadBalancerListenerAttributeExResult.h"
|
||||
#include "model/SetLoadBalancerModificationProtectionRequest.h"
|
||||
#include "model/SetLoadBalancerModificationProtectionResult.h"
|
||||
#include "model/SetLoadBalancerNameRequest.h"
|
||||
#include "model/SetLoadBalancerNameResult.h"
|
||||
#include "model/SetLoadBalancerStatusRequest.h"
|
||||
@@ -178,6 +174,8 @@
|
||||
#include "model/SetRuleResult.h"
|
||||
#include "model/SetServerCertificateNameRequest.h"
|
||||
#include "model/SetServerCertificateNameResult.h"
|
||||
#include "model/SetTLSCipherPolicyAttributeRequest.h"
|
||||
#include "model/SetTLSCipherPolicyAttributeResult.h"
|
||||
#include "model/SetVServerGroupAttributeRequest.h"
|
||||
#include "model/SetVServerGroupAttributeResult.h"
|
||||
#include "model/StartLoadBalancerListenerRequest.h"
|
||||
@@ -240,12 +238,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateMasterSlaveServerGroupResult> CreateMasterSlaveServerGroupOutcome;
|
||||
typedef std::future<CreateMasterSlaveServerGroupOutcome> CreateMasterSlaveServerGroupOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::CreateMasterSlaveServerGroupRequest&, const CreateMasterSlaveServerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMasterSlaveServerGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateMasterSlaveVServerGroupResult> CreateMasterSlaveVServerGroupOutcome;
|
||||
typedef std::future<CreateMasterSlaveVServerGroupOutcome> CreateMasterSlaveVServerGroupOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::CreateMasterSlaveVServerGroupRequest&, const CreateMasterSlaveVServerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMasterSlaveVServerGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateRulesResult> CreateRulesOutcome;
|
||||
typedef std::future<CreateRulesOutcome> CreateRulesOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::CreateRulesRequest&, const CreateRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRulesAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateTLSCipherPolicyResult> CreateTLSCipherPolicyOutcome;
|
||||
typedef std::future<CreateTLSCipherPolicyOutcome> CreateTLSCipherPolicyOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::CreateTLSCipherPolicyRequest&, const CreateTLSCipherPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTLSCipherPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateVServerGroupResult> CreateVServerGroupOutcome;
|
||||
typedef std::future<CreateVServerGroupOutcome> CreateVServerGroupOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::CreateVServerGroupRequest&, const CreateVServerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateVServerGroupAsyncHandler;
|
||||
@@ -267,15 +265,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteMasterSlaveServerGroupResult> DeleteMasterSlaveServerGroupOutcome;
|
||||
typedef std::future<DeleteMasterSlaveServerGroupOutcome> DeleteMasterSlaveServerGroupOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::DeleteMasterSlaveServerGroupRequest&, const DeleteMasterSlaveServerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMasterSlaveServerGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteMasterSlaveVServerGroupResult> DeleteMasterSlaveVServerGroupOutcome;
|
||||
typedef std::future<DeleteMasterSlaveVServerGroupOutcome> DeleteMasterSlaveVServerGroupOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::DeleteMasterSlaveVServerGroupRequest&, const DeleteMasterSlaveVServerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMasterSlaveVServerGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteRulesResult> DeleteRulesOutcome;
|
||||
typedef std::future<DeleteRulesOutcome> DeleteRulesOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::DeleteRulesRequest&, const DeleteRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRulesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteServerCertificateResult> DeleteServerCertificateOutcome;
|
||||
typedef std::future<DeleteServerCertificateOutcome> DeleteServerCertificateOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::DeleteServerCertificateRequest&, const DeleteServerCertificateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteServerCertificateAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteTLSCipherPolicyResult> DeleteTLSCipherPolicyOutcome;
|
||||
typedef std::future<DeleteTLSCipherPolicyOutcome> DeleteTLSCipherPolicyOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::DeleteTLSCipherPolicyRequest&, const DeleteTLSCipherPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTLSCipherPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteVServerGroupResult> DeleteVServerGroupOutcome;
|
||||
typedef std::future<DeleteVServerGroupOutcome> DeleteVServerGroupOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::DeleteVServerGroupRequest&, const DeleteVServerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteVServerGroupAsyncHandler;
|
||||
@@ -312,9 +310,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeLoadBalancerHTTPSListenerAttributeResult> DescribeLoadBalancerHTTPSListenerAttributeOutcome;
|
||||
typedef std::future<DescribeLoadBalancerHTTPSListenerAttributeOutcome> DescribeLoadBalancerHTTPSListenerAttributeOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::DescribeLoadBalancerHTTPSListenerAttributeRequest&, const DescribeLoadBalancerHTTPSListenerAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLoadBalancerHTTPSListenerAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLoadBalancerListenersExResult> DescribeLoadBalancerListenersExOutcome;
|
||||
typedef std::future<DescribeLoadBalancerListenersExOutcome> DescribeLoadBalancerListenersExOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::DescribeLoadBalancerListenersExRequest&, const DescribeLoadBalancerListenersExOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLoadBalancerListenersExAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLoadBalancerTCPListenerAttributeResult> DescribeLoadBalancerTCPListenerAttributeOutcome;
|
||||
typedef std::future<DescribeLoadBalancerTCPListenerAttributeOutcome> DescribeLoadBalancerTCPListenerAttributeOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::DescribeLoadBalancerTCPListenerAttributeRequest&, const DescribeLoadBalancerTCPListenerAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLoadBalancerTCPListenerAttributeAsyncHandler;
|
||||
@@ -330,12 +325,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeMasterSlaveServerGroupsResult> DescribeMasterSlaveServerGroupsOutcome;
|
||||
typedef std::future<DescribeMasterSlaveServerGroupsOutcome> DescribeMasterSlaveServerGroupsOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::DescribeMasterSlaveServerGroupsRequest&, const DescribeMasterSlaveServerGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMasterSlaveServerGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeMasterSlaveVServerGroupAttributeResult> DescribeMasterSlaveVServerGroupAttributeOutcome;
|
||||
typedef std::future<DescribeMasterSlaveVServerGroupAttributeOutcome> DescribeMasterSlaveVServerGroupAttributeOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::DescribeMasterSlaveVServerGroupAttributeRequest&, const DescribeMasterSlaveVServerGroupAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMasterSlaveVServerGroupAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeMasterSlaveVServerGroupsResult> DescribeMasterSlaveVServerGroupsOutcome;
|
||||
typedef std::future<DescribeMasterSlaveVServerGroupsOutcome> DescribeMasterSlaveVServerGroupsOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::DescribeMasterSlaveVServerGroupsRequest&, const DescribeMasterSlaveVServerGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMasterSlaveVServerGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome;
|
||||
typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler;
|
||||
@@ -360,6 +349,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeZonesResult> DescribeZonesOutcome;
|
||||
typedef std::future<DescribeZonesOutcome> DescribeZonesOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::DescribeZonesRequest&, const DescribeZonesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeZonesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTLSCipherPoliciesResult> ListTLSCipherPoliciesOutcome;
|
||||
typedef std::future<ListTLSCipherPoliciesOutcome> ListTLSCipherPoliciesOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::ListTLSCipherPoliciesRequest&, const ListTLSCipherPoliciesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTLSCipherPoliciesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
|
||||
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
|
||||
@@ -414,9 +406,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SetLoadBalancerHTTPSListenerAttributeResult> SetLoadBalancerHTTPSListenerAttributeOutcome;
|
||||
typedef std::future<SetLoadBalancerHTTPSListenerAttributeOutcome> SetLoadBalancerHTTPSListenerAttributeOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::SetLoadBalancerHTTPSListenerAttributeRequest&, const SetLoadBalancerHTTPSListenerAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetLoadBalancerHTTPSListenerAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetLoadBalancerListenerAttributeExResult> SetLoadBalancerListenerAttributeExOutcome;
|
||||
typedef std::future<SetLoadBalancerListenerAttributeExOutcome> SetLoadBalancerListenerAttributeExOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::SetLoadBalancerListenerAttributeExRequest&, const SetLoadBalancerListenerAttributeExOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetLoadBalancerListenerAttributeExAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetLoadBalancerModificationProtectionResult> SetLoadBalancerModificationProtectionOutcome;
|
||||
typedef std::future<SetLoadBalancerModificationProtectionOutcome> SetLoadBalancerModificationProtectionOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::SetLoadBalancerModificationProtectionRequest&, const SetLoadBalancerModificationProtectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetLoadBalancerModificationProtectionAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetLoadBalancerNameResult> SetLoadBalancerNameOutcome;
|
||||
typedef std::future<SetLoadBalancerNameOutcome> SetLoadBalancerNameOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::SetLoadBalancerNameRequest&, const SetLoadBalancerNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetLoadBalancerNameAsyncHandler;
|
||||
@@ -435,6 +427,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SetServerCertificateNameResult> SetServerCertificateNameOutcome;
|
||||
typedef std::future<SetServerCertificateNameOutcome> SetServerCertificateNameOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::SetServerCertificateNameRequest&, const SetServerCertificateNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetServerCertificateNameAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetTLSCipherPolicyAttributeResult> SetTLSCipherPolicyAttributeOutcome;
|
||||
typedef std::future<SetTLSCipherPolicyAttributeOutcome> SetTLSCipherPolicyAttributeOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::SetTLSCipherPolicyAttributeRequest&, const SetTLSCipherPolicyAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetTLSCipherPolicyAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetVServerGroupAttributeResult> SetVServerGroupAttributeOutcome;
|
||||
typedef std::future<SetVServerGroupAttributeOutcome> SetVServerGroupAttributeOutcomeCallable;
|
||||
typedef std::function<void(const SlbClient*, const Model::SetVServerGroupAttributeRequest&, const SetVServerGroupAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetVServerGroupAttributeAsyncHandler;
|
||||
@@ -500,12 +495,12 @@ namespace AlibabaCloud
|
||||
CreateMasterSlaveServerGroupOutcome createMasterSlaveServerGroup(const Model::CreateMasterSlaveServerGroupRequest &request)const;
|
||||
void createMasterSlaveServerGroupAsync(const Model::CreateMasterSlaveServerGroupRequest& request, const CreateMasterSlaveServerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateMasterSlaveServerGroupOutcomeCallable createMasterSlaveServerGroupCallable(const Model::CreateMasterSlaveServerGroupRequest& request) const;
|
||||
CreateMasterSlaveVServerGroupOutcome createMasterSlaveVServerGroup(const Model::CreateMasterSlaveVServerGroupRequest &request)const;
|
||||
void createMasterSlaveVServerGroupAsync(const Model::CreateMasterSlaveVServerGroupRequest& request, const CreateMasterSlaveVServerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateMasterSlaveVServerGroupOutcomeCallable createMasterSlaveVServerGroupCallable(const Model::CreateMasterSlaveVServerGroupRequest& request) const;
|
||||
CreateRulesOutcome createRules(const Model::CreateRulesRequest &request)const;
|
||||
void createRulesAsync(const Model::CreateRulesRequest& request, const CreateRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateRulesOutcomeCallable createRulesCallable(const Model::CreateRulesRequest& request) const;
|
||||
CreateTLSCipherPolicyOutcome createTLSCipherPolicy(const Model::CreateTLSCipherPolicyRequest &request)const;
|
||||
void createTLSCipherPolicyAsync(const Model::CreateTLSCipherPolicyRequest& request, const CreateTLSCipherPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateTLSCipherPolicyOutcomeCallable createTLSCipherPolicyCallable(const Model::CreateTLSCipherPolicyRequest& request) const;
|
||||
CreateVServerGroupOutcome createVServerGroup(const Model::CreateVServerGroupRequest &request)const;
|
||||
void createVServerGroupAsync(const Model::CreateVServerGroupRequest& request, const CreateVServerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateVServerGroupOutcomeCallable createVServerGroupCallable(const Model::CreateVServerGroupRequest& request) const;
|
||||
@@ -527,15 +522,15 @@ namespace AlibabaCloud
|
||||
DeleteMasterSlaveServerGroupOutcome deleteMasterSlaveServerGroup(const Model::DeleteMasterSlaveServerGroupRequest &request)const;
|
||||
void deleteMasterSlaveServerGroupAsync(const Model::DeleteMasterSlaveServerGroupRequest& request, const DeleteMasterSlaveServerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteMasterSlaveServerGroupOutcomeCallable deleteMasterSlaveServerGroupCallable(const Model::DeleteMasterSlaveServerGroupRequest& request) const;
|
||||
DeleteMasterSlaveVServerGroupOutcome deleteMasterSlaveVServerGroup(const Model::DeleteMasterSlaveVServerGroupRequest &request)const;
|
||||
void deleteMasterSlaveVServerGroupAsync(const Model::DeleteMasterSlaveVServerGroupRequest& request, const DeleteMasterSlaveVServerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteMasterSlaveVServerGroupOutcomeCallable deleteMasterSlaveVServerGroupCallable(const Model::DeleteMasterSlaveVServerGroupRequest& request) const;
|
||||
DeleteRulesOutcome deleteRules(const Model::DeleteRulesRequest &request)const;
|
||||
void deleteRulesAsync(const Model::DeleteRulesRequest& request, const DeleteRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteRulesOutcomeCallable deleteRulesCallable(const Model::DeleteRulesRequest& request) const;
|
||||
DeleteServerCertificateOutcome deleteServerCertificate(const Model::DeleteServerCertificateRequest &request)const;
|
||||
void deleteServerCertificateAsync(const Model::DeleteServerCertificateRequest& request, const DeleteServerCertificateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteServerCertificateOutcomeCallable deleteServerCertificateCallable(const Model::DeleteServerCertificateRequest& request) const;
|
||||
DeleteTLSCipherPolicyOutcome deleteTLSCipherPolicy(const Model::DeleteTLSCipherPolicyRequest &request)const;
|
||||
void deleteTLSCipherPolicyAsync(const Model::DeleteTLSCipherPolicyRequest& request, const DeleteTLSCipherPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteTLSCipherPolicyOutcomeCallable deleteTLSCipherPolicyCallable(const Model::DeleteTLSCipherPolicyRequest& request) const;
|
||||
DeleteVServerGroupOutcome deleteVServerGroup(const Model::DeleteVServerGroupRequest &request)const;
|
||||
void deleteVServerGroupAsync(const Model::DeleteVServerGroupRequest& request, const DeleteVServerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteVServerGroupOutcomeCallable deleteVServerGroupCallable(const Model::DeleteVServerGroupRequest& request) const;
|
||||
@@ -572,9 +567,6 @@ namespace AlibabaCloud
|
||||
DescribeLoadBalancerHTTPSListenerAttributeOutcome describeLoadBalancerHTTPSListenerAttribute(const Model::DescribeLoadBalancerHTTPSListenerAttributeRequest &request)const;
|
||||
void describeLoadBalancerHTTPSListenerAttributeAsync(const Model::DescribeLoadBalancerHTTPSListenerAttributeRequest& request, const DescribeLoadBalancerHTTPSListenerAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLoadBalancerHTTPSListenerAttributeOutcomeCallable describeLoadBalancerHTTPSListenerAttributeCallable(const Model::DescribeLoadBalancerHTTPSListenerAttributeRequest& request) const;
|
||||
DescribeLoadBalancerListenersExOutcome describeLoadBalancerListenersEx(const Model::DescribeLoadBalancerListenersExRequest &request)const;
|
||||
void describeLoadBalancerListenersExAsync(const Model::DescribeLoadBalancerListenersExRequest& request, const DescribeLoadBalancerListenersExAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLoadBalancerListenersExOutcomeCallable describeLoadBalancerListenersExCallable(const Model::DescribeLoadBalancerListenersExRequest& request) const;
|
||||
DescribeLoadBalancerTCPListenerAttributeOutcome describeLoadBalancerTCPListenerAttribute(const Model::DescribeLoadBalancerTCPListenerAttributeRequest &request)const;
|
||||
void describeLoadBalancerTCPListenerAttributeAsync(const Model::DescribeLoadBalancerTCPListenerAttributeRequest& request, const DescribeLoadBalancerTCPListenerAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLoadBalancerTCPListenerAttributeOutcomeCallable describeLoadBalancerTCPListenerAttributeCallable(const Model::DescribeLoadBalancerTCPListenerAttributeRequest& request) const;
|
||||
@@ -590,12 +582,6 @@ namespace AlibabaCloud
|
||||
DescribeMasterSlaveServerGroupsOutcome describeMasterSlaveServerGroups(const Model::DescribeMasterSlaveServerGroupsRequest &request)const;
|
||||
void describeMasterSlaveServerGroupsAsync(const Model::DescribeMasterSlaveServerGroupsRequest& request, const DescribeMasterSlaveServerGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeMasterSlaveServerGroupsOutcomeCallable describeMasterSlaveServerGroupsCallable(const Model::DescribeMasterSlaveServerGroupsRequest& request) const;
|
||||
DescribeMasterSlaveVServerGroupAttributeOutcome describeMasterSlaveVServerGroupAttribute(const Model::DescribeMasterSlaveVServerGroupAttributeRequest &request)const;
|
||||
void describeMasterSlaveVServerGroupAttributeAsync(const Model::DescribeMasterSlaveVServerGroupAttributeRequest& request, const DescribeMasterSlaveVServerGroupAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeMasterSlaveVServerGroupAttributeOutcomeCallable describeMasterSlaveVServerGroupAttributeCallable(const Model::DescribeMasterSlaveVServerGroupAttributeRequest& request) const;
|
||||
DescribeMasterSlaveVServerGroupsOutcome describeMasterSlaveVServerGroups(const Model::DescribeMasterSlaveVServerGroupsRequest &request)const;
|
||||
void describeMasterSlaveVServerGroupsAsync(const Model::DescribeMasterSlaveVServerGroupsRequest& request, const DescribeMasterSlaveVServerGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeMasterSlaveVServerGroupsOutcomeCallable describeMasterSlaveVServerGroupsCallable(const Model::DescribeMasterSlaveVServerGroupsRequest& 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;
|
||||
@@ -620,6 +606,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
ListTLSCipherPoliciesOutcome listTLSCipherPolicies(const Model::ListTLSCipherPoliciesRequest &request)const;
|
||||
void listTLSCipherPoliciesAsync(const Model::ListTLSCipherPoliciesRequest& request, const ListTLSCipherPoliciesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTLSCipherPoliciesOutcomeCallable listTLSCipherPoliciesCallable(const Model::ListTLSCipherPoliciesRequest& request) const;
|
||||
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
|
||||
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
|
||||
@@ -674,9 +663,9 @@ namespace AlibabaCloud
|
||||
SetLoadBalancerHTTPSListenerAttributeOutcome setLoadBalancerHTTPSListenerAttribute(const Model::SetLoadBalancerHTTPSListenerAttributeRequest &request)const;
|
||||
void setLoadBalancerHTTPSListenerAttributeAsync(const Model::SetLoadBalancerHTTPSListenerAttributeRequest& request, const SetLoadBalancerHTTPSListenerAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetLoadBalancerHTTPSListenerAttributeOutcomeCallable setLoadBalancerHTTPSListenerAttributeCallable(const Model::SetLoadBalancerHTTPSListenerAttributeRequest& request) const;
|
||||
SetLoadBalancerListenerAttributeExOutcome setLoadBalancerListenerAttributeEx(const Model::SetLoadBalancerListenerAttributeExRequest &request)const;
|
||||
void setLoadBalancerListenerAttributeExAsync(const Model::SetLoadBalancerListenerAttributeExRequest& request, const SetLoadBalancerListenerAttributeExAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetLoadBalancerListenerAttributeExOutcomeCallable setLoadBalancerListenerAttributeExCallable(const Model::SetLoadBalancerListenerAttributeExRequest& request) const;
|
||||
SetLoadBalancerModificationProtectionOutcome setLoadBalancerModificationProtection(const Model::SetLoadBalancerModificationProtectionRequest &request)const;
|
||||
void setLoadBalancerModificationProtectionAsync(const Model::SetLoadBalancerModificationProtectionRequest& request, const SetLoadBalancerModificationProtectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetLoadBalancerModificationProtectionOutcomeCallable setLoadBalancerModificationProtectionCallable(const Model::SetLoadBalancerModificationProtectionRequest& request) const;
|
||||
SetLoadBalancerNameOutcome setLoadBalancerName(const Model::SetLoadBalancerNameRequest &request)const;
|
||||
void setLoadBalancerNameAsync(const Model::SetLoadBalancerNameRequest& request, const SetLoadBalancerNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetLoadBalancerNameOutcomeCallable setLoadBalancerNameCallable(const Model::SetLoadBalancerNameRequest& request) const;
|
||||
@@ -695,6 +684,9 @@ namespace AlibabaCloud
|
||||
SetServerCertificateNameOutcome setServerCertificateName(const Model::SetServerCertificateNameRequest &request)const;
|
||||
void setServerCertificateNameAsync(const Model::SetServerCertificateNameRequest& request, const SetServerCertificateNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetServerCertificateNameOutcomeCallable setServerCertificateNameCallable(const Model::SetServerCertificateNameRequest& request) const;
|
||||
SetTLSCipherPolicyAttributeOutcome setTLSCipherPolicyAttribute(const Model::SetTLSCipherPolicyAttributeRequest &request)const;
|
||||
void setTLSCipherPolicyAttributeAsync(const Model::SetTLSCipherPolicyAttributeRequest& request, const SetTLSCipherPolicyAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetTLSCipherPolicyAttributeOutcomeCallable setTLSCipherPolicyAttributeCallable(const Model::SetTLSCipherPolicyAttributeRequest& request) const;
|
||||
SetVServerGroupAttributeOutcome setVServerGroupAttribute(const Model::SetVServerGroupAttributeRequest &request)const;
|
||||
void setVServerGroupAttributeAsync(const Model::SetVServerGroupAttributeRequest& request, const SetVServerGroupAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetVServerGroupAttributeOutcomeCallable setVServerGroupAttributeCallable(const Model::SetVServerGroupAttributeRequest& request) const;
|
||||
|
||||
@@ -30,6 +30,13 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_SLB_EXPORT CreateDomainExtensionRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct ServerCertificate
|
||||
{
|
||||
std::string bindingType;
|
||||
std::string certificateId;
|
||||
std::string standardType;
|
||||
};
|
||||
|
||||
public:
|
||||
CreateDomainExtensionRequest();
|
||||
@@ -39,6 +46,8 @@ namespace AlibabaCloud
|
||||
void setAccess_key_id(const std::string& access_key_id);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::vector<ServerCertificate> getServerCertificate()const;
|
||||
void setServerCertificate(const std::vector<ServerCertificate>& serverCertificate);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getListenerPort()const;
|
||||
@@ -47,6 +56,8 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::vector<std::string> getCertificateId()const;
|
||||
void setCertificateId(const std::vector<std::string>& certificateId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getServerCertificateId()const;
|
||||
@@ -61,10 +72,12 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string access_key_id_;
|
||||
long resourceOwnerId_;
|
||||
std::vector<ServerCertificate> serverCertificate_;
|
||||
std::string regionId_;
|
||||
int listenerPort_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::vector<std::string> certificateId_;
|
||||
long ownerId_;
|
||||
std::string serverCertificateId_;
|
||||
std::string tags_;
|
||||
|
||||
@@ -30,6 +30,13 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_SLB_EXPORT CreateLoadBalancerHTTPSListenerRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct ServerCertificate
|
||||
{
|
||||
std::string bindingType;
|
||||
std::string certificateId;
|
||||
std::string standardType;
|
||||
};
|
||||
|
||||
public:
|
||||
CreateLoadBalancerHTTPSListenerRequest();
|
||||
@@ -37,6 +44,8 @@ namespace AlibabaCloud
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::vector<ServerCertificate> getServerCertificate()const;
|
||||
void setServerCertificate(const std::vector<ServerCertificate>& serverCertificate);
|
||||
int getHealthCheckTimeout()const;
|
||||
void setHealthCheckTimeout(int healthCheckTimeout);
|
||||
std::string getXForwardedFor()const;
|
||||
@@ -152,6 +161,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::vector<ServerCertificate> serverCertificate_;
|
||||
int healthCheckTimeout_;
|
||||
std::string xForwardedFor_;
|
||||
std::string healthCheckURI_;
|
||||
|
||||
@@ -35,46 +35,20 @@ namespace AlibabaCloud
|
||||
CreateLoadBalancerRequest();
|
||||
~CreateLoadBalancerRequest();
|
||||
|
||||
std::string getAccess_key_id()const;
|
||||
void setAccess_key_id(const std::string& access_key_id);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
bool getSupportPrivateLink()const;
|
||||
void setSupportPrivateLink(bool supportPrivateLink);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getCloudType()const;
|
||||
void setCloudType(const std::string& cloudType);
|
||||
std::string getAddressIPVersion()const;
|
||||
void setAddressIPVersion(const std::string& addressIPVersion);
|
||||
std::string getMasterZoneId()const;
|
||||
void setMasterZoneId(const std::string& masterZoneId);
|
||||
int getDuration()const;
|
||||
void setDuration(int duration);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getLoadBalancerName()const;
|
||||
void setLoadBalancerName(const std::string& loadBalancerName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getAddressType()const;
|
||||
void setAddressType(const std::string& addressType);
|
||||
std::string getSlaveZoneId()const;
|
||||
void setSlaveZoneId(const std::string& slaveZoneId);
|
||||
std::string getDeleteProtection()const;
|
||||
void setDeleteProtection(const std::string& deleteProtection);
|
||||
std::string getLoadBalancerSpec()const;
|
||||
void setLoadBalancerSpec(const std::string& loadBalancerSpec);
|
||||
bool getAutoPay()const;
|
||||
void setAutoPay(bool autoPay);
|
||||
std::string getAddress()const;
|
||||
void setAddress(const std::string& address);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
int getBandwidth()const;
|
||||
void setBandwidth(int bandwidth);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTags()const;
|
||||
@@ -85,44 +59,76 @@ namespace AlibabaCloud
|
||||
void setEnableVpcVipFlow(const std::string& enableVpcVipFlow);
|
||||
std::string getInternetChargeType()const;
|
||||
void setInternetChargeType(const std::string& internetChargeType);
|
||||
std::string getPricingCycle()const;
|
||||
void setPricingCycle(const std::string& pricingCycle);
|
||||
std::string getAccess_key_id()const;
|
||||
void setAccess_key_id(const std::string& access_key_id);
|
||||
std::string getModificationProtectionReason()const;
|
||||
void setModificationProtectionReason(const std::string& modificationProtectionReason);
|
||||
bool getSupportPrivateLink()const;
|
||||
void setSupportPrivateLink(bool supportPrivateLink);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getCloudType()const;
|
||||
void setCloudType(const std::string& cloudType);
|
||||
int getDuration()const;
|
||||
void setDuration(int duration);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getAddressType()const;
|
||||
void setAddressType(const std::string& addressType);
|
||||
std::string getDeleteProtection()const;
|
||||
void setDeleteProtection(const std::string& deleteProtection);
|
||||
bool getAutoPay()const;
|
||||
void setAutoPay(bool autoPay);
|
||||
std::string getAddress()const;
|
||||
void setAddress(const std::string& address);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
int getBandwidth()const;
|
||||
void setBandwidth(int bandwidth);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getModificationProtectionStatus()const;
|
||||
void setModificationProtectionStatus(const std::string& modificationProtectionStatus);
|
||||
std::string getVpcId()const;
|
||||
void setVpcId(const std::string& vpcId);
|
||||
std::string getPayType()const;
|
||||
void setPayType(const std::string& payType);
|
||||
std::string getPricingCycle()const;
|
||||
void setPricingCycle(const std::string& pricingCycle);
|
||||
int getRatio()const;
|
||||
void setRatio(int ratio);
|
||||
|
||||
private:
|
||||
std::string access_key_id_;
|
||||
long resourceOwnerId_;
|
||||
bool supportPrivateLink_;
|
||||
std::string clientToken_;
|
||||
std::string cloudType_;
|
||||
std::string addressIPVersion_;
|
||||
std::string masterZoneId_;
|
||||
int duration_;
|
||||
std::string resourceGroupId_;
|
||||
std::string loadBalancerName_;
|
||||
std::string regionId_;
|
||||
std::string addressType_;
|
||||
std::string slaveZoneId_;
|
||||
std::string deleteProtection_;
|
||||
std::string loadBalancerSpec_;
|
||||
bool autoPay_;
|
||||
std::string address_;
|
||||
std::string resourceOwnerAccount_;
|
||||
int bandwidth_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string tags_;
|
||||
std::string vSwitchId_;
|
||||
std::string enableVpcVipFlow_;
|
||||
std::string internetChargeType_;
|
||||
std::string pricingCycle_;
|
||||
std::string access_key_id_;
|
||||
std::string modificationProtectionReason_;
|
||||
bool supportPrivateLink_;
|
||||
std::string clientToken_;
|
||||
std::string cloudType_;
|
||||
int duration_;
|
||||
std::string regionId_;
|
||||
std::string addressType_;
|
||||
std::string deleteProtection_;
|
||||
bool autoPay_;
|
||||
std::string address_;
|
||||
std::string resourceOwnerAccount_;
|
||||
int bandwidth_;
|
||||
std::string ownerAccount_;
|
||||
std::string modificationProtectionStatus_;
|
||||
std::string vpcId_;
|
||||
std::string payType_;
|
||||
std::string pricingCycle_;
|
||||
int ratio_;
|
||||
|
||||
};
|
||||
|
||||
@@ -1,65 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SLB_MODEL_CREATEMASTERSLAVEVSERVERGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_SLB_MODEL_CREATEMASTERSLAVEVSERVERGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/slb/SlbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Slb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SLB_EXPORT CreateMasterSlaveVServerGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MasterSlaveBackendServer
|
||||
{
|
||||
std::string type;
|
||||
std::string serverId;
|
||||
std::string description;
|
||||
std::string vpcId;
|
||||
std::string eniHost;
|
||||
int port;
|
||||
std::string serverIp;
|
||||
int isBackup;
|
||||
int weight;
|
||||
};
|
||||
|
||||
|
||||
CreateMasterSlaveVServerGroupResult();
|
||||
explicit CreateMasterSlaveVServerGroupResult(const std::string &payload);
|
||||
~CreateMasterSlaveVServerGroupResult();
|
||||
std::string getMasterSlaveVServerGroupId()const;
|
||||
std::vector<MasterSlaveBackendServer> getMasterSlaveBackendServers()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string masterSlaveVServerGroupId_;
|
||||
std::vector<MasterSlaveBackendServer> masterSlaveBackendServers_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SLB_MODEL_CREATEMASTERSLAVEVSERVERGROUPRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SLB_MODEL_DESCRIBEMASTERSLAVEVSERVERGROUPATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_SLB_MODEL_DESCRIBEMASTERSLAVEVSERVERGROUPATTRIBUTEREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_SLB_MODEL_CREATETLSCIPHERPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_SLB_MODEL_CREATETLSCIPHERPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,12 +28,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SLB_EXPORT DescribeMasterSlaveVServerGroupAttributeRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_SLB_EXPORT CreateTLSCipherPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeMasterSlaveVServerGroupAttributeRequest();
|
||||
~DescribeMasterSlaveVServerGroupAttributeRequest();
|
||||
CreateTLSCipherPolicyRequest();
|
||||
~CreateTLSCipherPolicyRequest();
|
||||
|
||||
std::string getAccess_key_id()const;
|
||||
void setAccess_key_id(const std::string& access_key_id);
|
||||
@@ -43,30 +43,33 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getMasterSlaveVServerGroupId()const;
|
||||
void setMasterSlaveVServerGroupId(const std::string& masterSlaveVServerGroupId);
|
||||
std::vector<std::string> getCiphers()const;
|
||||
void setCiphers(const std::vector<std::string>& ciphers);
|
||||
std::vector<std::string> getTLSVersions()const;
|
||||
void setTLSVersions(const std::vector<std::string>& tLSVersions);
|
||||
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);
|
||||
std::string getTags()const;
|
||||
void setTags(const std::string& tags);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
std::string access_key_id_;
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string masterSlaveVServerGroupId_;
|
||||
std::vector<std::string> ciphers_;
|
||||
std::vector<std::string> tLSVersions_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string tags_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SLB_MODEL_DESCRIBEMASTERSLAVEVSERVERGROUPATTRIBUTEREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_SLB_MODEL_CREATETLSCIPHERPOLICYREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SLB_MODEL_SETLOADBALANCERLISTENERATTRIBUTEEXRESULT_H_
|
||||
#define ALIBABACLOUD_SLB_MODEL_SETLOADBALANCERLISTENERATTRIBUTEEXRESULT_H_
|
||||
#ifndef ALIBABACLOUD_SLB_MODEL_CREATETLSCIPHERPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_SLB_MODEL_CREATETLSCIPHERPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,21 +29,23 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SLB_EXPORT SetLoadBalancerListenerAttributeExResult : public ServiceResult
|
||||
class ALIBABACLOUD_SLB_EXPORT CreateTLSCipherPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SetLoadBalancerListenerAttributeExResult();
|
||||
explicit SetLoadBalancerListenerAttributeExResult(const std::string &payload);
|
||||
~SetLoadBalancerListenerAttributeExResult();
|
||||
CreateTLSCipherPolicyResult();
|
||||
explicit CreateTLSCipherPolicyResult(const std::string &payload);
|
||||
~CreateTLSCipherPolicyResult();
|
||||
std::string getTLSCipherPolicyId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string tLSCipherPolicyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SLB_MODEL_SETLOADBALANCERLISTENERATTRIBUTEEXRESULT_H_
|
||||
#endif // !ALIBABACLOUD_SLB_MODEL_CREATETLSCIPHERPOLICYRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SLB_MODEL_DESCRIBEMASTERSLAVEVSERVERGROUPSREQUEST_H_
|
||||
#define ALIBABACLOUD_SLB_MODEL_DESCRIBEMASTERSLAVEVSERVERGROUPSREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_SLB_MODEL_DELETETLSCIPHERPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_SLB_MODEL_DELETETLSCIPHERPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,12 +28,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SLB_EXPORT DescribeMasterSlaveVServerGroupsRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_SLB_EXPORT DeleteTLSCipherPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeMasterSlaveVServerGroupsRequest();
|
||||
~DescribeMasterSlaveVServerGroupsRequest();
|
||||
DeleteTLSCipherPolicyRequest();
|
||||
~DeleteTLSCipherPolicyRequest();
|
||||
|
||||
std::string getAccess_key_id()const;
|
||||
void setAccess_key_id(const std::string& access_key_id);
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTLSCipherPolicyId()const;
|
||||
void setTLSCipherPolicyId(const std::string& tLSCipherPolicyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
@@ -49,24 +51,19 @@ namespace AlibabaCloud
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTags()const;
|
||||
void setTags(const std::string& tags);
|
||||
std::string getLoadBalancerId()const;
|
||||
void setLoadBalancerId(const std::string& loadBalancerId);
|
||||
|
||||
private:
|
||||
std::string access_key_id_;
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string tLSCipherPolicyId_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string tags_;
|
||||
std::string loadBalancerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SLB_MODEL_DESCRIBEMASTERSLAVEVSERVERGROUPSREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_SLB_MODEL_DELETETLSCIPHERPOLICYREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_SLB_MODEL_DELETEMASTERSLAVEVSERVERGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_SLB_MODEL_DELETEMASTERSLAVEVSERVERGROUPRESULT_H_
|
||||
#ifndef ALIBABACLOUD_SLB_MODEL_DELETETLSCIPHERPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_SLB_MODEL_DELETETLSCIPHERPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_SLB_EXPORT DeleteMasterSlaveVServerGroupResult : public ServiceResult
|
||||
class ALIBABACLOUD_SLB_EXPORT DeleteTLSCipherPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteMasterSlaveVServerGroupResult();
|
||||
explicit DeleteMasterSlaveVServerGroupResult(const std::string &payload);
|
||||
~DeleteMasterSlaveVServerGroupResult();
|
||||
DeleteTLSCipherPolicyResult();
|
||||
explicit DeleteTLSCipherPolicyResult(const std::string &payload);
|
||||
~DeleteTLSCipherPolicyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_SLB_MODEL_DELETEMASTERSLAVEVSERVERGROUPRESULT_H_
|
||||
#endif // !ALIBABACLOUD_SLB_MODEL_DELETETLSCIPHERPOLICYRESULT_H_
|
||||
@@ -44,7 +44,10 @@ namespace AlibabaCloud
|
||||
long expireTimeStamp;
|
||||
std::string cACertificateId;
|
||||
std::string createTime;
|
||||
std::string standardType;
|
||||
std::string cACertificateName;
|
||||
int encryptionKeyLength;
|
||||
std::string encryptionAlgorithm;
|
||||
std::string regionId;
|
||||
std::string expireTime;
|
||||
std::vector<CACertificate::Tag> tags;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user