Compare commits

..

17 Commits

Author SHA1 Message Date
sdk-team
da7aefe5aa Support SubmitOperationAuditInfo for Support self-service submission of approval information. 2020-06-23 16:26:17 +08:00
sdk-team
243879b17f Generated 2018-08-28 for Tag. 2020-06-23 16:23:57 +08:00
sdk-team
942248dfb0 Public beta version. 2020-06-23 14:06:07 +08:00
sdk-team
8f92463d90 Public beta version. 2020-06-23 10:04:31 +08:00
sdk-team
dbe8804b96 Public beta version. 2020-06-23 09:36:12 +08:00
sdk-team
6e880496ba Add support cn-shenzhen region. 2020-06-22 16:56:25 +08:00
sdk-team
fbf5bf0457 Add GetMultipleTrace api. 2020-06-22 12:15:04 +08:00
sdk-team
e32ce45b9d Add persons API. 2020-06-21 22:21:45 +08:00
sdk-team
053c0dc1a1 Supported TransformDBInstancePayType API. 2020-06-18 16:40:36 +08:00
sdk-team
2070ee03ba Add GetAuthToken OpenAPI. 2020-06-18 15:38:53 +08:00
sdk-team
e611ec2db4 Public beta version. 2020-06-18 10:39:31 +08:00
sdk-team
57416bd581 Supported sync create eni and assign private ip. 2020-06-17 18:04:12 +08:00
sdk-team
2df6079b2d Public beta version. 2020-06-17 14:30:20 +08:00
sdk-team
39221a5319 Support TargetImageId in ApplyNodes Interface. 2020-06-16 16:35:28 +08:00
sdk-team
6bba61cebe Update monitor related API. 2020-06-16 00:29:30 +08:00
sdk-team
a869068f77 Generated 2019-09-10 for waf-openapi. 2020-06-15 14:06:18 +08:00
sdk-team
cf9eca9516 Generated 2019-09-10 for waf-openapi. 2020-06-15 12:27:04 +08:00
285 changed files with 10642 additions and 2289 deletions

View File

@@ -1,3 +1,66 @@
2020-06-23 Version: 1.36.476
- Support SubmitOperationAuditInfo for Support self-service submission of approval information.
- Support SubmitOperationCredentials for self-service submission of certificate information.
- Support CancelOperationAudit for cancel audit.
- Support GetOperationOssUploadPolic for get oss policy.
- Support QueryOperationAuditInfoLis for query audit list.
- Support QueryOperationAuditInfoDetail for query audit details.
2020-06-23 Version: 1.36.475
- Generated 2018-08-28 for `Tag`.
2020-06-23 Version: 1.36.474
- Public beta version.
- Add Api Overseas.
2020-06-23 Version: 1.36.473
- Public beta version.
- Add Api Overseas.
2020-06-23 Version: 1.36.472
- Public beta version.
- Add Api Overseas.
2020-06-22 Version: 1.36.471
- Add support cn-shenzhen region.
2020-06-22 Version: 1.36.470
- Add GetMultipleTrace api.
- Add SearchTracesByPage api.
- Add GetStack api.
2020-06-21 Version: 1.36.469
- Add persons API.
2020-06-18 Version: 1.36.468
- Supported TransformDBInstancePayType API.
2020-06-18 Version: 1.36.467
- Add GetAuthToken OpenAPI.
2020-06-18 Version: 1.36.466
- Public beta version.
- Add Api Overseas.
2020-06-17 Version: 1.36.465
- Supported sync create eni and assign private ip.
2020-06-17 Version: 1.36.464
- Public beta version.
- Add Api Overseas.
2020-06-16 Version: 1.36.463
- Support TargetImageId in ApplyNodes Interface.
2020-06-16 Version: 1.36.462
- Update monitor related API.
2020-06-15 Version: 1.36.461
- Generated 2019-09-10 for `waf-openapi`.
2020-06-15 Version: 1.36.460
- Generated 2019-09-10 for `waf-openapi`.
2020-06-12 Version: 1.36.459
- Add CreateProduct API ProductSecret in Response.
- Add AMQP APIs, including CreateSubscribeRelation, CreateConsumerGroup, etc.

View File

@@ -1 +1 @@
1.36.459
1.36.476

View File

@@ -27,6 +27,10 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/ActiveMeetingResult.h
include/alibabacloud/aliyuncvc/model/BatchCreateDeviceRequest.h
include/alibabacloud/aliyuncvc/model/BatchCreateDeviceResult.h
include/alibabacloud/aliyuncvc/model/BatchDeleteDevicesRequest.h
include/alibabacloud/aliyuncvc/model/BatchDeleteDevicesResult.h
include/alibabacloud/aliyuncvc/model/CallDeviceRequest.h
include/alibabacloud/aliyuncvc/model/CallDeviceResult.h
include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingRequest.h
include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingResult.h
include/alibabacloud/aliyuncvc/model/CreateEvaluationRequest.h
@@ -63,6 +67,8 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/GetMeetingInternationalResult.h
include/alibabacloud/aliyuncvc/model/GetMeetingMemberRequest.h
include/alibabacloud/aliyuncvc/model/GetMeetingMemberResult.h
include/alibabacloud/aliyuncvc/model/GetMembersRequest.h
include/alibabacloud/aliyuncvc/model/GetMembersResult.h
include/alibabacloud/aliyuncvc/model/GetUserRequest.h
include/alibabacloud/aliyuncvc/model/GetUserResult.h
include/alibabacloud/aliyuncvc/model/JoinDeviceMeetingRequest.h
@@ -75,6 +81,8 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalResult.h
include/alibabacloud/aliyuncvc/model/ListDeviceIpRequest.h
include/alibabacloud/aliyuncvc/model/ListDeviceIpResult.h
include/alibabacloud/aliyuncvc/model/ListDevicesRequest.h
include/alibabacloud/aliyuncvc/model/ListDevicesResult.h
include/alibabacloud/aliyuncvc/model/ListEvaluationsRequest.h
include/alibabacloud/aliyuncvc/model/ListEvaluationsResult.h
include/alibabacloud/aliyuncvc/model/ListIsvStatisticsRequest.h
@@ -108,6 +116,10 @@ set(aliyuncvc_src
src/model/ActiveMeetingResult.cc
src/model/BatchCreateDeviceRequest.cc
src/model/BatchCreateDeviceResult.cc
src/model/BatchDeleteDevicesRequest.cc
src/model/BatchDeleteDevicesResult.cc
src/model/CallDeviceRequest.cc
src/model/CallDeviceResult.cc
src/model/CreateDeviceMeetingRequest.cc
src/model/CreateDeviceMeetingResult.cc
src/model/CreateEvaluationRequest.cc
@@ -144,6 +156,8 @@ set(aliyuncvc_src
src/model/GetMeetingInternationalResult.cc
src/model/GetMeetingMemberRequest.cc
src/model/GetMeetingMemberResult.cc
src/model/GetMembersRequest.cc
src/model/GetMembersResult.cc
src/model/GetUserRequest.cc
src/model/GetUserResult.cc
src/model/JoinDeviceMeetingRequest.cc
@@ -156,6 +170,8 @@ set(aliyuncvc_src
src/model/JoinMeetingInternationalResult.cc
src/model/ListDeviceIpRequest.cc
src/model/ListDeviceIpResult.cc
src/model/ListDevicesRequest.cc
src/model/ListDevicesResult.cc
src/model/ListEvaluationsRequest.cc
src/model/ListEvaluationsResult.cc
src/model/ListIsvStatisticsRequest.cc

View File

@@ -28,6 +28,10 @@
#include "model/ActiveMeetingResult.h"
#include "model/BatchCreateDeviceRequest.h"
#include "model/BatchCreateDeviceResult.h"
#include "model/BatchDeleteDevicesRequest.h"
#include "model/BatchDeleteDevicesResult.h"
#include "model/CallDeviceRequest.h"
#include "model/CallDeviceResult.h"
#include "model/CreateDeviceMeetingRequest.h"
#include "model/CreateDeviceMeetingResult.h"
#include "model/CreateEvaluationRequest.h"
@@ -64,6 +68,8 @@
#include "model/GetMeetingInternationalResult.h"
#include "model/GetMeetingMemberRequest.h"
#include "model/GetMeetingMemberResult.h"
#include "model/GetMembersRequest.h"
#include "model/GetMembersResult.h"
#include "model/GetUserRequest.h"
#include "model/GetUserResult.h"
#include "model/JoinDeviceMeetingRequest.h"
@@ -76,6 +82,8 @@
#include "model/JoinMeetingInternationalResult.h"
#include "model/ListDeviceIpRequest.h"
#include "model/ListDeviceIpResult.h"
#include "model/ListDevicesRequest.h"
#include "model/ListDevicesResult.h"
#include "model/ListEvaluationsRequest.h"
#include "model/ListEvaluationsResult.h"
#include "model/ListIsvStatisticsRequest.h"
@@ -118,6 +126,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::BatchCreateDeviceResult> BatchCreateDeviceOutcome;
typedef std::future<BatchCreateDeviceOutcome> BatchCreateDeviceOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::BatchCreateDeviceRequest&, const BatchCreateDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchCreateDeviceAsyncHandler;
typedef Outcome<Error, Model::BatchDeleteDevicesResult> BatchDeleteDevicesOutcome;
typedef std::future<BatchDeleteDevicesOutcome> BatchDeleteDevicesOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::BatchDeleteDevicesRequest&, const BatchDeleteDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchDeleteDevicesAsyncHandler;
typedef Outcome<Error, Model::CallDeviceResult> CallDeviceOutcome;
typedef std::future<CallDeviceOutcome> CallDeviceOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::CallDeviceRequest&, const CallDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CallDeviceAsyncHandler;
typedef Outcome<Error, Model::CreateDeviceMeetingResult> CreateDeviceMeetingOutcome;
typedef std::future<CreateDeviceMeetingOutcome> CreateDeviceMeetingOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::CreateDeviceMeetingRequest&, const CreateDeviceMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDeviceMeetingAsyncHandler;
@@ -172,6 +186,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetMeetingMemberResult> GetMeetingMemberOutcome;
typedef std::future<GetMeetingMemberOutcome> GetMeetingMemberOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::GetMeetingMemberRequest&, const GetMeetingMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMeetingMemberAsyncHandler;
typedef Outcome<Error, Model::GetMembersResult> GetMembersOutcome;
typedef std::future<GetMembersOutcome> GetMembersOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::GetMembersRequest&, const GetMembersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMembersAsyncHandler;
typedef Outcome<Error, Model::GetUserResult> GetUserOutcome;
typedef std::future<GetUserOutcome> GetUserOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::GetUserRequest&, const GetUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserAsyncHandler;
@@ -190,6 +207,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListDeviceIpResult> ListDeviceIpOutcome;
typedef std::future<ListDeviceIpOutcome> ListDeviceIpOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ListDeviceIpRequest&, const ListDeviceIpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDeviceIpAsyncHandler;
typedef Outcome<Error, Model::ListDevicesResult> ListDevicesOutcome;
typedef std::future<ListDevicesOutcome> ListDevicesOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ListDevicesRequest&, const ListDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDevicesAsyncHandler;
typedef Outcome<Error, Model::ListEvaluationsResult> ListEvaluationsOutcome;
typedef std::future<ListEvaluationsOutcome> ListEvaluationsOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ListEvaluationsRequest&, const ListEvaluationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListEvaluationsAsyncHandler;
@@ -240,6 +260,12 @@ namespace AlibabaCloud
BatchCreateDeviceOutcome batchCreateDevice(const Model::BatchCreateDeviceRequest &request)const;
void batchCreateDeviceAsync(const Model::BatchCreateDeviceRequest& request, const BatchCreateDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchCreateDeviceOutcomeCallable batchCreateDeviceCallable(const Model::BatchCreateDeviceRequest& request) const;
BatchDeleteDevicesOutcome batchDeleteDevices(const Model::BatchDeleteDevicesRequest &request)const;
void batchDeleteDevicesAsync(const Model::BatchDeleteDevicesRequest& request, const BatchDeleteDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchDeleteDevicesOutcomeCallable batchDeleteDevicesCallable(const Model::BatchDeleteDevicesRequest& request) const;
CallDeviceOutcome callDevice(const Model::CallDeviceRequest &request)const;
void callDeviceAsync(const Model::CallDeviceRequest& request, const CallDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CallDeviceOutcomeCallable callDeviceCallable(const Model::CallDeviceRequest& request) const;
CreateDeviceMeetingOutcome createDeviceMeeting(const Model::CreateDeviceMeetingRequest &request)const;
void createDeviceMeetingAsync(const Model::CreateDeviceMeetingRequest& request, const CreateDeviceMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDeviceMeetingOutcomeCallable createDeviceMeetingCallable(const Model::CreateDeviceMeetingRequest& request) const;
@@ -294,6 +320,9 @@ namespace AlibabaCloud
GetMeetingMemberOutcome getMeetingMember(const Model::GetMeetingMemberRequest &request)const;
void getMeetingMemberAsync(const Model::GetMeetingMemberRequest& request, const GetMeetingMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetMeetingMemberOutcomeCallable getMeetingMemberCallable(const Model::GetMeetingMemberRequest& request) const;
GetMembersOutcome getMembers(const Model::GetMembersRequest &request)const;
void getMembersAsync(const Model::GetMembersRequest& request, const GetMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetMembersOutcomeCallable getMembersCallable(const Model::GetMembersRequest& request) const;
GetUserOutcome getUser(const Model::GetUserRequest &request)const;
void getUserAsync(const Model::GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const;
@@ -312,6 +341,9 @@ namespace AlibabaCloud
ListDeviceIpOutcome listDeviceIp(const Model::ListDeviceIpRequest &request)const;
void listDeviceIpAsync(const Model::ListDeviceIpRequest& request, const ListDeviceIpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDeviceIpOutcomeCallable listDeviceIpCallable(const Model::ListDeviceIpRequest& request) const;
ListDevicesOutcome listDevices(const Model::ListDevicesRequest &request)const;
void listDevicesAsync(const Model::ListDevicesRequest& request, const ListDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDevicesOutcomeCallable listDevicesCallable(const Model::ListDevicesRequest& request) const;
ListEvaluationsOutcome listEvaluations(const Model::ListEvaluationsRequest &request)const;
void listEvaluationsAsync(const Model::ListEvaluationsRequest& request, const ListEvaluationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListEvaluationsOutcomeCallable listEvaluationsCallable(const Model::ListEvaluationsRequest& request) const;

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_BATCHDELETEDEVICESREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_BATCHDELETEDEVICESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT BatchDeleteDevicesRequest : public RpcServiceRequest
{
public:
BatchDeleteDevicesRequest();
~BatchDeleteDevicesRequest();
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getSN()const;
void setSN(const std::string& sN);
private:
std::string groupId_;
std::string sN_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_BATCHDELETEDEVICESREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_BATCHDELETEDEVICESRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_BATCHDELETEDEVICESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT BatchDeleteDevicesResult : public ServiceResult
{
public:
BatchDeleteDevicesResult();
explicit BatchDeleteDevicesResult(const std::string &payload);
~BatchDeleteDevicesResult();
std::string getMessage()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_BATCHDELETEDEVICESRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CALLDEVICEREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CALLDEVICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT CallDeviceRequest : public RpcServiceRequest
{
public:
CallDeviceRequest();
~CallDeviceRequest();
std::string getInviteName()const;
void setInviteName(const std::string& inviteName);
std::string getOperateUserId()const;
void setOperateUserId(const std::string& operateUserId);
bool getJoinMeetingFlag()const;
void setJoinMeetingFlag(bool joinMeetingFlag);
std::string getMeetingCode()const;
void setMeetingCode(const std::string& meetingCode);
std::string getSN()const;
void setSN(const std::string& sN);
private:
std::string inviteName_;
std::string operateUserId_;
bool joinMeetingFlag_;
std::string meetingCode_;
std::string sN_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CALLDEVICEREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CALLDEVICERESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CALLDEVICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT CallDeviceResult : public ServiceResult
{
public:
CallDeviceResult();
explicit CallDeviceResult(const std::string &payload);
~CallDeviceResult();
std::string getMessage()const;
int getErrorCode()const;
bool getSuccess()const;
std::string getMessageId()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int errorCode_;
bool success_;
std::string messageId_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CALLDEVICERESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEMBERSREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEMBERSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetMembersRequest : public RpcServiceRequest
{
public:
GetMembersRequest();
~GetMembersRequest();
std::string getMeetingUUID()const;
void setMeetingUUID(const std::string& meetingUUID);
private:
std::string meetingUUID_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEMBERSREQUEST_H_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEMBERSRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEMBERSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetMembersResult : public ServiceResult
{
public:
struct MeetingInfo
{
struct MemberListItem
{
std::string status;
std::string userName;
std::string memberUUID;
std::string userId;
std::string userAvatarUrl;
};
std::string meetingCode;
std::string meetingUUID;
std::vector<MemberListItem> memberList;
std::string userId;
long createTime;
std::string meetingName;
long validTime;
};
GetMembersResult();
explicit GetMembersResult(const std::string &payload);
~GetMembersResult();
MeetingInfo getMeetingInfo()const;
std::string getMessage()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
MeetingInfo meetingInfo_;
std::string message_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEMBERSRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICESREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT ListDevicesRequest : public RpcServiceRequest
{
public:
ListDevicesRequest();
~ListDevicesRequest();
std::string getCastScreenCode()const;
void setCastScreenCode(const std::string& castScreenCode);
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getSN()const;
void setSN(const std::string& sN);
private:
std::string castScreenCode_;
int pageNumber_;
int pageSize_;
std::string sN_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICESREQUEST_H_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICESRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT ListDevicesResult : public ServiceResult
{
public:
struct Data
{
struct Device
{
std::string status;
std::string castScreenCode;
std::string createTime;
std::string pictureUrl;
std::string sN;
std::string conferenceName;
std::string activationCode;
std::string conferenceCode;
};
int pageSize;
int pageNumber;
int total;
std::vector<Device> devices;
};
ListDevicesResult();
explicit ListDevicesResult(const std::string &payload);
~ListDevicesResult();
std::string getMessage()const;
Data getData()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTDEVICESRESULT_H_

View File

@@ -159,6 +159,78 @@ AliyuncvcClient::BatchCreateDeviceOutcomeCallable AliyuncvcClient::batchCreateDe
return task->get_future();
}
AliyuncvcClient::BatchDeleteDevicesOutcome AliyuncvcClient::batchDeleteDevices(const BatchDeleteDevicesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return BatchDeleteDevicesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return BatchDeleteDevicesOutcome(BatchDeleteDevicesResult(outcome.result()));
else
return BatchDeleteDevicesOutcome(outcome.error());
}
void AliyuncvcClient::batchDeleteDevicesAsync(const BatchDeleteDevicesRequest& request, const BatchDeleteDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, batchDeleteDevices(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::BatchDeleteDevicesOutcomeCallable AliyuncvcClient::batchDeleteDevicesCallable(const BatchDeleteDevicesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<BatchDeleteDevicesOutcome()>>(
[this, request]()
{
return this->batchDeleteDevices(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::CallDeviceOutcome AliyuncvcClient::callDevice(const CallDeviceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CallDeviceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CallDeviceOutcome(CallDeviceResult(outcome.result()));
else
return CallDeviceOutcome(outcome.error());
}
void AliyuncvcClient::callDeviceAsync(const CallDeviceRequest& request, const CallDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, callDevice(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::CallDeviceOutcomeCallable AliyuncvcClient::callDeviceCallable(const CallDeviceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CallDeviceOutcome()>>(
[this, request]()
{
return this->callDevice(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::CreateDeviceMeetingOutcome AliyuncvcClient::createDeviceMeeting(const CreateDeviceMeetingRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -807,6 +879,42 @@ AliyuncvcClient::GetMeetingMemberOutcomeCallable AliyuncvcClient::getMeetingMemb
return task->get_future();
}
AliyuncvcClient::GetMembersOutcome AliyuncvcClient::getMembers(const GetMembersRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetMembersOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetMembersOutcome(GetMembersResult(outcome.result()));
else
return GetMembersOutcome(outcome.error());
}
void AliyuncvcClient::getMembersAsync(const GetMembersRequest& request, const GetMembersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getMembers(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::GetMembersOutcomeCallable AliyuncvcClient::getMembersCallable(const GetMembersRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetMembersOutcome()>>(
[this, request]()
{
return this->getMembers(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::GetUserOutcome AliyuncvcClient::getUser(const GetUserRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1023,6 +1131,42 @@ AliyuncvcClient::ListDeviceIpOutcomeCallable AliyuncvcClient::listDeviceIpCallab
return task->get_future();
}
AliyuncvcClient::ListDevicesOutcome AliyuncvcClient::listDevices(const ListDevicesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListDevicesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListDevicesOutcome(ListDevicesResult(outcome.result()));
else
return ListDevicesOutcome(outcome.error());
}
void AliyuncvcClient::listDevicesAsync(const ListDevicesRequest& request, const ListDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listDevices(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::ListDevicesOutcomeCallable AliyuncvcClient::listDevicesCallable(const ListDevicesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListDevicesOutcome()>>(
[this, request]()
{
return this->listDevices(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::ListEvaluationsOutcome AliyuncvcClient::listEvaluations(const ListEvaluationsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/BatchDeleteDevicesRequest.h>
using AlibabaCloud::Aliyuncvc::Model::BatchDeleteDevicesRequest;
BatchDeleteDevicesRequest::BatchDeleteDevicesRequest() :
RpcServiceRequest("aliyuncvc", "2020-03-30", "BatchDeleteDevices")
{
setMethod(HttpRequest::Method::Post);
}
BatchDeleteDevicesRequest::~BatchDeleteDevicesRequest()
{}
std::string BatchDeleteDevicesRequest::getGroupId()const
{
return groupId_;
}
void BatchDeleteDevicesRequest::setGroupId(const std::string& groupId)
{
groupId_ = groupId;
setBodyParameter("GroupId", groupId);
}
std::string BatchDeleteDevicesRequest::getSN()const
{
return sN_;
}
void BatchDeleteDevicesRequest::setSN(const std::string& sN)
{
sN_ = sN;
setBodyParameter("SN", sN);
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/BatchDeleteDevicesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
BatchDeleteDevicesResult::BatchDeleteDevicesResult() :
ServiceResult()
{}
BatchDeleteDevicesResult::BatchDeleteDevicesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
BatchDeleteDevicesResult::~BatchDeleteDevicesResult()
{}
void BatchDeleteDevicesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string BatchDeleteDevicesResult::getMessage()const
{
return message_;
}
int BatchDeleteDevicesResult::getErrorCode()const
{
return errorCode_;
}
bool BatchDeleteDevicesResult::getSuccess()const
{
return success_;
}

View 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/aliyuncvc/model/CallDeviceRequest.h>
using AlibabaCloud::Aliyuncvc::Model::CallDeviceRequest;
CallDeviceRequest::CallDeviceRequest() :
RpcServiceRequest("aliyuncvc", "2019-10-30", "CallDevice")
{
setMethod(HttpRequest::Method::Post);
}
CallDeviceRequest::~CallDeviceRequest()
{}
std::string CallDeviceRequest::getInviteName()const
{
return inviteName_;
}
void CallDeviceRequest::setInviteName(const std::string& inviteName)
{
inviteName_ = inviteName;
setBodyParameter("InviteName", inviteName);
}
std::string CallDeviceRequest::getOperateUserId()const
{
return operateUserId_;
}
void CallDeviceRequest::setOperateUserId(const std::string& operateUserId)
{
operateUserId_ = operateUserId;
setBodyParameter("OperateUserId", operateUserId);
}
bool CallDeviceRequest::getJoinMeetingFlag()const
{
return joinMeetingFlag_;
}
void CallDeviceRequest::setJoinMeetingFlag(bool joinMeetingFlag)
{
joinMeetingFlag_ = joinMeetingFlag;
setParameter("JoinMeetingFlag", joinMeetingFlag ? "true" : "false");
}
std::string CallDeviceRequest::getMeetingCode()const
{
return meetingCode_;
}
void CallDeviceRequest::setMeetingCode(const std::string& meetingCode)
{
meetingCode_ = meetingCode;
setBodyParameter("MeetingCode", meetingCode);
}
std::string CallDeviceRequest::getSN()const
{
return sN_;
}
void CallDeviceRequest::setSN(const std::string& sN)
{
sN_ = sN;
setBodyParameter("SN", sN);
}

View File

@@ -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.
*/
#include <alibabacloud/aliyuncvc/model/CallDeviceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
CallDeviceResult::CallDeviceResult() :
ServiceResult()
{}
CallDeviceResult::CallDeviceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CallDeviceResult::~CallDeviceResult()
{}
void CallDeviceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["MessageId"].isNull())
messageId_ = value["MessageId"].asString();
}
std::string CallDeviceResult::getMessage()const
{
return message_;
}
int CallDeviceResult::getErrorCode()const
{
return errorCode_;
}
bool CallDeviceResult::getSuccess()const
{
return success_;
}
std::string CallDeviceResult::getMessageId()const
{
return messageId_;
}

View File

@@ -0,0 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/GetMembersRequest.h>
using AlibabaCloud::Aliyuncvc::Model::GetMembersRequest;
GetMembersRequest::GetMembersRequest() :
RpcServiceRequest("aliyuncvc", "2020-03-30", "GetMembers")
{
setMethod(HttpRequest::Method::Post);
}
GetMembersRequest::~GetMembersRequest()
{}
std::string GetMembersRequest::getMeetingUUID()const
{
return meetingUUID_;
}
void GetMembersRequest::setMeetingUUID(const std::string& meetingUUID)
{
meetingUUID_ = meetingUUID;
setBodyParameter("MeetingUUID", meetingUUID);
}

View 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/aliyuncvc/model/GetMembersResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
GetMembersResult::GetMembersResult() :
ServiceResult()
{}
GetMembersResult::GetMembersResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetMembersResult::~GetMembersResult()
{}
void GetMembersResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto meetingInfoNode = value["MeetingInfo"];
if(!meetingInfoNode["MeetingName"].isNull())
meetingInfo_.meetingName = meetingInfoNode["MeetingName"].asString();
if(!meetingInfoNode["ValidTime"].isNull())
meetingInfo_.validTime = std::stol(meetingInfoNode["ValidTime"].asString());
if(!meetingInfoNode["MeetingCode"].isNull())
meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString();
if(!meetingInfoNode["CreateTime"].isNull())
meetingInfo_.createTime = std::stol(meetingInfoNode["CreateTime"].asString());
if(!meetingInfoNode["UserId"].isNull())
meetingInfo_.userId = meetingInfoNode["UserId"].asString();
if(!meetingInfoNode["MeetingUUID"].isNull())
meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString();
auto allMemberListNode = meetingInfoNode["MemberList"]["MemberListItem"];
for (auto meetingInfoNodeMemberListMemberListItem : allMemberListNode)
{
MeetingInfo::MemberListItem memberListItemObject;
if(!meetingInfoNodeMemberListMemberListItem["UserAvatarUrl"].isNull())
memberListItemObject.userAvatarUrl = meetingInfoNodeMemberListMemberListItem["UserAvatarUrl"].asString();
if(!meetingInfoNodeMemberListMemberListItem["MemberUUID"].isNull())
memberListItemObject.memberUUID = meetingInfoNodeMemberListMemberListItem["MemberUUID"].asString();
if(!meetingInfoNodeMemberListMemberListItem["UserName"].isNull())
memberListItemObject.userName = meetingInfoNodeMemberListMemberListItem["UserName"].asString();
if(!meetingInfoNodeMemberListMemberListItem["UserId"].isNull())
memberListItemObject.userId = meetingInfoNodeMemberListMemberListItem["UserId"].asString();
if(!meetingInfoNodeMemberListMemberListItem["Status"].isNull())
memberListItemObject.status = meetingInfoNodeMemberListMemberListItem["Status"].asString();
meetingInfo_.memberList.push_back(memberListItemObject);
}
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
GetMembersResult::MeetingInfo GetMembersResult::getMeetingInfo()const
{
return meetingInfo_;
}
std::string GetMembersResult::getMessage()const
{
return message_;
}
int GetMembersResult::getErrorCode()const
{
return errorCode_;
}
bool GetMembersResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/ListDevicesRequest.h>
using AlibabaCloud::Aliyuncvc::Model::ListDevicesRequest;
ListDevicesRequest::ListDevicesRequest() :
RpcServiceRequest("aliyuncvc", "2019-10-30", "ListDevices")
{
setMethod(HttpRequest::Method::Post);
}
ListDevicesRequest::~ListDevicesRequest()
{}
std::string ListDevicesRequest::getCastScreenCode()const
{
return castScreenCode_;
}
void ListDevicesRequest::setCastScreenCode(const std::string& castScreenCode)
{
castScreenCode_ = castScreenCode;
setParameter("CastScreenCode", castScreenCode);
}
int ListDevicesRequest::getPageNumber()const
{
return pageNumber_;
}
void ListDevicesRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
int ListDevicesRequest::getPageSize()const
{
return pageSize_;
}
void ListDevicesRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string ListDevicesRequest::getSN()const
{
return sN_;
}
void ListDevicesRequest::setSN(const std::string& sN)
{
sN_ = sN;
setParameter("SN", sN);
}

View 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/aliyuncvc/model/ListDevicesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
ListDevicesResult::ListDevicesResult() :
ServiceResult()
{}
ListDevicesResult::ListDevicesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListDevicesResult::~ListDevicesResult()
{}
void ListDevicesResult::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["Total"].isNull())
data_.total = std::stoi(dataNode["Total"].asString());
if(!dataNode["PageSize"].isNull())
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
if(!dataNode["PageNumber"].isNull())
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
auto allDevicesNode = dataNode["Devices"]["Device"];
for (auto dataNodeDevicesDevice : allDevicesNode)
{
Data::Device deviceObject;
if(!dataNodeDevicesDevice["ActivationCode"].isNull())
deviceObject.activationCode = dataNodeDevicesDevice["ActivationCode"].asString();
if(!dataNodeDevicesDevice["ConferenceCode"].isNull())
deviceObject.conferenceCode = dataNodeDevicesDevice["ConferenceCode"].asString();
if(!dataNodeDevicesDevice["ConferenceName"].isNull())
deviceObject.conferenceName = dataNodeDevicesDevice["ConferenceName"].asString();
if(!dataNodeDevicesDevice["CreateTime"].isNull())
deviceObject.createTime = dataNodeDevicesDevice["CreateTime"].asString();
if(!dataNodeDevicesDevice["PictureUrl"].isNull())
deviceObject.pictureUrl = dataNodeDevicesDevice["PictureUrl"].asString();
if(!dataNodeDevicesDevice["SN"].isNull())
deviceObject.sN = dataNodeDevicesDevice["SN"].asString();
if(!dataNodeDevicesDevice["Status"].isNull())
deviceObject.status = dataNodeDevicesDevice["Status"].asString();
if(!dataNodeDevicesDevice["CastScreenCode"].isNull())
deviceObject.castScreenCode = dataNodeDevicesDevice["CastScreenCode"].asString();
data_.devices.push_back(deviceObject);
}
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string ListDevicesResult::getMessage()const
{
return message_;
}
ListDevicesResult::Data ListDevicesResult::getData()const
{
return data_;
}
int ListDevicesResult::getErrorCode()const
{
return errorCode_;
}
bool ListDevicesResult::getSuccess()const
{
return success_;
}

View File

@@ -43,12 +43,22 @@ set(arms_public_header_model
include/alibabacloud/arms/model/DeleteAlertRulesResult.h
include/alibabacloud/arms/model/DeleteRetcodeAppRequest.h
include/alibabacloud/arms/model/DeleteRetcodeAppResult.h
include/alibabacloud/arms/model/DeleteTraceAppRequest.h
include/alibabacloud/arms/model/DeleteTraceAppResult.h
include/alibabacloud/arms/model/DescribeTraceLicenseKeyRequest.h
include/alibabacloud/arms/model/DescribeTraceLicenseKeyResult.h
include/alibabacloud/arms/model/DescribeTraceLocationRequest.h
include/alibabacloud/arms/model/DescribeTraceLocationResult.h
include/alibabacloud/arms/model/GetConsistencySnapshotRequest.h
include/alibabacloud/arms/model/GetConsistencySnapshotResult.h
include/alibabacloud/arms/model/GetMultipleTraceRequest.h
include/alibabacloud/arms/model/GetMultipleTraceResult.h
include/alibabacloud/arms/model/GetPrometheusApiTokenRequest.h
include/alibabacloud/arms/model/GetPrometheusApiTokenResult.h
include/alibabacloud/arms/model/GetRetcodeShareUrlRequest.h
include/alibabacloud/arms/model/GetRetcodeShareUrlResult.h
include/alibabacloud/arms/model/GetStackRequest.h
include/alibabacloud/arms/model/GetStackResult.h
include/alibabacloud/arms/model/GetTraceRequest.h
include/alibabacloud/arms/model/GetTraceResult.h
include/alibabacloud/arms/model/ImportAppAlertRulesRequest.h
@@ -87,6 +97,8 @@ set(arms_public_header_model
include/alibabacloud/arms/model/SearchTraceAppByPageResult.h
include/alibabacloud/arms/model/SearchTracesRequest.h
include/alibabacloud/arms/model/SearchTracesResult.h
include/alibabacloud/arms/model/SearchTracesByPageRequest.h
include/alibabacloud/arms/model/SearchTracesByPageResult.h
include/alibabacloud/arms/model/SetRetcodeShareStatusRequest.h
include/alibabacloud/arms/model/SetRetcodeShareStatusResult.h
include/alibabacloud/arms/model/StartAlertRequest.h
@@ -124,12 +136,22 @@ set(arms_src
src/model/DeleteAlertRulesResult.cc
src/model/DeleteRetcodeAppRequest.cc
src/model/DeleteRetcodeAppResult.cc
src/model/DeleteTraceAppRequest.cc
src/model/DeleteTraceAppResult.cc
src/model/DescribeTraceLicenseKeyRequest.cc
src/model/DescribeTraceLicenseKeyResult.cc
src/model/DescribeTraceLocationRequest.cc
src/model/DescribeTraceLocationResult.cc
src/model/GetConsistencySnapshotRequest.cc
src/model/GetConsistencySnapshotResult.cc
src/model/GetMultipleTraceRequest.cc
src/model/GetMultipleTraceResult.cc
src/model/GetPrometheusApiTokenRequest.cc
src/model/GetPrometheusApiTokenResult.cc
src/model/GetRetcodeShareUrlRequest.cc
src/model/GetRetcodeShareUrlResult.cc
src/model/GetStackRequest.cc
src/model/GetStackResult.cc
src/model/GetTraceRequest.cc
src/model/GetTraceResult.cc
src/model/ImportAppAlertRulesRequest.cc
@@ -168,6 +190,8 @@ set(arms_src
src/model/SearchTraceAppByPageResult.cc
src/model/SearchTracesRequest.cc
src/model/SearchTracesResult.cc
src/model/SearchTracesByPageRequest.cc
src/model/SearchTracesByPageResult.cc
src/model/SetRetcodeShareStatusRequest.cc
src/model/SetRetcodeShareStatusResult.cc
src/model/StartAlertRequest.cc

View File

@@ -44,12 +44,22 @@
#include "model/DeleteAlertRulesResult.h"
#include "model/DeleteRetcodeAppRequest.h"
#include "model/DeleteRetcodeAppResult.h"
#include "model/DeleteTraceAppRequest.h"
#include "model/DeleteTraceAppResult.h"
#include "model/DescribeTraceLicenseKeyRequest.h"
#include "model/DescribeTraceLicenseKeyResult.h"
#include "model/DescribeTraceLocationRequest.h"
#include "model/DescribeTraceLocationResult.h"
#include "model/GetConsistencySnapshotRequest.h"
#include "model/GetConsistencySnapshotResult.h"
#include "model/GetMultipleTraceRequest.h"
#include "model/GetMultipleTraceResult.h"
#include "model/GetPrometheusApiTokenRequest.h"
#include "model/GetPrometheusApiTokenResult.h"
#include "model/GetRetcodeShareUrlRequest.h"
#include "model/GetRetcodeShareUrlResult.h"
#include "model/GetStackRequest.h"
#include "model/GetStackResult.h"
#include "model/GetTraceRequest.h"
#include "model/GetTraceResult.h"
#include "model/ImportAppAlertRulesRequest.h"
@@ -88,6 +98,8 @@
#include "model/SearchTraceAppByPageResult.h"
#include "model/SearchTracesRequest.h"
#include "model/SearchTracesResult.h"
#include "model/SearchTracesByPageRequest.h"
#include "model/SearchTracesByPageResult.h"
#include "model/SetRetcodeShareStatusRequest.h"
#include "model/SetRetcodeShareStatusResult.h"
#include "model/StartAlertRequest.h"
@@ -142,15 +154,30 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteRetcodeAppResult> DeleteRetcodeAppOutcome;
typedef std::future<DeleteRetcodeAppOutcome> DeleteRetcodeAppOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::DeleteRetcodeAppRequest&, const DeleteRetcodeAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRetcodeAppAsyncHandler;
typedef Outcome<Error, Model::DeleteTraceAppResult> DeleteTraceAppOutcome;
typedef std::future<DeleteTraceAppOutcome> DeleteTraceAppOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::DeleteTraceAppRequest&, const DeleteTraceAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTraceAppAsyncHandler;
typedef Outcome<Error, Model::DescribeTraceLicenseKeyResult> DescribeTraceLicenseKeyOutcome;
typedef std::future<DescribeTraceLicenseKeyOutcome> DescribeTraceLicenseKeyOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::DescribeTraceLicenseKeyRequest&, const DescribeTraceLicenseKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTraceLicenseKeyAsyncHandler;
typedef Outcome<Error, Model::DescribeTraceLocationResult> DescribeTraceLocationOutcome;
typedef std::future<DescribeTraceLocationOutcome> DescribeTraceLocationOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::DescribeTraceLocationRequest&, const DescribeTraceLocationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTraceLocationAsyncHandler;
typedef Outcome<Error, Model::GetConsistencySnapshotResult> GetConsistencySnapshotOutcome;
typedef std::future<GetConsistencySnapshotOutcome> GetConsistencySnapshotOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::GetConsistencySnapshotRequest&, const GetConsistencySnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetConsistencySnapshotAsyncHandler;
typedef Outcome<Error, Model::GetMultipleTraceResult> GetMultipleTraceOutcome;
typedef std::future<GetMultipleTraceOutcome> GetMultipleTraceOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::GetMultipleTraceRequest&, const GetMultipleTraceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMultipleTraceAsyncHandler;
typedef Outcome<Error, Model::GetPrometheusApiTokenResult> GetPrometheusApiTokenOutcome;
typedef std::future<GetPrometheusApiTokenOutcome> GetPrometheusApiTokenOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::GetPrometheusApiTokenRequest&, const GetPrometheusApiTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPrometheusApiTokenAsyncHandler;
typedef Outcome<Error, Model::GetRetcodeShareUrlResult> GetRetcodeShareUrlOutcome;
typedef std::future<GetRetcodeShareUrlOutcome> GetRetcodeShareUrlOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::GetRetcodeShareUrlRequest&, const GetRetcodeShareUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRetcodeShareUrlAsyncHandler;
typedef Outcome<Error, Model::GetStackResult> GetStackOutcome;
typedef std::future<GetStackOutcome> GetStackOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::GetStackRequest&, const GetStackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetStackAsyncHandler;
typedef Outcome<Error, Model::GetTraceResult> GetTraceOutcome;
typedef std::future<GetTraceOutcome> GetTraceOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::GetTraceRequest&, const GetTraceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTraceAsyncHandler;
@@ -208,6 +235,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SearchTracesResult> SearchTracesOutcome;
typedef std::future<SearchTracesOutcome> SearchTracesOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::SearchTracesRequest&, const SearchTracesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchTracesAsyncHandler;
typedef Outcome<Error, Model::SearchTracesByPageResult> SearchTracesByPageOutcome;
typedef std::future<SearchTracesByPageOutcome> SearchTracesByPageOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::SearchTracesByPageRequest&, const SearchTracesByPageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchTracesByPageAsyncHandler;
typedef Outcome<Error, Model::SetRetcodeShareStatusResult> SetRetcodeShareStatusOutcome;
typedef std::future<SetRetcodeShareStatusOutcome> SetRetcodeShareStatusOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::SetRetcodeShareStatusRequest&, const SetRetcodeShareStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetRetcodeShareStatusAsyncHandler;
@@ -264,15 +294,30 @@ namespace AlibabaCloud
DeleteRetcodeAppOutcome deleteRetcodeApp(const Model::DeleteRetcodeAppRequest &request)const;
void deleteRetcodeAppAsync(const Model::DeleteRetcodeAppRequest& request, const DeleteRetcodeAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteRetcodeAppOutcomeCallable deleteRetcodeAppCallable(const Model::DeleteRetcodeAppRequest& request) const;
DeleteTraceAppOutcome deleteTraceApp(const Model::DeleteTraceAppRequest &request)const;
void deleteTraceAppAsync(const Model::DeleteTraceAppRequest& request, const DeleteTraceAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTraceAppOutcomeCallable deleteTraceAppCallable(const Model::DeleteTraceAppRequest& request) const;
DescribeTraceLicenseKeyOutcome describeTraceLicenseKey(const Model::DescribeTraceLicenseKeyRequest &request)const;
void describeTraceLicenseKeyAsync(const Model::DescribeTraceLicenseKeyRequest& request, const DescribeTraceLicenseKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTraceLicenseKeyOutcomeCallable describeTraceLicenseKeyCallable(const Model::DescribeTraceLicenseKeyRequest& request) const;
DescribeTraceLocationOutcome describeTraceLocation(const Model::DescribeTraceLocationRequest &request)const;
void describeTraceLocationAsync(const Model::DescribeTraceLocationRequest& request, const DescribeTraceLocationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTraceLocationOutcomeCallable describeTraceLocationCallable(const Model::DescribeTraceLocationRequest& request) const;
GetConsistencySnapshotOutcome getConsistencySnapshot(const Model::GetConsistencySnapshotRequest &request)const;
void getConsistencySnapshotAsync(const Model::GetConsistencySnapshotRequest& request, const GetConsistencySnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetConsistencySnapshotOutcomeCallable getConsistencySnapshotCallable(const Model::GetConsistencySnapshotRequest& request) const;
GetMultipleTraceOutcome getMultipleTrace(const Model::GetMultipleTraceRequest &request)const;
void getMultipleTraceAsync(const Model::GetMultipleTraceRequest& request, const GetMultipleTraceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetMultipleTraceOutcomeCallable getMultipleTraceCallable(const Model::GetMultipleTraceRequest& request) const;
GetPrometheusApiTokenOutcome getPrometheusApiToken(const Model::GetPrometheusApiTokenRequest &request)const;
void getPrometheusApiTokenAsync(const Model::GetPrometheusApiTokenRequest& request, const GetPrometheusApiTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPrometheusApiTokenOutcomeCallable getPrometheusApiTokenCallable(const Model::GetPrometheusApiTokenRequest& request) const;
GetRetcodeShareUrlOutcome getRetcodeShareUrl(const Model::GetRetcodeShareUrlRequest &request)const;
void getRetcodeShareUrlAsync(const Model::GetRetcodeShareUrlRequest& request, const GetRetcodeShareUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetRetcodeShareUrlOutcomeCallable getRetcodeShareUrlCallable(const Model::GetRetcodeShareUrlRequest& request) const;
GetStackOutcome getStack(const Model::GetStackRequest &request)const;
void getStackAsync(const Model::GetStackRequest& request, const GetStackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetStackOutcomeCallable getStackCallable(const Model::GetStackRequest& request) const;
GetTraceOutcome getTrace(const Model::GetTraceRequest &request)const;
void getTraceAsync(const Model::GetTraceRequest& request, const GetTraceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTraceOutcomeCallable getTraceCallable(const Model::GetTraceRequest& request) const;
@@ -330,6 +375,9 @@ namespace AlibabaCloud
SearchTracesOutcome searchTraces(const Model::SearchTracesRequest &request)const;
void searchTracesAsync(const Model::SearchTracesRequest& request, const SearchTracesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SearchTracesOutcomeCallable searchTracesCallable(const Model::SearchTracesRequest& request) const;
SearchTracesByPageOutcome searchTracesByPage(const Model::SearchTracesByPageRequest &request)const;
void searchTracesByPageAsync(const Model::SearchTracesByPageRequest& request, const SearchTracesByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SearchTracesByPageOutcomeCallable searchTracesByPageCallable(const Model::SearchTracesByPageRequest& request) const;
SetRetcodeShareStatusOutcome setRetcodeShareStatus(const Model::SetRetcodeShareStatusRequest &request)const;
void setRetcodeShareStatusAsync(const Model::SetRetcodeShareStatusRequest& request, const SetRetcodeShareStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetRetcodeShareStatusOutcomeCallable setRetcodeShareStatusCallable(const Model::SetRetcodeShareStatusRequest& request) const;

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_DELETETRACEAPPREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_DELETETRACEAPPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT DeleteTraceAppRequest : public RpcServiceRequest
{
public:
DeleteTraceAppRequest();
~DeleteTraceAppRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getAppId()const;
void setAppId(const std::string& appId);
std::string getType()const;
void setType(const std::string& type);
private:
std::string regionId_;
std::string appId_;
std::string type_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETETRACEAPPREQUEST_H_

View File

@@ -14,29 +14,29 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATEIPBLOCKRESULT_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATEIPBLOCKRESULT_H_
#ifndef ALIBABACLOUD_ARMS_MODEL_DELETETRACEAPPRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_DELETETRACEAPPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT CreateIPBlockResult : public ServiceResult
class ALIBABACLOUD_ARMS_EXPORT DeleteTraceAppResult : public ServiceResult
{
public:
CreateIPBlockResult();
explicit CreateIPBlockResult(const std::string &payload);
~CreateIPBlockResult();
DeleteTraceAppResult();
explicit DeleteTraceAppResult(const std::string &payload);
~DeleteTraceAppResult();
std::string getData()const;
protected:
@@ -48,4 +48,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATEIPBLOCKRESULT_H_
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETETRACEAPPRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_DESCRIBETRACELICENSEKEYREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_DESCRIBETRACELICENSEKEYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT DescribeTraceLicenseKeyRequest : public RpcServiceRequest
{
public:
DescribeTraceLicenseKeyRequest();
~DescribeTraceLicenseKeyRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_DESCRIBETRACELICENSEKEYREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_DESCRIBETRACELICENSEKEYRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_DESCRIBETRACELICENSEKEYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT DescribeTraceLicenseKeyResult : public ServiceResult
{
public:
DescribeTraceLicenseKeyResult();
explicit DescribeTraceLicenseKeyResult(const std::string &payload);
~DescribeTraceLicenseKeyResult();
std::string getLicenseKey()const;
protected:
void parse(const std::string &payload);
private:
std::string licenseKey_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_DESCRIBETRACELICENSEKEYRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_DESCRIBETRACELOCATIONREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_DESCRIBETRACELOCATIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT DescribeTraceLocationRequest : public RpcServiceRequest
{
public:
DescribeTraceLocationRequest();
~DescribeTraceLocationRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_DESCRIBETRACELOCATIONREQUEST_H_

View File

@@ -0,0 +1,56 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_DESCRIBETRACELOCATIONRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_DESCRIBETRACELOCATIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT DescribeTraceLocationResult : public ServiceResult
{
public:
struct RegionConfig
{
std::string regionNo;
std::string url;
};
DescribeTraceLocationResult();
explicit DescribeTraceLocationResult(const std::string &payload);
~DescribeTraceLocationResult();
std::vector<RegionConfig> getRegionConfigs()const;
protected:
void parse(const std::string &payload);
private:
std::vector<RegionConfig> regionConfigs_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_DESCRIBETRACELOCATIONRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_GETMULTIPLETRACEREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_GETMULTIPLETRACEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT GetMultipleTraceRequest : public RpcServiceRequest
{
public:
GetMultipleTraceRequest();
~GetMultipleTraceRequest();
std::vector<std::string> getTraceIDs()const;
void setTraceIDs(const std::vector<std::string>& traceIDs);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::vector<std::string> traceIDs_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_GETMULTIPLETRACEREQUEST_H_

View File

@@ -0,0 +1,86 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_GETMULTIPLETRACERESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_GETMULTIPLETRACERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT GetMultipleTraceResult : public ServiceResult
{
public:
struct MultiCallChainInfo
{
struct Span
{
struct TagEntry
{
std::string value;
std::string key;
};
struct LogEvent
{
struct TagEntry2
{
std::string value;
std::string key;
};
std::vector<LogEvent::TagEntry2> tagEntryList1;
long timestamp;
};
bool haveStack;
std::string serviceIp;
std::vector<Span::LogEvent> logEventList;
std::string operationName;
std::string serviceName;
std::string rpcId;
int rpcType;
std::string traceID;
long duration;
std::vector<Span::TagEntry> tagEntryList;
long timestamp;
std::string resultCode;
};
std::string traceID;
std::vector<MultiCallChainInfo::Span> spans;
};
GetMultipleTraceResult();
explicit GetMultipleTraceResult(const std::string &payload);
~GetMultipleTraceResult();
std::vector<MultiCallChainInfo> getMultiCallChainInfos()const;
protected:
void parse(const std::string &payload);
private:
std::vector<MultiCallChainInfo> multiCallChainInfos_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_GETMULTIPLETRACERESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_GETSTACKREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_GETSTACKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT GetStackRequest : public RpcServiceRequest
{
public:
GetStackRequest();
~GetStackRequest();
std::string getTraceID()const;
void setTraceID(const std::string& traceID);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getRpcID()const;
void setRpcID(const std::string& rpcID);
private:
std::string traceID_;
std::string regionId_;
std::string rpcID_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_GETSTACKREQUEST_H_

View File

@@ -14,49 +14,54 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBERULEMONITORRESULT_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBERULEMONITORRESULT_H_
#ifndef ALIBABACLOUD_ARMS_MODEL_GETSTACKRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_GETSTACKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeRuleMonitorResult : public ServiceResult
class ALIBABACLOUD_ARMS_EXPORT GetStackResult : public ServiceResult
{
public:
struct Item
struct StackInfoItem
{
std::string antibotWatch;
long pv;
std::string ruleId;
long index;
std::string antibotType;
std::string domain;
struct ExtInfoItem
{
std::string type;
std::string info;
};
std::string line;
std::string serviceName;
std::vector<StackInfoItem::ExtInfoItem> extInfo;
std::string rpcId;
long startTime;
long duration;
std::string api;
std::string exception;
};
DescribeRuleMonitorResult();
explicit DescribeRuleMonitorResult(const std::string &payload);
~DescribeRuleMonitorResult();
int getTotalCount()const;
std::vector<Item> getRuleMonitors()const;
GetStackResult();
explicit GetStackResult(const std::string &payload);
~GetStackResult();
std::vector<StackInfoItem> getStackInfo()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::vector<Item> ruleMonitors_;
std::vector<StackInfoItem> stackInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBERULEMONITORRESULT_H_
#endif // !ALIBABACLOUD_ARMS_MODEL_GETSTACKRESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESBYPAGEREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESBYPAGEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT SearchTracesByPageRequest : public RpcServiceRequest
{
public:
struct ExclusionFilters
{
std::string value;
std::string key;
};
public:
SearchTracesByPageRequest();
~SearchTracesByPageRequest();
long getEndTime()const;
void setEndTime(long endTime);
long getStartTime()const;
void setStartTime(long startTime);
bool getReverse()const;
void setReverse(bool reverse);
long getMinDuration()const;
void setMinDuration(long minDuration);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getServiceIp()const;
void setServiceIp(const std::string& serviceIp);
std::vector<ExclusionFilters> getExclusionFilters()const;
void setExclusionFilters(const std::vector<ExclusionFilters>& exclusionFilters);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getOperationName()const;
void setOperationName(const std::string& operationName);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getServiceName()const;
void setServiceName(const std::string& serviceName);
private:
long endTime_;
long startTime_;
bool reverse_;
long minDuration_;
int pageNumber_;
std::string serviceIp_;
std::vector<ExclusionFilters> exclusionFilters_;
std::string regionId_;
std::string operationName_;
int pageSize_;
std::string serviceName_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESBYPAGEREQUEST_H_

View File

@@ -14,47 +14,54 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEREALPROTECTSUMMARYRESULT_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEREALPROTECTSUMMARYRESULT_H_
#ifndef ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESBYPAGERESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESBYPAGERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeRealProtectSummaryResult : public ServiceResult
class ALIBABACLOUD_ARMS_EXPORT SearchTracesByPageResult : public ServiceResult
{
public:
struct Item
struct PageBean
{
long sdkPv;
long jsinjectPv;
long qps;
long intelligencePv;
long algorithmPv;
long index;
struct TraceInfo
{
std::string serviceIp;
std::string operationName;
std::string serviceName;
std::string traceID;
long duration;
long timestamp;
};
int pageSize;
int pageNumber;
int total;
std::vector<TraceInfo> traceInfos;
};
DescribeRealProtectSummaryResult();
explicit DescribeRealProtectSummaryResult(const std::string &payload);
~DescribeRealProtectSummaryResult();
std::vector<Item> getRealProtectSummarys()const;
SearchTracesByPageResult();
explicit SearchTracesByPageResult(const std::string &payload);
~SearchTracesByPageResult();
PageBean getPageBean()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Item> realProtectSummarys_;
PageBean pageBean_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEREALPROTECTSUMMARYRESULT_H_
#endif // !ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESBYPAGERESULT_H_

View File

@@ -447,6 +447,114 @@ ARMSClient::DeleteRetcodeAppOutcomeCallable ARMSClient::deleteRetcodeAppCallable
return task->get_future();
}
ARMSClient::DeleteTraceAppOutcome ARMSClient::deleteTraceApp(const DeleteTraceAppRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteTraceAppOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteTraceAppOutcome(DeleteTraceAppResult(outcome.result()));
else
return DeleteTraceAppOutcome(outcome.error());
}
void ARMSClient::deleteTraceAppAsync(const DeleteTraceAppRequest& request, const DeleteTraceAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteTraceApp(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::DeleteTraceAppOutcomeCallable ARMSClient::deleteTraceAppCallable(const DeleteTraceAppRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteTraceAppOutcome()>>(
[this, request]()
{
return this->deleteTraceApp(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::DescribeTraceLicenseKeyOutcome ARMSClient::describeTraceLicenseKey(const DescribeTraceLicenseKeyRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeTraceLicenseKeyOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeTraceLicenseKeyOutcome(DescribeTraceLicenseKeyResult(outcome.result()));
else
return DescribeTraceLicenseKeyOutcome(outcome.error());
}
void ARMSClient::describeTraceLicenseKeyAsync(const DescribeTraceLicenseKeyRequest& request, const DescribeTraceLicenseKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeTraceLicenseKey(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::DescribeTraceLicenseKeyOutcomeCallable ARMSClient::describeTraceLicenseKeyCallable(const DescribeTraceLicenseKeyRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeTraceLicenseKeyOutcome()>>(
[this, request]()
{
return this->describeTraceLicenseKey(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::DescribeTraceLocationOutcome ARMSClient::describeTraceLocation(const DescribeTraceLocationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeTraceLocationOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeTraceLocationOutcome(DescribeTraceLocationResult(outcome.result()));
else
return DescribeTraceLocationOutcome(outcome.error());
}
void ARMSClient::describeTraceLocationAsync(const DescribeTraceLocationRequest& request, const DescribeTraceLocationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeTraceLocation(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::DescribeTraceLocationOutcomeCallable ARMSClient::describeTraceLocationCallable(const DescribeTraceLocationRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeTraceLocationOutcome()>>(
[this, request]()
{
return this->describeTraceLocation(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::GetConsistencySnapshotOutcome ARMSClient::getConsistencySnapshot(const GetConsistencySnapshotRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -483,6 +591,42 @@ ARMSClient::GetConsistencySnapshotOutcomeCallable ARMSClient::getConsistencySnap
return task->get_future();
}
ARMSClient::GetMultipleTraceOutcome ARMSClient::getMultipleTrace(const GetMultipleTraceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetMultipleTraceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetMultipleTraceOutcome(GetMultipleTraceResult(outcome.result()));
else
return GetMultipleTraceOutcome(outcome.error());
}
void ARMSClient::getMultipleTraceAsync(const GetMultipleTraceRequest& request, const GetMultipleTraceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getMultipleTrace(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::GetMultipleTraceOutcomeCallable ARMSClient::getMultipleTraceCallable(const GetMultipleTraceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetMultipleTraceOutcome()>>(
[this, request]()
{
return this->getMultipleTrace(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::GetPrometheusApiTokenOutcome ARMSClient::getPrometheusApiToken(const GetPrometheusApiTokenRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -555,6 +699,42 @@ ARMSClient::GetRetcodeShareUrlOutcomeCallable ARMSClient::getRetcodeShareUrlCall
return task->get_future();
}
ARMSClient::GetStackOutcome ARMSClient::getStack(const GetStackRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetStackOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetStackOutcome(GetStackResult(outcome.result()));
else
return GetStackOutcome(outcome.error());
}
void ARMSClient::getStackAsync(const GetStackRequest& request, const GetStackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getStack(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::GetStackOutcomeCallable ARMSClient::getStackCallable(const GetStackRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetStackOutcome()>>(
[this, request]()
{
return this->getStack(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::GetTraceOutcome ARMSClient::getTrace(const GetTraceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1239,6 +1419,42 @@ ARMSClient::SearchTracesOutcomeCallable ARMSClient::searchTracesCallable(const S
return task->get_future();
}
ARMSClient::SearchTracesByPageOutcome ARMSClient::searchTracesByPage(const SearchTracesByPageRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SearchTracesByPageOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SearchTracesByPageOutcome(SearchTracesByPageResult(outcome.result()));
else
return SearchTracesByPageOutcome(outcome.error());
}
void ARMSClient::searchTracesByPageAsync(const SearchTracesByPageRequest& request, const SearchTracesByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, searchTracesByPage(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::SearchTracesByPageOutcomeCallable ARMSClient::searchTracesByPageCallable(const SearchTracesByPageRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SearchTracesByPageOutcome()>>(
[this, request]()
{
return this->searchTracesByPage(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::SetRetcodeShareStatusOutcome ARMSClient::setRetcodeShareStatus(const SetRetcodeShareStatusRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View 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/arms/model/DeleteTraceAppRequest.h>
using AlibabaCloud::ARMS::Model::DeleteTraceAppRequest;
DeleteTraceAppRequest::DeleteTraceAppRequest() :
RpcServiceRequest("arms", "2019-08-08", "DeleteTraceApp")
{
setMethod(HttpRequest::Method::Post);
}
DeleteTraceAppRequest::~DeleteTraceAppRequest()
{}
std::string DeleteTraceAppRequest::getRegionId()const
{
return regionId_;
}
void DeleteTraceAppRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string DeleteTraceAppRequest::getAppId()const
{
return appId_;
}
void DeleteTraceAppRequest::setAppId(const std::string& appId)
{
appId_ = appId;
setParameter("AppId", appId);
}
std::string DeleteTraceAppRequest::getType()const
{
return type_;
}
void DeleteTraceAppRequest::setType(const std::string& type)
{
type_ = type;
setParameter("Type", type);
}

View File

@@ -14,26 +14,26 @@
* limitations under the License.
*/
#include <alibabacloud/waf-openapi/model/CreateIPBlockResult.h>
#include <alibabacloud/arms/model/DeleteTraceAppResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Waf_openapi;
using namespace AlibabaCloud::Waf_openapi::Model;
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
CreateIPBlockResult::CreateIPBlockResult() :
DeleteTraceAppResult::DeleteTraceAppResult() :
ServiceResult()
{}
CreateIPBlockResult::CreateIPBlockResult(const std::string &payload) :
DeleteTraceAppResult::DeleteTraceAppResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateIPBlockResult::~CreateIPBlockResult()
DeleteTraceAppResult::~DeleteTraceAppResult()
{}
void CreateIPBlockResult::parse(const std::string &payload)
void DeleteTraceAppResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
@@ -44,7 +44,7 @@ void CreateIPBlockResult::parse(const std::string &payload)
}
std::string CreateIPBlockResult::getData()const
std::string DeleteTraceAppResult::getData()const
{
return data_;
}

View File

@@ -0,0 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/DescribeTraceLicenseKeyRequest.h>
using AlibabaCloud::ARMS::Model::DescribeTraceLicenseKeyRequest;
DescribeTraceLicenseKeyRequest::DescribeTraceLicenseKeyRequest() :
RpcServiceRequest("arms", "2019-08-08", "DescribeTraceLicenseKey")
{
setMethod(HttpRequest::Method::Post);
}
DescribeTraceLicenseKeyRequest::~DescribeTraceLicenseKeyRequest()
{}
std::string DescribeTraceLicenseKeyRequest::getRegionId()const
{
return regionId_;
}
void DescribeTraceLicenseKeyRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/DescribeTraceLicenseKeyResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
DescribeTraceLicenseKeyResult::DescribeTraceLicenseKeyResult() :
ServiceResult()
{}
DescribeTraceLicenseKeyResult::DescribeTraceLicenseKeyResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeTraceLicenseKeyResult::~DescribeTraceLicenseKeyResult()
{}
void DescribeTraceLicenseKeyResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["LicenseKey"].isNull())
licenseKey_ = value["LicenseKey"].asString();
}
std::string DescribeTraceLicenseKeyResult::getLicenseKey()const
{
return licenseKey_;
}

View File

@@ -0,0 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/DescribeTraceLocationRequest.h>
using AlibabaCloud::ARMS::Model::DescribeTraceLocationRequest;
DescribeTraceLocationRequest::DescribeTraceLocationRequest() :
RpcServiceRequest("arms", "2019-08-08", "DescribeTraceLocation")
{
setMethod(HttpRequest::Method::Post);
}
DescribeTraceLocationRequest::~DescribeTraceLocationRequest()
{}
std::string DescribeTraceLocationRequest::getRegionId()const
{
return regionId_;
}
void DescribeTraceLocationRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/DescribeTraceLocationResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
DescribeTraceLocationResult::DescribeTraceLocationResult() :
ServiceResult()
{}
DescribeTraceLocationResult::DescribeTraceLocationResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeTraceLocationResult::~DescribeTraceLocationResult()
{}
void DescribeTraceLocationResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allRegionConfigsNode = value["RegionConfigs"]["RegionConfig"];
for (auto valueRegionConfigsRegionConfig : allRegionConfigsNode)
{
RegionConfig regionConfigsObject;
if(!valueRegionConfigsRegionConfig["RegionNo"].isNull())
regionConfigsObject.regionNo = valueRegionConfigsRegionConfig["RegionNo"].asString();
if(!valueRegionConfigsRegionConfig["Url"].isNull())
regionConfigsObject.url = valueRegionConfigsRegionConfig["Url"].asString();
regionConfigs_.push_back(regionConfigsObject);
}
}
std::vector<DescribeTraceLocationResult::RegionConfig> DescribeTraceLocationResult::getRegionConfigs()const
{
return regionConfigs_;
}

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/GetMultipleTraceRequest.h>
using AlibabaCloud::ARMS::Model::GetMultipleTraceRequest;
GetMultipleTraceRequest::GetMultipleTraceRequest() :
RpcServiceRequest("arms", "2019-08-08", "GetMultipleTrace")
{
setMethod(HttpRequest::Method::Post);
}
GetMultipleTraceRequest::~GetMultipleTraceRequest()
{}
std::vector<std::string> GetMultipleTraceRequest::getTraceIDs()const
{
return traceIDs_;
}
void GetMultipleTraceRequest::setTraceIDs(const std::vector<std::string>& traceIDs)
{
traceIDs_ = traceIDs;
for(int dep1 = 0; dep1!= traceIDs.size(); dep1++) {
setParameter("TraceIDs."+ std::to_string(dep1), traceIDs.at(dep1));
}
}
std::string GetMultipleTraceRequest::getRegionId()const
{
return regionId_;
}
void GetMultipleTraceRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

View File

@@ -0,0 +1,111 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/arms/model/GetMultipleTraceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
GetMultipleTraceResult::GetMultipleTraceResult() :
ServiceResult()
{}
GetMultipleTraceResult::GetMultipleTraceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetMultipleTraceResult::~GetMultipleTraceResult()
{}
void GetMultipleTraceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allMultiCallChainInfosNode = value["MultiCallChainInfos"]["MultiCallChainInfo"];
for (auto valueMultiCallChainInfosMultiCallChainInfo : allMultiCallChainInfosNode)
{
MultiCallChainInfo multiCallChainInfosObject;
if(!valueMultiCallChainInfosMultiCallChainInfo["TraceID"].isNull())
multiCallChainInfosObject.traceID = valueMultiCallChainInfosMultiCallChainInfo["TraceID"].asString();
auto allSpansNode = allMultiCallChainInfosNode["Spans"]["Span"];
for (auto allMultiCallChainInfosNodeSpansSpan : allSpansNode)
{
MultiCallChainInfo::Span spansObject;
if(!allMultiCallChainInfosNodeSpansSpan["TraceID"].isNull())
spansObject.traceID = allMultiCallChainInfosNodeSpansSpan["TraceID"].asString();
if(!allMultiCallChainInfosNodeSpansSpan["OperationName"].isNull())
spansObject.operationName = allMultiCallChainInfosNodeSpansSpan["OperationName"].asString();
if(!allMultiCallChainInfosNodeSpansSpan["Duration"].isNull())
spansObject.duration = std::stol(allMultiCallChainInfosNodeSpansSpan["Duration"].asString());
if(!allMultiCallChainInfosNodeSpansSpan["ServiceName"].isNull())
spansObject.serviceName = allMultiCallChainInfosNodeSpansSpan["ServiceName"].asString();
if(!allMultiCallChainInfosNodeSpansSpan["ServiceIp"].isNull())
spansObject.serviceIp = allMultiCallChainInfosNodeSpansSpan["ServiceIp"].asString();
if(!allMultiCallChainInfosNodeSpansSpan["Timestamp"].isNull())
spansObject.timestamp = std::stol(allMultiCallChainInfosNodeSpansSpan["Timestamp"].asString());
if(!allMultiCallChainInfosNodeSpansSpan["RpcId"].isNull())
spansObject.rpcId = allMultiCallChainInfosNodeSpansSpan["RpcId"].asString();
if(!allMultiCallChainInfosNodeSpansSpan["ResultCode"].isNull())
spansObject.resultCode = allMultiCallChainInfosNodeSpansSpan["ResultCode"].asString();
if(!allMultiCallChainInfosNodeSpansSpan["HaveStack"].isNull())
spansObject.haveStack = allMultiCallChainInfosNodeSpansSpan["HaveStack"].asString() == "true";
if(!allMultiCallChainInfosNodeSpansSpan["RpcType"].isNull())
spansObject.rpcType = std::stoi(allMultiCallChainInfosNodeSpansSpan["RpcType"].asString());
auto allTagEntryListNode = allSpansNode["TagEntryList"]["TagEntry"];
for (auto allSpansNodeTagEntryListTagEntry : allTagEntryListNode)
{
MultiCallChainInfo::Span::TagEntry tagEntryListObject;
if(!allSpansNodeTagEntryListTagEntry["Key"].isNull())
tagEntryListObject.key = allSpansNodeTagEntryListTagEntry["Key"].asString();
if(!allSpansNodeTagEntryListTagEntry["Value"].isNull())
tagEntryListObject.value = allSpansNodeTagEntryListTagEntry["Value"].asString();
spansObject.tagEntryList.push_back(tagEntryListObject);
}
auto allLogEventListNode = allSpansNode["LogEventList"]["LogEvent"];
for (auto allSpansNodeLogEventListLogEvent : allLogEventListNode)
{
MultiCallChainInfo::Span::LogEvent logEventListObject;
if(!allSpansNodeLogEventListLogEvent["Timestamp"].isNull())
logEventListObject.timestamp = std::stol(allSpansNodeLogEventListLogEvent["Timestamp"].asString());
auto allTagEntryList1Node = allLogEventListNode["TagEntryList"]["TagEntry"];
for (auto allLogEventListNodeTagEntryListTagEntry : allTagEntryList1Node)
{
MultiCallChainInfo::Span::LogEvent::TagEntry2 tagEntryList1Object;
if(!allLogEventListNodeTagEntryListTagEntry["Key"].isNull())
tagEntryList1Object.key = allLogEventListNodeTagEntryListTagEntry["Key"].asString();
if(!allLogEventListNodeTagEntryListTagEntry["Value"].isNull())
tagEntryList1Object.value = allLogEventListNodeTagEntryListTagEntry["Value"].asString();
logEventListObject.tagEntryList1.push_back(tagEntryList1Object);
}
spansObject.logEventList.push_back(logEventListObject);
}
multiCallChainInfosObject.spans.push_back(spansObject);
}
multiCallChainInfos_.push_back(multiCallChainInfosObject);
}
}
std::vector<GetMultipleTraceResult::MultiCallChainInfo> GetMultipleTraceResult::getMultiCallChainInfos()const
{
return multiCallChainInfos_;
}

View 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/arms/model/GetStackRequest.h>
using AlibabaCloud::ARMS::Model::GetStackRequest;
GetStackRequest::GetStackRequest() :
RpcServiceRequest("arms", "2019-08-08", "GetStack")
{
setMethod(HttpRequest::Method::Post);
}
GetStackRequest::~GetStackRequest()
{}
std::string GetStackRequest::getTraceID()const
{
return traceID_;
}
void GetStackRequest::setTraceID(const std::string& traceID)
{
traceID_ = traceID;
setParameter("TraceID", traceID);
}
std::string GetStackRequest::getRegionId()const
{
return regionId_;
}
void GetStackRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string GetStackRequest::getRpcID()const
{
return rpcID_;
}
void GetStackRequest::setRpcID(const std::string& rpcID)
{
rpcID_ = rpcID;
setParameter("RpcID", rpcID);
}

View File

@@ -0,0 +1,79 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/GetStackResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
GetStackResult::GetStackResult() :
ServiceResult()
{}
GetStackResult::GetStackResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetStackResult::~GetStackResult()
{}
void GetStackResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allStackInfoNode = value["StackInfo"]["StackInfoItem"];
for (auto valueStackInfoStackInfoItem : allStackInfoNode)
{
StackInfoItem stackInfoObject;
if(!valueStackInfoStackInfoItem["StartTime"].isNull())
stackInfoObject.startTime = std::stol(valueStackInfoStackInfoItem["StartTime"].asString());
if(!valueStackInfoStackInfoItem["Duration"].isNull())
stackInfoObject.duration = std::stol(valueStackInfoStackInfoItem["Duration"].asString());
if(!valueStackInfoStackInfoItem["RpcId"].isNull())
stackInfoObject.rpcId = valueStackInfoStackInfoItem["RpcId"].asString();
if(!valueStackInfoStackInfoItem["ServiceName"].isNull())
stackInfoObject.serviceName = valueStackInfoStackInfoItem["ServiceName"].asString();
if(!valueStackInfoStackInfoItem["Api"].isNull())
stackInfoObject.api = valueStackInfoStackInfoItem["Api"].asString();
if(!valueStackInfoStackInfoItem["Exception"].isNull())
stackInfoObject.exception = valueStackInfoStackInfoItem["Exception"].asString();
if(!valueStackInfoStackInfoItem["Line"].isNull())
stackInfoObject.line = valueStackInfoStackInfoItem["Line"].asString();
auto allExtInfoNode = allStackInfoNode["ExtInfo"]["ExtInfoItem"];
for (auto allStackInfoNodeExtInfoExtInfoItem : allExtInfoNode)
{
StackInfoItem::ExtInfoItem extInfoObject;
if(!allStackInfoNodeExtInfoExtInfoItem["Type"].isNull())
extInfoObject.type = allStackInfoNodeExtInfoExtInfoItem["Type"].asString();
if(!allStackInfoNodeExtInfoExtInfoItem["Info"].isNull())
extInfoObject.info = allStackInfoNodeExtInfoExtInfoItem["Info"].asString();
stackInfoObject.extInfo.push_back(extInfoObject);
}
stackInfo_.push_back(stackInfoObject);
}
}
std::vector<GetStackResult::StackInfoItem> GetStackResult::getStackInfo()const
{
return stackInfo_;
}

View File

@@ -0,0 +1,155 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/arms/model/SearchTracesByPageRequest.h>
using AlibabaCloud::ARMS::Model::SearchTracesByPageRequest;
SearchTracesByPageRequest::SearchTracesByPageRequest() :
RpcServiceRequest("arms", "2019-08-08", "SearchTracesByPage")
{
setMethod(HttpRequest::Method::Post);
}
SearchTracesByPageRequest::~SearchTracesByPageRequest()
{}
long SearchTracesByPageRequest::getEndTime()const
{
return endTime_;
}
void SearchTracesByPageRequest::setEndTime(long endTime)
{
endTime_ = endTime;
setParameter("EndTime", std::to_string(endTime));
}
long SearchTracesByPageRequest::getStartTime()const
{
return startTime_;
}
void SearchTracesByPageRequest::setStartTime(long startTime)
{
startTime_ = startTime;
setParameter("StartTime", std::to_string(startTime));
}
bool SearchTracesByPageRequest::getReverse()const
{
return reverse_;
}
void SearchTracesByPageRequest::setReverse(bool reverse)
{
reverse_ = reverse;
setParameter("Reverse", reverse ? "true" : "false");
}
long SearchTracesByPageRequest::getMinDuration()const
{
return minDuration_;
}
void SearchTracesByPageRequest::setMinDuration(long minDuration)
{
minDuration_ = minDuration;
setParameter("MinDuration", std::to_string(minDuration));
}
int SearchTracesByPageRequest::getPageNumber()const
{
return pageNumber_;
}
void SearchTracesByPageRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string SearchTracesByPageRequest::getServiceIp()const
{
return serviceIp_;
}
void SearchTracesByPageRequest::setServiceIp(const std::string& serviceIp)
{
serviceIp_ = serviceIp;
setParameter("ServiceIp", serviceIp);
}
std::vector<SearchTracesByPageRequest::ExclusionFilters> SearchTracesByPageRequest::getExclusionFilters()const
{
return exclusionFilters_;
}
void SearchTracesByPageRequest::setExclusionFilters(const std::vector<ExclusionFilters>& exclusionFilters)
{
exclusionFilters_ = exclusionFilters;
for(int dep1 = 0; dep1!= exclusionFilters.size(); dep1++) {
auto exclusionFiltersObj = exclusionFilters.at(dep1);
std::string exclusionFiltersObjStr = "ExclusionFilters." + std::to_string(dep1 + 1);
setParameter(exclusionFiltersObjStr + ".Value", exclusionFiltersObj.value);
setParameter(exclusionFiltersObjStr + ".Key", exclusionFiltersObj.key);
}
}
std::string SearchTracesByPageRequest::getRegionId()const
{
return regionId_;
}
void SearchTracesByPageRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string SearchTracesByPageRequest::getOperationName()const
{
return operationName_;
}
void SearchTracesByPageRequest::setOperationName(const std::string& operationName)
{
operationName_ = operationName;
setParameter("OperationName", operationName);
}
int SearchTracesByPageRequest::getPageSize()const
{
return pageSize_;
}
void SearchTracesByPageRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string SearchTracesByPageRequest::getServiceName()const
{
return serviceName_;
}
void SearchTracesByPageRequest::setServiceName(const std::string& serviceName)
{
serviceName_ = serviceName;
setParameter("ServiceName", serviceName);
}

View 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/arms/model/SearchTracesByPageResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
SearchTracesByPageResult::SearchTracesByPageResult() :
ServiceResult()
{}
SearchTracesByPageResult::SearchTracesByPageResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SearchTracesByPageResult::~SearchTracesByPageResult()
{}
void SearchTracesByPageResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto pageBeanNode = value["PageBean"];
if(!pageBeanNode["Total"].isNull())
pageBean_.total = std::stoi(pageBeanNode["Total"].asString());
if(!pageBeanNode["PageNumber"].isNull())
pageBean_.pageNumber = std::stoi(pageBeanNode["PageNumber"].asString());
if(!pageBeanNode["PageSize"].isNull())
pageBean_.pageSize = std::stoi(pageBeanNode["PageSize"].asString());
auto allTraceInfosNode = pageBeanNode["TraceInfos"]["TraceInfo"];
for (auto pageBeanNodeTraceInfosTraceInfo : allTraceInfosNode)
{
PageBean::TraceInfo traceInfoObject;
if(!pageBeanNodeTraceInfosTraceInfo["TraceID"].isNull())
traceInfoObject.traceID = pageBeanNodeTraceInfosTraceInfo["TraceID"].asString();
if(!pageBeanNodeTraceInfosTraceInfo["OperationName"].isNull())
traceInfoObject.operationName = pageBeanNodeTraceInfosTraceInfo["OperationName"].asString();
if(!pageBeanNodeTraceInfosTraceInfo["ServiceName"].isNull())
traceInfoObject.serviceName = pageBeanNodeTraceInfosTraceInfo["ServiceName"].asString();
if(!pageBeanNodeTraceInfosTraceInfo["ServiceIp"].isNull())
traceInfoObject.serviceIp = pageBeanNodeTraceInfosTraceInfo["ServiceIp"].asString();
if(!pageBeanNodeTraceInfosTraceInfo["Duration"].isNull())
traceInfoObject.duration = std::stol(pageBeanNodeTraceInfosTraceInfo["Duration"].asString());
if(!pageBeanNodeTraceInfosTraceInfo["Timestamp"].isNull())
traceInfoObject.timestamp = std::stol(pageBeanNodeTraceInfosTraceInfo["Timestamp"].asString());
pageBean_.traceInfos.push_back(traceInfoObject);
}
}
SearchTracesByPageResult::PageBean SearchTracesByPageResult::getPageBean()const
{
return pageBean_;
}

View File

@@ -31,10 +31,14 @@ set(domain_public_header_model
include/alibabacloud/domain/model/BidDomainResult.h
include/alibabacloud/domain/model/CancelDomainVerificationRequest.h
include/alibabacloud/domain/model/CancelDomainVerificationResult.h
include/alibabacloud/domain/model/CancelOperationAuditRequest.h
include/alibabacloud/domain/model/CancelOperationAuditResult.h
include/alibabacloud/domain/model/CancelQualificationVerificationRequest.h
include/alibabacloud/domain/model/CancelQualificationVerificationResult.h
include/alibabacloud/domain/model/CancelTaskRequest.h
include/alibabacloud/domain/model/CancelTaskResult.h
include/alibabacloud/domain/model/ChangeAuctionRequest.h
include/alibabacloud/domain/model/ChangeAuctionResult.h
include/alibabacloud/domain/model/CheckDomainRequest.h
include/alibabacloud/domain/model/CheckDomainResult.h
include/alibabacloud/domain/model/CheckDomainSunriseClaimRequest.h
@@ -61,6 +65,8 @@ set(domain_public_header_model
include/alibabacloud/domain/model/FinishDemandResult.h
include/alibabacloud/domain/model/FuzzyMatchDomainSensitiveWordRequest.h
include/alibabacloud/domain/model/FuzzyMatchDomainSensitiveWordResult.h
include/alibabacloud/domain/model/GetOperationOssUploadPolicyRequest.h
include/alibabacloud/domain/model/GetOperationOssUploadPolicyResult.h
include/alibabacloud/domain/model/GetQualificationUploadPolicyRequest.h
include/alibabacloud/domain/model/GetQualificationUploadPolicyResult.h
include/alibabacloud/domain/model/GetReserveDomainUrlRequest.h
@@ -111,6 +117,8 @@ set(domain_public_header_model
include/alibabacloud/domain/model/QueryDomainRealNameVerificationInfoResult.h
include/alibabacloud/domain/model/QueryDomainSuffixRequest.h
include/alibabacloud/domain/model/QueryDomainSuffixResult.h
include/alibabacloud/domain/model/QueryDomainTransferStatusRequest.h
include/alibabacloud/domain/model/QueryDomainTransferStatusResult.h
include/alibabacloud/domain/model/QueryEmailVerificationRequest.h
include/alibabacloud/domain/model/QueryEmailVerificationResult.h
include/alibabacloud/domain/model/QueryEnsAssociationRequest.h
@@ -123,6 +131,10 @@ set(domain_public_header_model
include/alibabacloud/domain/model/QueryFailingReasonListForQualificationResult.h
include/alibabacloud/domain/model/QueryLocalEnsAssociationRequest.h
include/alibabacloud/domain/model/QueryLocalEnsAssociationResult.h
include/alibabacloud/domain/model/QueryOperationAuditInfoDetailRequest.h
include/alibabacloud/domain/model/QueryOperationAuditInfoDetailResult.h
include/alibabacloud/domain/model/QueryOperationAuditInfoListRequest.h
include/alibabacloud/domain/model/QueryOperationAuditInfoListResult.h
include/alibabacloud/domain/model/QueryQualificationDetailRequest.h
include/alibabacloud/domain/model/QueryQualificationDetailResult.h
include/alibabacloud/domain/model/QueryRegistrantProfileRealNameVerificationInfoRequest.h
@@ -245,6 +257,10 @@ set(domain_public_header_model
include/alibabacloud/domain/model/ScrollDomainListResult.h
include/alibabacloud/domain/model/SubmitEmailVerificationRequest.h
include/alibabacloud/domain/model/SubmitEmailVerificationResult.h
include/alibabacloud/domain/model/SubmitOperationAuditInfoRequest.h
include/alibabacloud/domain/model/SubmitOperationAuditInfoResult.h
include/alibabacloud/domain/model/SubmitOperationCredentialsRequest.h
include/alibabacloud/domain/model/SubmitOperationCredentialsResult.h
include/alibabacloud/domain/model/TransferInCheckMailTokenRequest.h
include/alibabacloud/domain/model/TransferInCheckMailTokenResult.h
include/alibabacloud/domain/model/TransferInReenterTransferAuthorizationCodeRequest.h
@@ -272,10 +288,14 @@ set(domain_src
src/model/BidDomainResult.cc
src/model/CancelDomainVerificationRequest.cc
src/model/CancelDomainVerificationResult.cc
src/model/CancelOperationAuditRequest.cc
src/model/CancelOperationAuditResult.cc
src/model/CancelQualificationVerificationRequest.cc
src/model/CancelQualificationVerificationResult.cc
src/model/CancelTaskRequest.cc
src/model/CancelTaskResult.cc
src/model/ChangeAuctionRequest.cc
src/model/ChangeAuctionResult.cc
src/model/CheckDomainRequest.cc
src/model/CheckDomainResult.cc
src/model/CheckDomainSunriseClaimRequest.cc
@@ -302,6 +322,8 @@ set(domain_src
src/model/FinishDemandResult.cc
src/model/FuzzyMatchDomainSensitiveWordRequest.cc
src/model/FuzzyMatchDomainSensitiveWordResult.cc
src/model/GetOperationOssUploadPolicyRequest.cc
src/model/GetOperationOssUploadPolicyResult.cc
src/model/GetQualificationUploadPolicyRequest.cc
src/model/GetQualificationUploadPolicyResult.cc
src/model/GetReserveDomainUrlRequest.cc
@@ -352,6 +374,8 @@ set(domain_src
src/model/QueryDomainRealNameVerificationInfoResult.cc
src/model/QueryDomainSuffixRequest.cc
src/model/QueryDomainSuffixResult.cc
src/model/QueryDomainTransferStatusRequest.cc
src/model/QueryDomainTransferStatusResult.cc
src/model/QueryEmailVerificationRequest.cc
src/model/QueryEmailVerificationResult.cc
src/model/QueryEnsAssociationRequest.cc
@@ -364,6 +388,10 @@ set(domain_src
src/model/QueryFailingReasonListForQualificationResult.cc
src/model/QueryLocalEnsAssociationRequest.cc
src/model/QueryLocalEnsAssociationResult.cc
src/model/QueryOperationAuditInfoDetailRequest.cc
src/model/QueryOperationAuditInfoDetailResult.cc
src/model/QueryOperationAuditInfoListRequest.cc
src/model/QueryOperationAuditInfoListResult.cc
src/model/QueryQualificationDetailRequest.cc
src/model/QueryQualificationDetailResult.cc
src/model/QueryRegistrantProfileRealNameVerificationInfoRequest.cc
@@ -486,6 +514,10 @@ set(domain_src
src/model/ScrollDomainListResult.cc
src/model/SubmitEmailVerificationRequest.cc
src/model/SubmitEmailVerificationResult.cc
src/model/SubmitOperationAuditInfoRequest.cc
src/model/SubmitOperationAuditInfoResult.cc
src/model/SubmitOperationCredentialsRequest.cc
src/model/SubmitOperationCredentialsResult.cc
src/model/TransferInCheckMailTokenRequest.cc
src/model/TransferInCheckMailTokenResult.cc
src/model/TransferInReenterTransferAuthorizationCodeRequest.cc

View File

@@ -32,10 +32,14 @@
#include "model/BidDomainResult.h"
#include "model/CancelDomainVerificationRequest.h"
#include "model/CancelDomainVerificationResult.h"
#include "model/CancelOperationAuditRequest.h"
#include "model/CancelOperationAuditResult.h"
#include "model/CancelQualificationVerificationRequest.h"
#include "model/CancelQualificationVerificationResult.h"
#include "model/CancelTaskRequest.h"
#include "model/CancelTaskResult.h"
#include "model/ChangeAuctionRequest.h"
#include "model/ChangeAuctionResult.h"
#include "model/CheckDomainRequest.h"
#include "model/CheckDomainResult.h"
#include "model/CheckDomainSunriseClaimRequest.h"
@@ -62,6 +66,8 @@
#include "model/FinishDemandResult.h"
#include "model/FuzzyMatchDomainSensitiveWordRequest.h"
#include "model/FuzzyMatchDomainSensitiveWordResult.h"
#include "model/GetOperationOssUploadPolicyRequest.h"
#include "model/GetOperationOssUploadPolicyResult.h"
#include "model/GetQualificationUploadPolicyRequest.h"
#include "model/GetQualificationUploadPolicyResult.h"
#include "model/GetReserveDomainUrlRequest.h"
@@ -112,6 +118,8 @@
#include "model/QueryDomainRealNameVerificationInfoResult.h"
#include "model/QueryDomainSuffixRequest.h"
#include "model/QueryDomainSuffixResult.h"
#include "model/QueryDomainTransferStatusRequest.h"
#include "model/QueryDomainTransferStatusResult.h"
#include "model/QueryEmailVerificationRequest.h"
#include "model/QueryEmailVerificationResult.h"
#include "model/QueryEnsAssociationRequest.h"
@@ -124,6 +132,10 @@
#include "model/QueryFailingReasonListForQualificationResult.h"
#include "model/QueryLocalEnsAssociationRequest.h"
#include "model/QueryLocalEnsAssociationResult.h"
#include "model/QueryOperationAuditInfoDetailRequest.h"
#include "model/QueryOperationAuditInfoDetailResult.h"
#include "model/QueryOperationAuditInfoListRequest.h"
#include "model/QueryOperationAuditInfoListResult.h"
#include "model/QueryQualificationDetailRequest.h"
#include "model/QueryQualificationDetailResult.h"
#include "model/QueryRegistrantProfileRealNameVerificationInfoRequest.h"
@@ -246,6 +258,10 @@
#include "model/ScrollDomainListResult.h"
#include "model/SubmitEmailVerificationRequest.h"
#include "model/SubmitEmailVerificationResult.h"
#include "model/SubmitOperationAuditInfoRequest.h"
#include "model/SubmitOperationAuditInfoResult.h"
#include "model/SubmitOperationCredentialsRequest.h"
#include "model/SubmitOperationCredentialsResult.h"
#include "model/TransferInCheckMailTokenRequest.h"
#include "model/TransferInCheckMailTokenResult.h"
#include "model/TransferInReenterTransferAuthorizationCodeRequest.h"
@@ -284,12 +300,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CancelDomainVerificationResult> CancelDomainVerificationOutcome;
typedef std::future<CancelDomainVerificationOutcome> CancelDomainVerificationOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::CancelDomainVerificationRequest&, const CancelDomainVerificationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelDomainVerificationAsyncHandler;
typedef Outcome<Error, Model::CancelOperationAuditResult> CancelOperationAuditOutcome;
typedef std::future<CancelOperationAuditOutcome> CancelOperationAuditOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::CancelOperationAuditRequest&, const CancelOperationAuditOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelOperationAuditAsyncHandler;
typedef Outcome<Error, Model::CancelQualificationVerificationResult> CancelQualificationVerificationOutcome;
typedef std::future<CancelQualificationVerificationOutcome> CancelQualificationVerificationOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::CancelQualificationVerificationRequest&, const CancelQualificationVerificationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelQualificationVerificationAsyncHandler;
typedef Outcome<Error, Model::CancelTaskResult> CancelTaskOutcome;
typedef std::future<CancelTaskOutcome> CancelTaskOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::CancelTaskRequest&, const CancelTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelTaskAsyncHandler;
typedef Outcome<Error, Model::ChangeAuctionResult> ChangeAuctionOutcome;
typedef std::future<ChangeAuctionOutcome> ChangeAuctionOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::ChangeAuctionRequest&, const ChangeAuctionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeAuctionAsyncHandler;
typedef Outcome<Error, Model::CheckDomainResult> CheckDomainOutcome;
typedef std::future<CheckDomainOutcome> CheckDomainOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::CheckDomainRequest&, const CheckDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckDomainAsyncHandler;
@@ -329,6 +351,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::FuzzyMatchDomainSensitiveWordResult> FuzzyMatchDomainSensitiveWordOutcome;
typedef std::future<FuzzyMatchDomainSensitiveWordOutcome> FuzzyMatchDomainSensitiveWordOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::FuzzyMatchDomainSensitiveWordRequest&, const FuzzyMatchDomainSensitiveWordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FuzzyMatchDomainSensitiveWordAsyncHandler;
typedef Outcome<Error, Model::GetOperationOssUploadPolicyResult> GetOperationOssUploadPolicyOutcome;
typedef std::future<GetOperationOssUploadPolicyOutcome> GetOperationOssUploadPolicyOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::GetOperationOssUploadPolicyRequest&, const GetOperationOssUploadPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetOperationOssUploadPolicyAsyncHandler;
typedef Outcome<Error, Model::GetQualificationUploadPolicyResult> GetQualificationUploadPolicyOutcome;
typedef std::future<GetQualificationUploadPolicyOutcome> GetQualificationUploadPolicyOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::GetQualificationUploadPolicyRequest&, const GetQualificationUploadPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetQualificationUploadPolicyAsyncHandler;
@@ -404,6 +429,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryDomainSuffixResult> QueryDomainSuffixOutcome;
typedef std::future<QueryDomainSuffixOutcome> QueryDomainSuffixOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::QueryDomainSuffixRequest&, const QueryDomainSuffixOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDomainSuffixAsyncHandler;
typedef Outcome<Error, Model::QueryDomainTransferStatusResult> QueryDomainTransferStatusOutcome;
typedef std::future<QueryDomainTransferStatusOutcome> QueryDomainTransferStatusOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::QueryDomainTransferStatusRequest&, const QueryDomainTransferStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDomainTransferStatusAsyncHandler;
typedef Outcome<Error, Model::QueryEmailVerificationResult> QueryEmailVerificationOutcome;
typedef std::future<QueryEmailVerificationOutcome> QueryEmailVerificationOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::QueryEmailVerificationRequest&, const QueryEmailVerificationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryEmailVerificationAsyncHandler;
@@ -422,6 +450,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryLocalEnsAssociationResult> QueryLocalEnsAssociationOutcome;
typedef std::future<QueryLocalEnsAssociationOutcome> QueryLocalEnsAssociationOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::QueryLocalEnsAssociationRequest&, const QueryLocalEnsAssociationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryLocalEnsAssociationAsyncHandler;
typedef Outcome<Error, Model::QueryOperationAuditInfoDetailResult> QueryOperationAuditInfoDetailOutcome;
typedef std::future<QueryOperationAuditInfoDetailOutcome> QueryOperationAuditInfoDetailOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::QueryOperationAuditInfoDetailRequest&, const QueryOperationAuditInfoDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryOperationAuditInfoDetailAsyncHandler;
typedef Outcome<Error, Model::QueryOperationAuditInfoListResult> QueryOperationAuditInfoListOutcome;
typedef std::future<QueryOperationAuditInfoListOutcome> QueryOperationAuditInfoListOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::QueryOperationAuditInfoListRequest&, const QueryOperationAuditInfoListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryOperationAuditInfoListAsyncHandler;
typedef Outcome<Error, Model::QueryQualificationDetailResult> QueryQualificationDetailOutcome;
typedef std::future<QueryQualificationDetailOutcome> QueryQualificationDetailOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::QueryQualificationDetailRequest&, const QueryQualificationDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryQualificationDetailAsyncHandler;
@@ -605,6 +639,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SubmitEmailVerificationResult> SubmitEmailVerificationOutcome;
typedef std::future<SubmitEmailVerificationOutcome> SubmitEmailVerificationOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::SubmitEmailVerificationRequest&, const SubmitEmailVerificationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitEmailVerificationAsyncHandler;
typedef Outcome<Error, Model::SubmitOperationAuditInfoResult> SubmitOperationAuditInfoOutcome;
typedef std::future<SubmitOperationAuditInfoOutcome> SubmitOperationAuditInfoOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::SubmitOperationAuditInfoRequest&, const SubmitOperationAuditInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitOperationAuditInfoAsyncHandler;
typedef Outcome<Error, Model::SubmitOperationCredentialsResult> SubmitOperationCredentialsOutcome;
typedef std::future<SubmitOperationCredentialsOutcome> SubmitOperationCredentialsOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::SubmitOperationCredentialsRequest&, const SubmitOperationCredentialsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitOperationCredentialsAsyncHandler;
typedef Outcome<Error, Model::TransferInCheckMailTokenResult> TransferInCheckMailTokenOutcome;
typedef std::future<TransferInCheckMailTokenOutcome> TransferInCheckMailTokenOutcomeCallable;
typedef std::function<void(const DomainClient*, const Model::TransferInCheckMailTokenRequest&, const TransferInCheckMailTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TransferInCheckMailTokenAsyncHandler;
@@ -646,12 +686,18 @@ namespace AlibabaCloud
CancelDomainVerificationOutcome cancelDomainVerification(const Model::CancelDomainVerificationRequest &request)const;
void cancelDomainVerificationAsync(const Model::CancelDomainVerificationRequest& request, const CancelDomainVerificationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CancelDomainVerificationOutcomeCallable cancelDomainVerificationCallable(const Model::CancelDomainVerificationRequest& request) const;
CancelOperationAuditOutcome cancelOperationAudit(const Model::CancelOperationAuditRequest &request)const;
void cancelOperationAuditAsync(const Model::CancelOperationAuditRequest& request, const CancelOperationAuditAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CancelOperationAuditOutcomeCallable cancelOperationAuditCallable(const Model::CancelOperationAuditRequest& request) const;
CancelQualificationVerificationOutcome cancelQualificationVerification(const Model::CancelQualificationVerificationRequest &request)const;
void cancelQualificationVerificationAsync(const Model::CancelQualificationVerificationRequest& request, const CancelQualificationVerificationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CancelQualificationVerificationOutcomeCallable cancelQualificationVerificationCallable(const Model::CancelQualificationVerificationRequest& request) const;
CancelTaskOutcome cancelTask(const Model::CancelTaskRequest &request)const;
void cancelTaskAsync(const Model::CancelTaskRequest& request, const CancelTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CancelTaskOutcomeCallable cancelTaskCallable(const Model::CancelTaskRequest& request) const;
ChangeAuctionOutcome changeAuction(const Model::ChangeAuctionRequest &request)const;
void changeAuctionAsync(const Model::ChangeAuctionRequest& request, const ChangeAuctionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ChangeAuctionOutcomeCallable changeAuctionCallable(const Model::ChangeAuctionRequest& request) const;
CheckDomainOutcome checkDomain(const Model::CheckDomainRequest &request)const;
void checkDomainAsync(const Model::CheckDomainRequest& request, const CheckDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CheckDomainOutcomeCallable checkDomainCallable(const Model::CheckDomainRequest& request) const;
@@ -691,6 +737,9 @@ namespace AlibabaCloud
FuzzyMatchDomainSensitiveWordOutcome fuzzyMatchDomainSensitiveWord(const Model::FuzzyMatchDomainSensitiveWordRequest &request)const;
void fuzzyMatchDomainSensitiveWordAsync(const Model::FuzzyMatchDomainSensitiveWordRequest& request, const FuzzyMatchDomainSensitiveWordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FuzzyMatchDomainSensitiveWordOutcomeCallable fuzzyMatchDomainSensitiveWordCallable(const Model::FuzzyMatchDomainSensitiveWordRequest& request) const;
GetOperationOssUploadPolicyOutcome getOperationOssUploadPolicy(const Model::GetOperationOssUploadPolicyRequest &request)const;
void getOperationOssUploadPolicyAsync(const Model::GetOperationOssUploadPolicyRequest& request, const GetOperationOssUploadPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetOperationOssUploadPolicyOutcomeCallable getOperationOssUploadPolicyCallable(const Model::GetOperationOssUploadPolicyRequest& request) const;
GetQualificationUploadPolicyOutcome getQualificationUploadPolicy(const Model::GetQualificationUploadPolicyRequest &request)const;
void getQualificationUploadPolicyAsync(const Model::GetQualificationUploadPolicyRequest& request, const GetQualificationUploadPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetQualificationUploadPolicyOutcomeCallable getQualificationUploadPolicyCallable(const Model::GetQualificationUploadPolicyRequest& request) const;
@@ -766,6 +815,9 @@ namespace AlibabaCloud
QueryDomainSuffixOutcome queryDomainSuffix(const Model::QueryDomainSuffixRequest &request)const;
void queryDomainSuffixAsync(const Model::QueryDomainSuffixRequest& request, const QueryDomainSuffixAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryDomainSuffixOutcomeCallable queryDomainSuffixCallable(const Model::QueryDomainSuffixRequest& request) const;
QueryDomainTransferStatusOutcome queryDomainTransferStatus(const Model::QueryDomainTransferStatusRequest &request)const;
void queryDomainTransferStatusAsync(const Model::QueryDomainTransferStatusRequest& request, const QueryDomainTransferStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryDomainTransferStatusOutcomeCallable queryDomainTransferStatusCallable(const Model::QueryDomainTransferStatusRequest& request) const;
QueryEmailVerificationOutcome queryEmailVerification(const Model::QueryEmailVerificationRequest &request)const;
void queryEmailVerificationAsync(const Model::QueryEmailVerificationRequest& request, const QueryEmailVerificationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryEmailVerificationOutcomeCallable queryEmailVerificationCallable(const Model::QueryEmailVerificationRequest& request) const;
@@ -784,6 +836,12 @@ namespace AlibabaCloud
QueryLocalEnsAssociationOutcome queryLocalEnsAssociation(const Model::QueryLocalEnsAssociationRequest &request)const;
void queryLocalEnsAssociationAsync(const Model::QueryLocalEnsAssociationRequest& request, const QueryLocalEnsAssociationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryLocalEnsAssociationOutcomeCallable queryLocalEnsAssociationCallable(const Model::QueryLocalEnsAssociationRequest& request) const;
QueryOperationAuditInfoDetailOutcome queryOperationAuditInfoDetail(const Model::QueryOperationAuditInfoDetailRequest &request)const;
void queryOperationAuditInfoDetailAsync(const Model::QueryOperationAuditInfoDetailRequest& request, const QueryOperationAuditInfoDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryOperationAuditInfoDetailOutcomeCallable queryOperationAuditInfoDetailCallable(const Model::QueryOperationAuditInfoDetailRequest& request) const;
QueryOperationAuditInfoListOutcome queryOperationAuditInfoList(const Model::QueryOperationAuditInfoListRequest &request)const;
void queryOperationAuditInfoListAsync(const Model::QueryOperationAuditInfoListRequest& request, const QueryOperationAuditInfoListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryOperationAuditInfoListOutcomeCallable queryOperationAuditInfoListCallable(const Model::QueryOperationAuditInfoListRequest& request) const;
QueryQualificationDetailOutcome queryQualificationDetail(const Model::QueryQualificationDetailRequest &request)const;
void queryQualificationDetailAsync(const Model::QueryQualificationDetailRequest& request, const QueryQualificationDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryQualificationDetailOutcomeCallable queryQualificationDetailCallable(const Model::QueryQualificationDetailRequest& request) const;
@@ -967,6 +1025,12 @@ namespace AlibabaCloud
SubmitEmailVerificationOutcome submitEmailVerification(const Model::SubmitEmailVerificationRequest &request)const;
void submitEmailVerificationAsync(const Model::SubmitEmailVerificationRequest& request, const SubmitEmailVerificationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SubmitEmailVerificationOutcomeCallable submitEmailVerificationCallable(const Model::SubmitEmailVerificationRequest& request) const;
SubmitOperationAuditInfoOutcome submitOperationAuditInfo(const Model::SubmitOperationAuditInfoRequest &request)const;
void submitOperationAuditInfoAsync(const Model::SubmitOperationAuditInfoRequest& request, const SubmitOperationAuditInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SubmitOperationAuditInfoOutcomeCallable submitOperationAuditInfoCallable(const Model::SubmitOperationAuditInfoRequest& request) const;
SubmitOperationCredentialsOutcome submitOperationCredentials(const Model::SubmitOperationCredentialsRequest &request)const;
void submitOperationCredentialsAsync(const Model::SubmitOperationCredentialsRequest& request, const SubmitOperationCredentialsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SubmitOperationCredentialsOutcomeCallable submitOperationCredentialsCallable(const Model::SubmitOperationCredentialsRequest& request) const;
TransferInCheckMailTokenOutcome transferInCheckMailToken(const Model::TransferInCheckMailTokenRequest &request)const;
void transferInCheckMailTokenAsync(const Model::TransferInCheckMailTokenRequest& request, const TransferInCheckMailTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TransferInCheckMailTokenOutcomeCallable transferInCheckMailTokenCallable(const Model::TransferInCheckMailTokenRequest& request) const;

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DOMAIN_MODEL_CANCELOPERATIONAUDITREQUEST_H_
#define ALIBABACLOUD_DOMAIN_MODEL_CANCELOPERATIONAUDITREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT CancelOperationAuditRequest : public RpcServiceRequest
{
public:
CancelOperationAuditRequest();
~CancelOperationAuditRequest();
long getAuditRecordId()const;
void setAuditRecordId(long auditRecordId);
std::string getLang()const;
void setLang(const std::string& lang);
private:
long auditRecordId_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_CANCELOPERATIONAUDITREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DOMAIN_MODEL_CANCELOPERATIONAUDITRESULT_H_
#define ALIBABACLOUD_DOMAIN_MODEL_CANCELOPERATIONAUDITRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT CancelOperationAuditResult : public ServiceResult
{
public:
CancelOperationAuditResult();
explicit CancelOperationAuditResult(const std::string &payload);
~CancelOperationAuditResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_CANCELOPERATIONAUDITRESULT_H_

View File

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DOMAIN_MODEL_CHANGEAUCTIONREQUEST_H_
#define ALIBABACLOUD_DOMAIN_MODEL_CHANGEAUCTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT ChangeAuctionRequest : public RpcServiceRequest
{
public:
struct AuctionList
{
std::string winner;
std::string reserveRange;
std::string domainName;
std::string endTime;
long timeLeft;
int isReserve;
struct BidRecords
{
std::string createTime;
float price;
std::string userId;
};
std::vector<BidRecords> bidRecords;
float winnerPrice;
std::string status;
float reservePrice;
};
public:
ChangeAuctionRequest();
~ChangeAuctionRequest();
std::vector<AuctionList> getAuctionList()const;
void setAuctionList(const std::vector<AuctionList>& auctionList);
private:
std::vector<AuctionList> auctionList_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_CHANGEAUCTIONREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DOMAIN_MODEL_CHANGEAUCTIONRESULT_H_
#define ALIBABACLOUD_DOMAIN_MODEL_CHANGEAUCTIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT ChangeAuctionResult : public ServiceResult
{
public:
ChangeAuctionResult();
explicit ChangeAuctionResult(const std::string &payload);
~ChangeAuctionResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_CHANGEAUCTIONRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DOMAIN_MODEL_GETOPERATIONOSSUPLOADPOLICYREQUEST_H_
#define ALIBABACLOUD_DOMAIN_MODEL_GETOPERATIONOSSUPLOADPOLICYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT GetOperationOssUploadPolicyRequest : public RpcServiceRequest
{
public:
GetOperationOssUploadPolicyRequest();
~GetOperationOssUploadPolicyRequest();
int getAuditType()const;
void setAuditType(int auditType);
std::string getLang()const;
void setLang(const std::string& lang);
private:
int auditType_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_GETOPERATIONOSSUPLOADPOLICYREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DOMAIN_MODEL_GETOPERATIONOSSUPLOADPOLICYRESULT_H_
#define ALIBABACLOUD_DOMAIN_MODEL_GETOPERATIONOSSUPLOADPOLICYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT GetOperationOssUploadPolicyResult : public ServiceResult
{
public:
GetOperationOssUploadPolicyResult();
explicit GetOperationOssUploadPolicyResult(const std::string &payload);
~GetOperationOssUploadPolicyResult();
std::string getFileDir()const;
std::string getEncodedPolicy()const;
std::string getAccessid()const;
std::string getSignature()const;
std::string getHost()const;
std::string getExpireTime()const;
protected:
void parse(const std::string &payload);
private:
std::string fileDir_;
std::string encodedPolicy_;
std::string accessid_;
std::string signature_;
std::string host_;
std::string expireTime_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_GETOPERATIONOSSUPLOADPOLICYRESULT_H_

View File

@@ -35,16 +35,19 @@ namespace AlibabaCloud
struct Demand
{
std::string status;
float payPrice;
float demandPrice;
std::string description;
std::string demandDomain;
std::string mobile;
float payPrice;
float bargainSellerPrice;
float servicePayPrice;
std::string payDomain;
int produceType;
std::string demandDomain;
std::string bargainSellerMobile;
long publishTime;
long payTime;
std::string bizId;
std::string mobile;
};

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DOMAIN_MODEL_QUERYDOMAINTRANSFERSTATUSREQUEST_H_
#define ALIBABACLOUD_DOMAIN_MODEL_QUERYDOMAINTRANSFERSTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT QueryDomainTransferStatusRequest : public RpcServiceRequest
{
public:
QueryDomainTransferStatusRequest();
~QueryDomainTransferStatusRequest();
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
private:
std::string domainName_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_QUERYDOMAINTRANSFERSTATUSREQUEST_H_

View File

@@ -0,0 +1,56 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DOMAIN_MODEL_QUERYDOMAINTRANSFERSTATUSRESULT_H_
#define ALIBABACLOUD_DOMAIN_MODEL_QUERYDOMAINTRANSFERSTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT QueryDomainTransferStatusResult : public ServiceResult
{
public:
struct DomainTransferStatusItem
{
std::string domainName;
std::string domainStatusDescription;
};
QueryDomainTransferStatusResult();
explicit QueryDomainTransferStatusResult(const std::string &payload);
~QueryDomainTransferStatusResult();
std::vector<DomainTransferStatusItem> getDomainTransferStatus()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DomainTransferStatusItem> domainTransferStatus_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_QUERYDOMAINTRANSFERSTATUSRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DOMAIN_MODEL_QUERYOPERATIONAUDITINFODETAILREQUEST_H_
#define ALIBABACLOUD_DOMAIN_MODEL_QUERYOPERATIONAUDITINFODETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT QueryOperationAuditInfoDetailRequest : public RpcServiceRequest
{
public:
QueryOperationAuditInfoDetailRequest();
~QueryOperationAuditInfoDetailRequest();
long getAuditRecordId()const;
void setAuditRecordId(long auditRecordId);
std::string getLang()const;
void setLang(const std::string& lang);
private:
long auditRecordId_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_QUERYOPERATIONAUDITINFODETAILREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DOMAIN_MODEL_QUERYOPERATIONAUDITINFODETAILRESULT_H_
#define ALIBABACLOUD_DOMAIN_MODEL_QUERYOPERATIONAUDITINFODETAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT QueryOperationAuditInfoDetailResult : public ServiceResult
{
public:
QueryOperationAuditInfoDetailResult();
explicit QueryOperationAuditInfoDetailResult(const std::string &payload);
~QueryOperationAuditInfoDetailResult();
std::string getAuditInfo()const;
int getAuditStatus()const;
std::string getBusinessName()const;
std::string getDomainName()const;
int getAuditType()const;
long getCreateTime()const;
long getUpdateTime()const;
std::string getId()const;
std::string getRemark()const;
protected:
void parse(const std::string &payload);
private:
std::string auditInfo_;
int auditStatus_;
std::string businessName_;
std::string domainName_;
int auditType_;
long createTime_;
long updateTime_;
std::string id_;
std::string remark_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_QUERYOPERATIONAUDITINFODETAILRESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_DOMAIN_MODEL_QUERYOPERATIONAUDITINFOLISTREQUEST_H_
#define ALIBABACLOUD_DOMAIN_MODEL_QUERYOPERATIONAUDITINFOLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT QueryOperationAuditInfoListRequest : public RpcServiceRequest
{
public:
QueryOperationAuditInfoListRequest();
~QueryOperationAuditInfoListRequest();
int getAuditStatus()const;
void setAuditStatus(int auditStatus);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
int getPageNum()const;
void setPageNum(int pageNum);
int getPageSize()const;
void setPageSize(int pageSize);
int getAuditType()const;
void setAuditType(int auditType);
std::string getLang()const;
void setLang(const std::string& lang);
private:
int auditStatus_;
std::string domainName_;
int pageNum_;
int pageSize_;
int auditType_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_QUERYOPERATIONAUDITINFOLISTREQUEST_H_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DOMAIN_MODEL_QUERYOPERATIONAUDITINFOLISTRESULT_H_
#define ALIBABACLOUD_DOMAIN_MODEL_QUERYOPERATIONAUDITINFOLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT QueryOperationAuditInfoListResult : public ServiceResult
{
public:
struct OperationAuditRecord
{
std::string auditInfo;
int auditStatus;
std::string businessName;
std::string domainName;
int auditType;
long createTime;
long updateTime;
long id;
std::string remark;
};
QueryOperationAuditInfoListResult();
explicit QueryOperationAuditInfoListResult(const std::string &payload);
~QueryOperationAuditInfoListResult();
bool getPrePage()const;
int getCurrentPageNum()const;
int getPageSize()const;
int getTotalPageNum()const;
std::vector<OperationAuditRecord> getData()const;
int getTotalItemNum()const;
bool getNextPage()const;
protected:
void parse(const std::string &payload);
private:
bool prePage_;
int currentPageNum_;
int pageSize_;
int totalPageNum_;
std::vector<OperationAuditRecord> data_;
int totalItemNum_;
bool nextPage_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_QUERYOPERATIONAUDITINFOLISTRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DOMAIN_MODEL_SUBMITOPERATIONAUDITINFOREQUEST_H_
#define ALIBABACLOUD_DOMAIN_MODEL_SUBMITOPERATIONAUDITINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT SubmitOperationAuditInfoRequest : public RpcServiceRequest
{
public:
SubmitOperationAuditInfoRequest();
~SubmitOperationAuditInfoRequest();
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getAuditInfo()const;
void setAuditInfo(const std::string& auditInfo);
int getAuditType()const;
void setAuditType(int auditType);
long getId()const;
void setId(long id);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string domainName_;
std::string auditInfo_;
int auditType_;
long id_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_SUBMITOPERATIONAUDITINFOREQUEST_H_

View File

@@ -14,43 +14,38 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBERULESUMMARYRESULT_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBERULESUMMARYRESULT_H_
#ifndef ALIBABACLOUD_DOMAIN_MODEL_SUBMITOPERATIONAUDITINFORESULT_H_
#define ALIBABACLOUD_DOMAIN_MODEL_SUBMITOPERATIONAUDITINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeRuleSummaryResult : public ServiceResult
class ALIBABACLOUD_DOMAIN_EXPORT SubmitOperationAuditInfoResult : public ServiceResult
{
public:
struct Item
{
long pv;
long timeStamp;
};
DescribeRuleSummaryResult();
explicit DescribeRuleSummaryResult(const std::string &payload);
~DescribeRuleSummaryResult();
std::vector<Item> getRuleSummarys()const;
SubmitOperationAuditInfoResult();
explicit SubmitOperationAuditInfoResult(const std::string &payload);
~SubmitOperationAuditInfoResult();
long getId()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Item> ruleSummarys_;
long id_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBERULESUMMARYRESULT_H_
#endif // !ALIBABACLOUD_DOMAIN_MODEL_SUBMITOPERATIONAUDITINFORESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DOMAIN_MODEL_SUBMITOPERATIONCREDENTIALSREQUEST_H_
#define ALIBABACLOUD_DOMAIN_MODEL_SUBMITOPERATIONCREDENTIALSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT SubmitOperationCredentialsRequest : public RpcServiceRequest
{
public:
SubmitOperationCredentialsRequest();
~SubmitOperationCredentialsRequest();
std::string getCredentials()const;
void setCredentials(const std::string& credentials);
long getAuditRecordId()const;
void setAuditRecordId(long auditRecordId);
int getRegType()const;
void setRegType(int regType);
int getAuditType()const;
void setAuditType(int auditType);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string credentials_;
long auditRecordId_;
int regType_;
int auditType_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_SUBMITOPERATIONCREDENTIALSREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DOMAIN_MODEL_SUBMITOPERATIONCREDENTIALSRESULT_H_
#define ALIBABACLOUD_DOMAIN_MODEL_SUBMITOPERATIONCREDENTIALSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/domain/DomainExport.h>
namespace AlibabaCloud
{
namespace Domain
{
namespace Model
{
class ALIBABACLOUD_DOMAIN_EXPORT SubmitOperationCredentialsResult : public ServiceResult
{
public:
SubmitOperationCredentialsResult();
explicit SubmitOperationCredentialsResult(const std::string &payload);
~SubmitOperationCredentialsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DOMAIN_MODEL_SUBMITOPERATIONCREDENTIALSRESULT_H_

View File

@@ -231,6 +231,42 @@ DomainClient::CancelDomainVerificationOutcomeCallable DomainClient::cancelDomain
return task->get_future();
}
DomainClient::CancelOperationAuditOutcome DomainClient::cancelOperationAudit(const CancelOperationAuditRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CancelOperationAuditOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CancelOperationAuditOutcome(CancelOperationAuditResult(outcome.result()));
else
return CancelOperationAuditOutcome(outcome.error());
}
void DomainClient::cancelOperationAuditAsync(const CancelOperationAuditRequest& request, const CancelOperationAuditAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, cancelOperationAudit(request), context);
};
asyncExecute(new Runnable(fn));
}
DomainClient::CancelOperationAuditOutcomeCallable DomainClient::cancelOperationAuditCallable(const CancelOperationAuditRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CancelOperationAuditOutcome()>>(
[this, request]()
{
return this->cancelOperationAudit(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DomainClient::CancelQualificationVerificationOutcome DomainClient::cancelQualificationVerification(const CancelQualificationVerificationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -303,6 +339,42 @@ DomainClient::CancelTaskOutcomeCallable DomainClient::cancelTaskCallable(const C
return task->get_future();
}
DomainClient::ChangeAuctionOutcome DomainClient::changeAuction(const ChangeAuctionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ChangeAuctionOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ChangeAuctionOutcome(ChangeAuctionResult(outcome.result()));
else
return ChangeAuctionOutcome(outcome.error());
}
void DomainClient::changeAuctionAsync(const ChangeAuctionRequest& request, const ChangeAuctionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, changeAuction(request), context);
};
asyncExecute(new Runnable(fn));
}
DomainClient::ChangeAuctionOutcomeCallable DomainClient::changeAuctionCallable(const ChangeAuctionRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ChangeAuctionOutcome()>>(
[this, request]()
{
return this->changeAuction(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DomainClient::CheckDomainOutcome DomainClient::checkDomain(const CheckDomainRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -771,6 +843,42 @@ DomainClient::FuzzyMatchDomainSensitiveWordOutcomeCallable DomainClient::fuzzyMa
return task->get_future();
}
DomainClient::GetOperationOssUploadPolicyOutcome DomainClient::getOperationOssUploadPolicy(const GetOperationOssUploadPolicyRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetOperationOssUploadPolicyOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetOperationOssUploadPolicyOutcome(GetOperationOssUploadPolicyResult(outcome.result()));
else
return GetOperationOssUploadPolicyOutcome(outcome.error());
}
void DomainClient::getOperationOssUploadPolicyAsync(const GetOperationOssUploadPolicyRequest& request, const GetOperationOssUploadPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getOperationOssUploadPolicy(request), context);
};
asyncExecute(new Runnable(fn));
}
DomainClient::GetOperationOssUploadPolicyOutcomeCallable DomainClient::getOperationOssUploadPolicyCallable(const GetOperationOssUploadPolicyRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetOperationOssUploadPolicyOutcome()>>(
[this, request]()
{
return this->getOperationOssUploadPolicy(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DomainClient::GetQualificationUploadPolicyOutcome DomainClient::getQualificationUploadPolicy(const GetQualificationUploadPolicyRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1671,6 +1779,42 @@ DomainClient::QueryDomainSuffixOutcomeCallable DomainClient::queryDomainSuffixCa
return task->get_future();
}
DomainClient::QueryDomainTransferStatusOutcome DomainClient::queryDomainTransferStatus(const QueryDomainTransferStatusRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryDomainTransferStatusOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryDomainTransferStatusOutcome(QueryDomainTransferStatusResult(outcome.result()));
else
return QueryDomainTransferStatusOutcome(outcome.error());
}
void DomainClient::queryDomainTransferStatusAsync(const QueryDomainTransferStatusRequest& request, const QueryDomainTransferStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryDomainTransferStatus(request), context);
};
asyncExecute(new Runnable(fn));
}
DomainClient::QueryDomainTransferStatusOutcomeCallable DomainClient::queryDomainTransferStatusCallable(const QueryDomainTransferStatusRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryDomainTransferStatusOutcome()>>(
[this, request]()
{
return this->queryDomainTransferStatus(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DomainClient::QueryEmailVerificationOutcome DomainClient::queryEmailVerification(const QueryEmailVerificationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1887,6 +2031,78 @@ DomainClient::QueryLocalEnsAssociationOutcomeCallable DomainClient::queryLocalEn
return task->get_future();
}
DomainClient::QueryOperationAuditInfoDetailOutcome DomainClient::queryOperationAuditInfoDetail(const QueryOperationAuditInfoDetailRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryOperationAuditInfoDetailOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryOperationAuditInfoDetailOutcome(QueryOperationAuditInfoDetailResult(outcome.result()));
else
return QueryOperationAuditInfoDetailOutcome(outcome.error());
}
void DomainClient::queryOperationAuditInfoDetailAsync(const QueryOperationAuditInfoDetailRequest& request, const QueryOperationAuditInfoDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryOperationAuditInfoDetail(request), context);
};
asyncExecute(new Runnable(fn));
}
DomainClient::QueryOperationAuditInfoDetailOutcomeCallable DomainClient::queryOperationAuditInfoDetailCallable(const QueryOperationAuditInfoDetailRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryOperationAuditInfoDetailOutcome()>>(
[this, request]()
{
return this->queryOperationAuditInfoDetail(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DomainClient::QueryOperationAuditInfoListOutcome DomainClient::queryOperationAuditInfoList(const QueryOperationAuditInfoListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryOperationAuditInfoListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryOperationAuditInfoListOutcome(QueryOperationAuditInfoListResult(outcome.result()));
else
return QueryOperationAuditInfoListOutcome(outcome.error());
}
void DomainClient::queryOperationAuditInfoListAsync(const QueryOperationAuditInfoListRequest& request, const QueryOperationAuditInfoListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryOperationAuditInfoList(request), context);
};
asyncExecute(new Runnable(fn));
}
DomainClient::QueryOperationAuditInfoListOutcomeCallable DomainClient::queryOperationAuditInfoListCallable(const QueryOperationAuditInfoListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryOperationAuditInfoListOutcome()>>(
[this, request]()
{
return this->queryOperationAuditInfoList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DomainClient::QueryQualificationDetailOutcome DomainClient::queryQualificationDetail(const QueryQualificationDetailRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -4083,6 +4299,78 @@ DomainClient::SubmitEmailVerificationOutcomeCallable DomainClient::submitEmailVe
return task->get_future();
}
DomainClient::SubmitOperationAuditInfoOutcome DomainClient::submitOperationAuditInfo(const SubmitOperationAuditInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SubmitOperationAuditInfoOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SubmitOperationAuditInfoOutcome(SubmitOperationAuditInfoResult(outcome.result()));
else
return SubmitOperationAuditInfoOutcome(outcome.error());
}
void DomainClient::submitOperationAuditInfoAsync(const SubmitOperationAuditInfoRequest& request, const SubmitOperationAuditInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, submitOperationAuditInfo(request), context);
};
asyncExecute(new Runnable(fn));
}
DomainClient::SubmitOperationAuditInfoOutcomeCallable DomainClient::submitOperationAuditInfoCallable(const SubmitOperationAuditInfoRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SubmitOperationAuditInfoOutcome()>>(
[this, request]()
{
return this->submitOperationAuditInfo(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DomainClient::SubmitOperationCredentialsOutcome DomainClient::submitOperationCredentials(const SubmitOperationCredentialsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SubmitOperationCredentialsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SubmitOperationCredentialsOutcome(SubmitOperationCredentialsResult(outcome.result()));
else
return SubmitOperationCredentialsOutcome(outcome.error());
}
void DomainClient::submitOperationCredentialsAsync(const SubmitOperationCredentialsRequest& request, const SubmitOperationCredentialsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, submitOperationCredentials(request), context);
};
asyncExecute(new Runnable(fn));
}
DomainClient::SubmitOperationCredentialsOutcomeCallable DomainClient::submitOperationCredentialsCallable(const SubmitOperationCredentialsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SubmitOperationCredentialsOutcome()>>(
[this, request]()
{
return this->submitOperationCredentials(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DomainClient::TransferInCheckMailTokenOutcome DomainClient::transferInCheckMailToken(const TransferInCheckMailTokenRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Domain::Model::AcceptDemandRequest;
AcceptDemandRequest::AcceptDemandRequest() :
RpcServiceRequest("domain", "2018-02-08", "AcceptDemand")
{}
{
setMethod(HttpRequest::Method::Post);
}
AcceptDemandRequest::~AcceptDemandRequest()
{}

View File

@@ -38,7 +38,6 @@ void AcceptDemandResult::parse(const std::string &payload)
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Domain::Model::BidDomainRequest;
BidDomainRequest::BidDomainRequest() :
RpcServiceRequest("domain", "2018-02-08", "BidDomain")
{}
{
setMethod(HttpRequest::Method::Post);
}
BidDomainRequest::~BidDomainRequest()
{}
@@ -33,7 +35,7 @@ std::string BidDomainRequest::getAuctionId()const
void BidDomainRequest::setAuctionId(const std::string& auctionId)
{
auctionId_ = auctionId;
setParameter("AuctionId", auctionId);
setBodyParameter("AuctionId", auctionId);
}
float BidDomainRequest::getMaxBid()const
@@ -44,7 +46,7 @@ float BidDomainRequest::getMaxBid()const
void BidDomainRequest::setMaxBid(float maxBid)
{
maxBid_ = maxBid;
setParameter("MaxBid", std::to_string(maxBid));
setBodyParameter("MaxBid", std::to_string(maxBid));
}
std::string BidDomainRequest::getCurrency()const
@@ -55,6 +57,6 @@ std::string BidDomainRequest::getCurrency()const
void BidDomainRequest::setCurrency(const std::string& currency)
{
currency_ = currency;
setParameter("Currency", currency);
setBodyParameter("Currency", currency);
}

View File

@@ -38,7 +38,6 @@ void BidDomainResult::parse(const std::string &payload)
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["AuctionId"].isNull())
auctionId_ = value["AuctionId"].asString();

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/domain/model/CancelOperationAuditRequest.h>
using AlibabaCloud::Domain::Model::CancelOperationAuditRequest;
CancelOperationAuditRequest::CancelOperationAuditRequest() :
RpcServiceRequest("domain", "2018-01-29", "CancelOperationAudit")
{
setMethod(HttpRequest::Method::Post);
}
CancelOperationAuditRequest::~CancelOperationAuditRequest()
{}
long CancelOperationAuditRequest::getAuditRecordId()const
{
return auditRecordId_;
}
void CancelOperationAuditRequest::setAuditRecordId(long auditRecordId)
{
auditRecordId_ = auditRecordId;
setParameter("AuditRecordId", std::to_string(auditRecordId));
}
std::string CancelOperationAuditRequest::getLang()const
{
return lang_;
}
void CancelOperationAuditRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

@@ -14,38 +14,31 @@
* limitations under the License.
*/
#include <alibabacloud/waf-openapi/model/DescribeDomainStatusResult.h>
#include <alibabacloud/domain/model/CancelOperationAuditResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Waf_openapi;
using namespace AlibabaCloud::Waf_openapi::Model;
using namespace AlibabaCloud::Domain;
using namespace AlibabaCloud::Domain::Model;
DescribeDomainStatusResult::DescribeDomainStatusResult() :
CancelOperationAuditResult::CancelOperationAuditResult() :
ServiceResult()
{}
DescribeDomainStatusResult::DescribeDomainStatusResult(const std::string &payload) :
CancelOperationAuditResult::CancelOperationAuditResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDomainStatusResult::~DescribeDomainStatusResult()
CancelOperationAuditResult::~CancelOperationAuditResult()
{}
void DescribeDomainStatusResult::parse(const std::string &payload)
void CancelOperationAuditResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ConfigStatus"].isNull())
configStatus_ = value["ConfigStatus"].asString();
}
std::string DescribeDomainStatusResult::getConfigStatus()const
{
return configStatus_;
}

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/domain/model/ChangeAuctionRequest.h>
using AlibabaCloud::Domain::Model::ChangeAuctionRequest;
ChangeAuctionRequest::ChangeAuctionRequest() :
RpcServiceRequest("domain", "2018-02-08", "ChangeAuction")
{
setMethod(HttpRequest::Method::Post);
}
ChangeAuctionRequest::~ChangeAuctionRequest()
{}
std::vector<ChangeAuctionRequest::AuctionList> ChangeAuctionRequest::getAuctionList()const
{
return auctionList_;
}
void ChangeAuctionRequest::setAuctionList(const std::vector<AuctionList>& auctionList)
{
auctionList_ = auctionList;
for(int dep1 = 0; dep1!= auctionList.size(); dep1++) {
auto auctionListObj = auctionList.at(dep1);
std::string auctionListObjStr = "AuctionList." + std::to_string(dep1 + 1);
setParameter(auctionListObjStr + ".Winner", auctionListObj.winner);
setParameter(auctionListObjStr + ".ReserveRange", auctionListObj.reserveRange);
setParameter(auctionListObjStr + ".DomainName", auctionListObj.domainName);
setParameter(auctionListObjStr + ".EndTime", auctionListObj.endTime);
setParameter(auctionListObjStr + ".TimeLeft", std::to_string(auctionListObj.timeLeft));
setParameter(auctionListObjStr + ".IsReserve", std::to_string(auctionListObj.isReserve));
for(int dep2 = 0; dep2!= auctionListObj.bidRecords.size(); dep2++) {
auto bidRecordsObj = auctionListObj.bidRecords.at(dep2);
std::string bidRecordsObjStr = auctionListObjStr + "BidRecords." + std::to_string(dep2 + 1);
setParameter(bidRecordsObjStr + ".CreateTime", bidRecordsObj.createTime);
setParameter(bidRecordsObjStr + ".Price", std::to_string(bidRecordsObj.price));
setParameter(bidRecordsObjStr + ".UserId", bidRecordsObj.userId);
}
setParameter(auctionListObjStr + ".WinnerPrice", std::to_string(auctionListObj.winnerPrice));
setParameter(auctionListObjStr + ".Status", auctionListObj.status);
setParameter(auctionListObjStr + ".ReservePrice", std::to_string(auctionListObj.reservePrice));
}
}

View 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/domain/model/ChangeAuctionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Domain;
using namespace AlibabaCloud::Domain::Model;
ChangeAuctionResult::ChangeAuctionResult() :
ServiceResult()
{}
ChangeAuctionResult::ChangeAuctionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ChangeAuctionResult::~ChangeAuctionResult()
{}
void ChangeAuctionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Domain::Model::FailDemandRequest;
FailDemandRequest::FailDemandRequest() :
RpcServiceRequest("domain", "2018-02-08", "FailDemand")
{}
{
setMethod(HttpRequest::Method::Post);
}
FailDemandRequest::~FailDemandRequest()
{}

View File

@@ -38,7 +38,6 @@ void FailDemandResult::parse(const std::string &payload)
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Domain::Model::FinishDemandRequest;
FinishDemandRequest::FinishDemandRequest() :
RpcServiceRequest("domain", "2018-02-08", "FinishDemand")
{}
{
setMethod(HttpRequest::Method::Post);
}
FinishDemandRequest::~FinishDemandRequest()
{}

View File

@@ -38,7 +38,6 @@ void FinishDemandResult::parse(const std::string &payload)
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/domain/model/GetOperationOssUploadPolicyRequest.h>
using AlibabaCloud::Domain::Model::GetOperationOssUploadPolicyRequest;
GetOperationOssUploadPolicyRequest::GetOperationOssUploadPolicyRequest() :
RpcServiceRequest("domain", "2018-01-29", "GetOperationOssUploadPolicy")
{
setMethod(HttpRequest::Method::Post);
}
GetOperationOssUploadPolicyRequest::~GetOperationOssUploadPolicyRequest()
{}
int GetOperationOssUploadPolicyRequest::getAuditType()const
{
return auditType_;
}
void GetOperationOssUploadPolicyRequest::setAuditType(int auditType)
{
auditType_ = auditType;
setParameter("AuditType", std::to_string(auditType));
}
std::string GetOperationOssUploadPolicyRequest::getLang()const
{
return lang_;
}
void GetOperationOssUploadPolicyRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View File

@@ -0,0 +1,86 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/domain/model/GetOperationOssUploadPolicyResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Domain;
using namespace AlibabaCloud::Domain::Model;
GetOperationOssUploadPolicyResult::GetOperationOssUploadPolicyResult() :
ServiceResult()
{}
GetOperationOssUploadPolicyResult::GetOperationOssUploadPolicyResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetOperationOssUploadPolicyResult::~GetOperationOssUploadPolicyResult()
{}
void GetOperationOssUploadPolicyResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Accessid"].isNull())
accessid_ = value["Accessid"].asString();
if(!value["EncodedPolicy"].isNull())
encodedPolicy_ = value["EncodedPolicy"].asString();
if(!value["Signature"].isNull())
signature_ = value["Signature"].asString();
if(!value["FileDir"].isNull())
fileDir_ = value["FileDir"].asString();
if(!value["Host"].isNull())
host_ = value["Host"].asString();
if(!value["ExpireTime"].isNull())
expireTime_ = value["ExpireTime"].asString();
}
std::string GetOperationOssUploadPolicyResult::getFileDir()const
{
return fileDir_;
}
std::string GetOperationOssUploadPolicyResult::getEncodedPolicy()const
{
return encodedPolicy_;
}
std::string GetOperationOssUploadPolicyResult::getAccessid()const
{
return accessid_;
}
std::string GetOperationOssUploadPolicyResult::getSignature()const
{
return signature_;
}
std::string GetOperationOssUploadPolicyResult::getHost()const
{
return host_;
}
std::string GetOperationOssUploadPolicyResult::getExpireTime()const
{
return expireTime_;
}

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Domain::Model::GetReserveDomainUrlRequest;
GetReserveDomainUrlRequest::GetReserveDomainUrlRequest() :
RpcServiceRequest("domain", "2018-02-08", "GetReserveDomainUrl")
{}
{
setMethod(HttpRequest::Method::Post);
}
GetReserveDomainUrlRequest::~GetReserveDomainUrlRequest()
{}

View File

@@ -38,7 +38,6 @@ void GetReserveDomainUrlResult::parse(const std::string &payload)
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Url"].isNull())
url_ = value["Url"].asString();

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Domain::Model::QueryAuctionDetailRequest;
QueryAuctionDetailRequest::QueryAuctionDetailRequest() :
RpcServiceRequest("domain", "2018-02-08", "QueryAuctionDetail")
{}
{
setMethod(HttpRequest::Method::Post);
}
QueryAuctionDetailRequest::~QueryAuctionDetailRequest()
{}
@@ -33,6 +35,6 @@ std::string QueryAuctionDetailRequest::getAuctionId()const
void QueryAuctionDetailRequest::setAuctionId(const std::string& auctionId)
{
auctionId_ = auctionId;
setParameter("AuctionId", auctionId);
setBodyParameter("AuctionId", auctionId);
}

View File

@@ -38,7 +38,6 @@ void QueryAuctionDetailResult::parse(const std::string &payload)
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["DomainName"].isNull())
domainName_ = value["DomainName"].asString();

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Domain::Model::QueryAuctionsRequest;
QueryAuctionsRequest::QueryAuctionsRequest() :
RpcServiceRequest("domain", "2018-02-08", "QueryAuctions")
{}
{
setMethod(HttpRequest::Method::Post);
}
QueryAuctionsRequest::~QueryAuctionsRequest()
{}
@@ -33,7 +35,7 @@ int QueryAuctionsRequest::getPageSize()const
void QueryAuctionsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
setBodyParameter("PageSize", std::to_string(pageSize));
}
int QueryAuctionsRequest::getCurrentPage()const
@@ -44,7 +46,7 @@ int QueryAuctionsRequest::getCurrentPage()const
void QueryAuctionsRequest::setCurrentPage(int currentPage)
{
currentPage_ = currentPage;
setParameter("CurrentPage", std::to_string(currentPage));
setBodyParameter("CurrentPage", std::to_string(currentPage));
}
std::string QueryAuctionsRequest::getStatus()const
@@ -55,6 +57,6 @@ std::string QueryAuctionsRequest::getStatus()const
void QueryAuctionsRequest::setStatus(const std::string& status)
{
status_ = status;
setParameter("Status", status);
setBodyParameter("Status", status);
}

View File

@@ -38,56 +38,55 @@ void QueryAuctionsResult::parse(const std::string &payload)
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allData = value["Data"]["AuctionDetail"];
for (auto value : allData)
auto allDataNode = value["Data"]["AuctionDetail"];
for (auto valueDataAuctionDetail : allDataNode)
{
AuctionDetail dataObject;
if(!value["DomainName"].isNull())
dataObject.domainName = value["DomainName"].asString();
if(!value["AuctionId"].isNull())
dataObject.auctionId = value["AuctionId"].asString();
if(!value["DomainType"].isNull())
dataObject.domainType = value["DomainType"].asString();
if(!value["BookedPartner"].isNull())
dataObject.bookedPartner = value["BookedPartner"].asString();
if(!value["PartnerType"].isNull())
dataObject.partnerType = value["PartnerType"].asString();
if(!value["Currency"].isNull())
dataObject.currency = value["Currency"].asString();
if(!value["YourCurrentBid"].isNull())
dataObject.yourCurrentBid = std::stof(value["YourCurrentBid"].asString());
if(!value["YourMaxBid"].isNull())
dataObject.yourMaxBid = std::stof(value["YourMaxBid"].asString());
if(!value["HighBid"].isNull())
dataObject.highBid = std::stof(value["HighBid"].asString());
if(!value["NextValidBid"].isNull())
dataObject.nextValidBid = std::stof(value["NextValidBid"].asString());
if(!value["ReserveMet"].isNull())
dataObject.reserveMet = value["ReserveMet"].asString() == "true";
if(!value["TransferInPrice"].isNull())
dataObject.transferInPrice = std::stof(value["TransferInPrice"].asString());
if(!value["PayPrice"].isNull())
dataObject.payPrice = std::stof(value["PayPrice"].asString());
if(!value["HighBidder"].isNull())
dataObject.highBidder = value["HighBidder"].asString();
if(!value["Status"].isNull())
dataObject.status = value["Status"].asString();
if(!value["PayStatus"].isNull())
dataObject.payStatus = value["PayStatus"].asString();
if(!value["ProduceStatus"].isNull())
dataObject.produceStatus = value["ProduceStatus"].asString();
if(!value["AuctionEndTime"].isNull())
dataObject.auctionEndTime = std::stol(value["AuctionEndTime"].asString());
if(!value["BookEndTime"].isNull())
dataObject.bookEndTime = std::stol(value["BookEndTime"].asString());
if(!value["PayEndTime"].isNull())
dataObject.payEndTime = std::stol(value["PayEndTime"].asString());
if(!value["DeliveryTime"].isNull())
dataObject.deliveryTime = std::stol(value["DeliveryTime"].asString());
if(!value["FailCode"].isNull())
dataObject.failCode = value["FailCode"].asString();
if(!valueDataAuctionDetail["DomainName"].isNull())
dataObject.domainName = valueDataAuctionDetail["DomainName"].asString();
if(!valueDataAuctionDetail["AuctionId"].isNull())
dataObject.auctionId = valueDataAuctionDetail["AuctionId"].asString();
if(!valueDataAuctionDetail["DomainType"].isNull())
dataObject.domainType = valueDataAuctionDetail["DomainType"].asString();
if(!valueDataAuctionDetail["BookedPartner"].isNull())
dataObject.bookedPartner = valueDataAuctionDetail["BookedPartner"].asString();
if(!valueDataAuctionDetail["PartnerType"].isNull())
dataObject.partnerType = valueDataAuctionDetail["PartnerType"].asString();
if(!valueDataAuctionDetail["Currency"].isNull())
dataObject.currency = valueDataAuctionDetail["Currency"].asString();
if(!valueDataAuctionDetail["YourCurrentBid"].isNull())
dataObject.yourCurrentBid = std::stof(valueDataAuctionDetail["YourCurrentBid"].asString());
if(!valueDataAuctionDetail["YourMaxBid"].isNull())
dataObject.yourMaxBid = std::stof(valueDataAuctionDetail["YourMaxBid"].asString());
if(!valueDataAuctionDetail["HighBid"].isNull())
dataObject.highBid = std::stof(valueDataAuctionDetail["HighBid"].asString());
if(!valueDataAuctionDetail["NextValidBid"].isNull())
dataObject.nextValidBid = std::stof(valueDataAuctionDetail["NextValidBid"].asString());
if(!valueDataAuctionDetail["ReserveMet"].isNull())
dataObject.reserveMet = valueDataAuctionDetail["ReserveMet"].asString() == "true";
if(!valueDataAuctionDetail["TransferInPrice"].isNull())
dataObject.transferInPrice = std::stof(valueDataAuctionDetail["TransferInPrice"].asString());
if(!valueDataAuctionDetail["PayPrice"].isNull())
dataObject.payPrice = std::stof(valueDataAuctionDetail["PayPrice"].asString());
if(!valueDataAuctionDetail["HighBidder"].isNull())
dataObject.highBidder = valueDataAuctionDetail["HighBidder"].asString();
if(!valueDataAuctionDetail["Status"].isNull())
dataObject.status = valueDataAuctionDetail["Status"].asString();
if(!valueDataAuctionDetail["PayStatus"].isNull())
dataObject.payStatus = valueDataAuctionDetail["PayStatus"].asString();
if(!valueDataAuctionDetail["ProduceStatus"].isNull())
dataObject.produceStatus = valueDataAuctionDetail["ProduceStatus"].asString();
if(!valueDataAuctionDetail["AuctionEndTime"].isNull())
dataObject.auctionEndTime = std::stol(valueDataAuctionDetail["AuctionEndTime"].asString());
if(!valueDataAuctionDetail["BookEndTime"].isNull())
dataObject.bookEndTime = std::stol(valueDataAuctionDetail["BookEndTime"].asString());
if(!valueDataAuctionDetail["PayEndTime"].isNull())
dataObject.payEndTime = std::stol(valueDataAuctionDetail["PayEndTime"].asString());
if(!valueDataAuctionDetail["DeliveryTime"].isNull())
dataObject.deliveryTime = std::stol(valueDataAuctionDetail["DeliveryTime"].asString());
if(!valueDataAuctionDetail["FailCode"].isNull())
dataObject.failCode = valueDataAuctionDetail["FailCode"].asString();
data_.push_back(dataObject);
}
if(!value["TotalItemNum"].isNull())

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Domain::Model::QueryBidRecordsRequest;
QueryBidRecordsRequest::QueryBidRecordsRequest() :
RpcServiceRequest("domain", "2018-02-08", "QueryBidRecords")
{}
{
setMethod(HttpRequest::Method::Post);
}
QueryBidRecordsRequest::~QueryBidRecordsRequest()
{}
@@ -33,7 +35,7 @@ std::string QueryBidRecordsRequest::getAuctionId()const
void QueryBidRecordsRequest::setAuctionId(const std::string& auctionId)
{
auctionId_ = auctionId;
setParameter("AuctionId", auctionId);
setBodyParameter("AuctionId", auctionId);
}
int QueryBidRecordsRequest::getPageSize()const
@@ -44,7 +46,7 @@ int QueryBidRecordsRequest::getPageSize()const
void QueryBidRecordsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
setBodyParameter("PageSize", std::to_string(pageSize));
}
int QueryBidRecordsRequest::getCurrentPage()const
@@ -55,6 +57,6 @@ int QueryBidRecordsRequest::getCurrentPage()const
void QueryBidRecordsRequest::setCurrentPage(int currentPage)
{
currentPage_ = currentPage;
setParameter("CurrentPage", std::to_string(currentPage));
setBodyParameter("CurrentPage", std::to_string(currentPage));
}

View File

@@ -38,22 +38,21 @@ void QueryBidRecordsResult::parse(const std::string &payload)
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allData = value["Data"]["BidRecord"];
for (auto value : allData)
auto allDataNode = value["Data"]["BidRecord"];
for (auto valueDataBidRecord : allDataNode)
{
BidRecord dataObject;
if(!value["DomainName"].isNull())
dataObject.domainName = value["DomainName"].asString();
if(!value["Currency"].isNull())
dataObject.currency = value["Currency"].asString();
if(!value["Bid"].isNull())
dataObject.bid = std::stof(value["Bid"].asString());
if(!value["BidTime"].isNull())
dataObject.bidTime = std::stol(value["BidTime"].asString());
if(!value["Bidder"].isNull())
dataObject.bidder = value["Bidder"].asString();
if(!valueDataBidRecord["DomainName"].isNull())
dataObject.domainName = valueDataBidRecord["DomainName"].asString();
if(!valueDataBidRecord["Currency"].isNull())
dataObject.currency = valueDataBidRecord["Currency"].asString();
if(!valueDataBidRecord["Bid"].isNull())
dataObject.bid = std::stof(valueDataBidRecord["Bid"].asString());
if(!valueDataBidRecord["BidTime"].isNull())
dataObject.bidTime = std::stol(valueDataBidRecord["BidTime"].asString());
if(!valueDataBidRecord["Bidder"].isNull())
dataObject.bidder = valueDataBidRecord["Bidder"].asString();
data_.push_back(dataObject);
}
if(!value["TotalItemNum"].isNull())

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Domain::Model::QueryBookingDomainInfoRequest;
QueryBookingDomainInfoRequest::QueryBookingDomainInfoRequest() :
RpcServiceRequest("domain", "2018-02-08", "QueryBookingDomainInfo")
{}
{
setMethod(HttpRequest::Method::Post);
}
QueryBookingDomainInfoRequest::~QueryBookingDomainInfoRequest()
{}
@@ -33,6 +35,6 @@ std::string QueryBookingDomainInfoRequest::getDomainName()const
void QueryBookingDomainInfoRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
setBodyParameter("DomainName", domainName);
}

View File

@@ -38,7 +38,6 @@ void QueryBookingDomainInfoResult::parse(const std::string &payload)
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["AuctionId"].isNull())
auctionId_ = std::stoi(value["AuctionId"].asString());

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Domain::Model::QueryBrokerDemandRecordRequest;
QueryBrokerDemandRecordRequest::QueryBrokerDemandRecordRequest() :
RpcServiceRequest("domain", "2018-02-08", "QueryBrokerDemandRecord")
{}
{
setMethod(HttpRequest::Method::Post);
}
QueryBrokerDemandRecordRequest::~QueryBrokerDemandRecordRequest()
{}

View File

@@ -38,18 +38,17 @@ void QueryBrokerDemandRecordResult::parse(const std::string &payload)
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allData = value["Data"]["BrokerDemandRecord"];
for (auto value : allData)
auto allDataNode = value["Data"]["BrokerDemandRecord"];
for (auto valueDataBrokerDemandRecord : allDataNode)
{
BrokerDemandRecord dataObject;
if(!value["BizId"].isNull())
dataObject.bizId = value["BizId"].asString();
if(!value["Description"].isNull())
dataObject.description = value["Description"].asString();
if(!value["CreateTime"].isNull())
dataObject.createTime = std::stol(value["CreateTime"].asString());
if(!valueDataBrokerDemandRecord["BizId"].isNull())
dataObject.bizId = valueDataBrokerDemandRecord["BizId"].asString();
if(!valueDataBrokerDemandRecord["Description"].isNull())
dataObject.description = valueDataBrokerDemandRecord["Description"].asString();
if(!valueDataBrokerDemandRecord["CreateTime"].isNull())
dataObject.createTime = std::stol(valueDataBrokerDemandRecord["CreateTime"].asString());
data_.push_back(dataObject);
}
if(!value["TotalItemNum"].isNull())

View File

@@ -20,7 +20,9 @@ using AlibabaCloud::Domain::Model::QueryBrokerDemandRequest;
QueryBrokerDemandRequest::QueryBrokerDemandRequest() :
RpcServiceRequest("domain", "2018-02-08", "QueryBrokerDemand")
{}
{
setMethod(HttpRequest::Method::Post);
}
QueryBrokerDemandRequest::~QueryBrokerDemandRequest()
{}

View File

@@ -38,34 +38,39 @@ void QueryBrokerDemandResult::parse(const std::string &payload)
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allData = value["Data"]["Demand"];
for (auto value : allData)
auto allDataNode = value["Data"]["Demand"];
for (auto valueDataDemand : allDataNode)
{
Demand dataObject;
if(!value["BizId"].isNull())
dataObject.bizId = value["BizId"].asString();
if(!value["Status"].isNull())
dataObject.status = value["Status"].asString();
if(!value["DemandDomain"].isNull())
dataObject.demandDomain = value["DemandDomain"].asString();
if(!value["DemandPrice"].isNull())
dataObject.demandPrice = std::stof(value["DemandPrice"].asString());
if(!value["Mobile"].isNull())
dataObject.mobile = value["Mobile"].asString();
if(!value["Description"].isNull())
dataObject.description = value["Description"].asString();
if(!value["PublishTime"].isNull())
dataObject.publishTime = std::stol(value["PublishTime"].asString());
if(!value["PayDomain"].isNull())
dataObject.payDomain = value["PayDomain"].asString();
if(!value["PayPrice"].isNull())
dataObject.payPrice = std::stof(value["PayPrice"].asString());
if(!value["PayTime"].isNull())
dataObject.payTime = std::stol(value["PayTime"].asString());
if(!value["ProduceType"].isNull())
dataObject.produceType = std::stoi(value["ProduceType"].asString());
if(!valueDataDemand["BizId"].isNull())
dataObject.bizId = valueDataDemand["BizId"].asString();
if(!valueDataDemand["Status"].isNull())
dataObject.status = valueDataDemand["Status"].asString();
if(!valueDataDemand["DemandDomain"].isNull())
dataObject.demandDomain = valueDataDemand["DemandDomain"].asString();
if(!valueDataDemand["DemandPrice"].isNull())
dataObject.demandPrice = std::stof(valueDataDemand["DemandPrice"].asString());
if(!valueDataDemand["Mobile"].isNull())
dataObject.mobile = valueDataDemand["Mobile"].asString();
if(!valueDataDemand["Description"].isNull())
dataObject.description = valueDataDemand["Description"].asString();
if(!valueDataDemand["PublishTime"].isNull())
dataObject.publishTime = std::stol(valueDataDemand["PublishTime"].asString());
if(!valueDataDemand["PayDomain"].isNull())
dataObject.payDomain = valueDataDemand["PayDomain"].asString();
if(!valueDataDemand["PayPrice"].isNull())
dataObject.payPrice = std::stof(valueDataDemand["PayPrice"].asString());
if(!valueDataDemand["PayTime"].isNull())
dataObject.payTime = std::stol(valueDataDemand["PayTime"].asString());
if(!valueDataDemand["ProduceType"].isNull())
dataObject.produceType = std::stoi(valueDataDemand["ProduceType"].asString());
if(!valueDataDemand["BargainSellerPrice"].isNull())
dataObject.bargainSellerPrice = std::stof(valueDataDemand["BargainSellerPrice"].asString());
if(!valueDataDemand["BargainSellerMobile"].isNull())
dataObject.bargainSellerMobile = valueDataDemand["BargainSellerMobile"].asString();
if(!valueDataDemand["ServicePayPrice"].isNull())
dataObject.servicePayPrice = std::stof(valueDataDemand["ServicePayPrice"].asString());
data_.push_back(dataObject);
}
if(!value["TotalItemNum"].isNull())

View File

@@ -0,0 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/domain/model/QueryDomainTransferStatusRequest.h>
using AlibabaCloud::Domain::Model::QueryDomainTransferStatusRequest;
QueryDomainTransferStatusRequest::QueryDomainTransferStatusRequest() :
RpcServiceRequest("domain", "2018-02-08", "QueryDomainTransferStatus")
{
setMethod(HttpRequest::Method::Post);
}
QueryDomainTransferStatusRequest::~QueryDomainTransferStatusRequest()
{}
std::string QueryDomainTransferStatusRequest::getDomainName()const
{
return domainName_;
}
void QueryDomainTransferStatusRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setBodyParameter("DomainName", domainName);
}

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/domain/model/QueryDomainTransferStatusResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Domain;
using namespace AlibabaCloud::Domain::Model;
QueryDomainTransferStatusResult::QueryDomainTransferStatusResult() :
ServiceResult()
{}
QueryDomainTransferStatusResult::QueryDomainTransferStatusResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryDomainTransferStatusResult::~QueryDomainTransferStatusResult()
{}
void QueryDomainTransferStatusResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDomainTransferStatusNode = value["DomainTransferStatus"]["DomainTransferStatusItem"];
for (auto valueDomainTransferStatusDomainTransferStatusItem : allDomainTransferStatusNode)
{
DomainTransferStatusItem domainTransferStatusObject;
if(!valueDomainTransferStatusDomainTransferStatusItem["DomainStatusDescription"].isNull())
domainTransferStatusObject.domainStatusDescription = valueDomainTransferStatusDomainTransferStatusItem["DomainStatusDescription"].asString();
if(!valueDomainTransferStatusDomainTransferStatusItem["DomainName"].isNull())
domainTransferStatusObject.domainName = valueDomainTransferStatusDomainTransferStatusItem["DomainName"].asString();
domainTransferStatus_.push_back(domainTransferStatusObject);
}
}
std::vector<QueryDomainTransferStatusResult::DomainTransferStatusItem> QueryDomainTransferStatusResult::getDomainTransferStatus()const
{
return domainTransferStatus_;
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/domain/model/QueryOperationAuditInfoDetailRequest.h>
using AlibabaCloud::Domain::Model::QueryOperationAuditInfoDetailRequest;
QueryOperationAuditInfoDetailRequest::QueryOperationAuditInfoDetailRequest() :
RpcServiceRequest("domain", "2018-01-29", "QueryOperationAuditInfoDetail")
{
setMethod(HttpRequest::Method::Post);
}
QueryOperationAuditInfoDetailRequest::~QueryOperationAuditInfoDetailRequest()
{}
long QueryOperationAuditInfoDetailRequest::getAuditRecordId()const
{
return auditRecordId_;
}
void QueryOperationAuditInfoDetailRequest::setAuditRecordId(long auditRecordId)
{
auditRecordId_ = auditRecordId;
setParameter("AuditRecordId", std::to_string(auditRecordId));
}
std::string QueryOperationAuditInfoDetailRequest::getLang()const
{
return lang_;
}
void QueryOperationAuditInfoDetailRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
}

View 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/domain/model/QueryOperationAuditInfoDetailResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Domain;
using namespace AlibabaCloud::Domain::Model;
QueryOperationAuditInfoDetailResult::QueryOperationAuditInfoDetailResult() :
ServiceResult()
{}
QueryOperationAuditInfoDetailResult::QueryOperationAuditInfoDetailResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryOperationAuditInfoDetailResult::~QueryOperationAuditInfoDetailResult()
{}
void QueryOperationAuditInfoDetailResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Id"].isNull())
id_ = value["Id"].asString();
if(!value["CreateTime"].isNull())
createTime_ = std::stol(value["CreateTime"].asString());
if(!value["UpdateTime"].isNull())
updateTime_ = std::stol(value["UpdateTime"].asString());
if(!value["BusinessName"].isNull())
businessName_ = value["BusinessName"].asString();
if(!value["DomainName"].isNull())
domainName_ = value["DomainName"].asString();
if(!value["AuditType"].isNull())
auditType_ = std::stoi(value["AuditType"].asString());
if(!value["AuditStatus"].isNull())
auditStatus_ = std::stoi(value["AuditStatus"].asString());
if(!value["AuditInfo"].isNull())
auditInfo_ = value["AuditInfo"].asString();
if(!value["Remark"].isNull())
remark_ = value["Remark"].asString();
}
std::string QueryOperationAuditInfoDetailResult::getAuditInfo()const
{
return auditInfo_;
}
int QueryOperationAuditInfoDetailResult::getAuditStatus()const
{
return auditStatus_;
}
std::string QueryOperationAuditInfoDetailResult::getBusinessName()const
{
return businessName_;
}
std::string QueryOperationAuditInfoDetailResult::getDomainName()const
{
return domainName_;
}
int QueryOperationAuditInfoDetailResult::getAuditType()const
{
return auditType_;
}
long QueryOperationAuditInfoDetailResult::getCreateTime()const
{
return createTime_;
}
long QueryOperationAuditInfoDetailResult::getUpdateTime()const
{
return updateTime_;
}
std::string QueryOperationAuditInfoDetailResult::getId()const
{
return id_;
}
std::string QueryOperationAuditInfoDetailResult::getRemark()const
{
return remark_;
}

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