Compare commits

...

23 Commits

Author SHA1 Message Date
sdk-team
05785cf5fd ChatApp third version. 2020-10-12 01:52:38 +00:00
sdk-team
15b4e73175 Update Scdn API. 2020-10-09 07:40:30 +00:00
sdk-team
e1f296f89d Update DescribeCdnUserBillHistory API. 2020-10-09 06:46:57 +00:00
sdk-team
8615dbe002 Update SetVideoSeekConfig API. 2020-10-09 02:45:24 +00:00
sdk-team
8fd81bf1dd Add API OpenOnsService which can active ons service. 2020-09-29 13:19:22 +00:00
sdk-team
88f0753937 Add API OpenOnsService which can active ons service. 2020-09-29 11:12:25 +00:00
sdk-team
c93100c1b5 Update CalcCACS. 2020-09-29 10:04:38 +00:00
sdk-team
c5dd7f096e Add API OpenOnsService which can active ons service. 2020-09-29 09:46:01 +00:00
sdk-team
e3b1009a94 Add API OpenOnsService which can active ons service. 2020-09-29 08:44:45 +00:00
sdk-team
37c044aa31 Supported regional API. 2020-09-29 07:23:09 +00:00
sdk-team
5aead39d0e Update Scdn API. 2020-09-28 16:29:31 +00:00
sdk-team
b9a7e15af4 Support for resize hbaseue multi-zone cluster. 2020-09-28 14:27:27 +00:00
sdk-team
60799e2b22 Support filtering keys and secrets. 2020-09-28 05:07:41 +00:00
sdk-team
d4c20caaed Update domain API. 2020-09-27 09:31:12 +00:00
sdk-team
f2caf37a92 Update domain API. 2020-09-27 09:25:54 +00:00
sdk-team
b31d71fa81 Support Open Service API. 2020-09-27 02:38:25 +00:00
sdk-team
7ee07b8331 DescribeAvailableResource support list available resource for modify instance. 2020-09-27 01:58:53 +00:00
sdk-team
cfb09d135f Public beta version. 2020-09-25 02:09:32 +00:00
sdk-team
c1b1b41108 Public beta version. 2020-09-25 01:47:01 +00:00
sdk-team
08b2ac884b Support create for serverlesshbase. 2020-09-24 13:40:31 +00:00
sdk-team
84a2c24970 ContrastFaceVerify API Add Model Parameter. 2020-09-24 07:54:40 +00:00
sdk-team
d088239972 Add a new api named SubmitAIImageAuditJob to submit image ai detection job. 2020-09-24 03:24:57 +00:00
sdk-team
f014392806 Add spotDuration support. 2020-09-23 09:45:22 +00:00
236 changed files with 10604 additions and 249 deletions

View File

@@ -1,3 +1,81 @@
2020-10-12 Version: patch
- ChatApp third version.
- Add contack check api.
2020-10-09 Version: patch
- Update Scdn API.
2020-10-09 Version: patch
- Update DescribeCdnUserBillHistory API.
2020-10-09 Version: patch
- Update SetVideoSeekConfig API.
2020-09-29 Version: patch
- Add API OpenOnsService which can active ons service.
2020-09-29 Version: patch
- Add API OpenOnsService which can active ons service.
2020-09-29 Version: patch
- Update CalcCACS.
2020-09-29 Version: patch
- Add API OpenOnsService which can active ons service.
2020-09-29 Version: patch
- Add API OpenOnsService which can active ons service.
2020-09-29 Version: patch
- Supported regional API.
2020-09-28 Version: patch
- Update Scdn API.
2020-09-28 Version: patch
- Support for resize hbaseue multi-zone cluster.
2020-09-28 Version: patch
- Support filtering keys and secrets.
- Support opening KMS service and describing service status by API.
- Add a prefix limitation for SecretName.
2020-09-27 Version: patch
- Update domain API.
2020-09-27 Version: patch
- Update domain API.
2020-09-27 Version: patch
- Support Open Service API.
2020-09-27 Version: patch
- DescribeAvailableResource support list available resource for modify instance.
2020-09-25 Version: patch
- Public beta version.
- Add Api Overseas.
2020-09-25 Version: patch
- Public beta version.
- Add Api Overseas.
2020-09-24 Version: patch
- Support create for serverlesshbase.
2020-09-24 Version: patch
- ContrastFaceVerify API Add Model Parameter.
2020-09-24 Version: patch
- Add a new api named SubmitAIImageAuditJob to submit image ai detection job.
- Add a new api named CreateDNADB to create a DNA analysis library.
- Add a new api named ListDNADB to query the list of DNA analysis libraries.
- Add a new api named GetDNADB to query specified DNA analysis library.
- Add a new field DNADBId to the request parameter Config structure for SubmitAIJob api.
2020-09-23 Version: patch
- Add spotDuration support.
2020-09-23 Version: patch
- Some new parameters are supported.

View File

@@ -65,8 +65,12 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/EndDeviceMeetingResult.h
include/alibabacloud/aliyuncvc/model/EndLiveRequest.h
include/alibabacloud/aliyuncvc/model/EndLiveResult.h
include/alibabacloud/aliyuncvc/model/GetAccountInfoRequest.h
include/alibabacloud/aliyuncvc/model/GetAccountInfoResult.h
include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeRequest.h
include/alibabacloud/aliyuncvc/model/GetDeviceActiveCodeResult.h
include/alibabacloud/aliyuncvc/model/GetDeviceInfoRequest.h
include/alibabacloud/aliyuncvc/model/GetDeviceInfoResult.h
include/alibabacloud/aliyuncvc/model/GetDeviceTokenRequest.h
include/alibabacloud/aliyuncvc/model/GetDeviceTokenResult.h
include/alibabacloud/aliyuncvc/model/GetMeetingRequest.h
@@ -77,6 +81,8 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/GetMeetingMemberResult.h
include/alibabacloud/aliyuncvc/model/GetMembersRequest.h
include/alibabacloud/aliyuncvc/model/GetMembersResult.h
include/alibabacloud/aliyuncvc/model/GetStatisticRequest.h
include/alibabacloud/aliyuncvc/model/GetStatisticResult.h
include/alibabacloud/aliyuncvc/model/GetUserRequest.h
include/alibabacloud/aliyuncvc/model/GetUserResult.h
include/alibabacloud/aliyuncvc/model/InviteUserRequest.h
@@ -89,6 +95,8 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/JoinMeetingResult.h
include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalRequest.h
include/alibabacloud/aliyuncvc/model/JoinMeetingInternationalResult.h
include/alibabacloud/aliyuncvc/model/ListConferenceDevicesRequest.h
include/alibabacloud/aliyuncvc/model/ListConferenceDevicesResult.h
include/alibabacloud/aliyuncvc/model/ListDeviceIpRequest.h
include/alibabacloud/aliyuncvc/model/ListDeviceIpResult.h
include/alibabacloud/aliyuncvc/model/ListDevicesRequest.h
@@ -101,10 +109,14 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/ListMembersResult.h
include/alibabacloud/aliyuncvc/model/ListUsersRequest.h
include/alibabacloud/aliyuncvc/model/ListUsersResult.h
include/alibabacloud/aliyuncvc/model/ModifyDeviceBackgroundRequest.h
include/alibabacloud/aliyuncvc/model/ModifyDeviceBackgroundResult.h
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordRequest.h
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordResult.h
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalRequest.h
include/alibabacloud/aliyuncvc/model/ModifyMeetingPasswordInternationalResult.h
include/alibabacloud/aliyuncvc/model/RefreshDeviceScreenCodeRequest.h
include/alibabacloud/aliyuncvc/model/RefreshDeviceScreenCodeResult.h
include/alibabacloud/aliyuncvc/model/RegisterDeviceRequest.h
include/alibabacloud/aliyuncvc/model/RegisterDeviceResult.h
include/alibabacloud/aliyuncvc/model/RegisterUemDeviceRequest.h
@@ -115,6 +127,8 @@ set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/StartLiveResult.h
include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatRequest.h
include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatResult.h
include/alibabacloud/aliyuncvc/model/UpdateDeviceStartupPictureRequest.h
include/alibabacloud/aliyuncvc/model/UpdateDeviceStartupPictureResult.h
include/alibabacloud/aliyuncvc/model/UpdateGonggeLayoutRequest.h
include/alibabacloud/aliyuncvc/model/UpdateGonggeLayoutResult.h
include/alibabacloud/aliyuncvc/model/UpdateLivePasswordRequest.h
@@ -166,8 +180,12 @@ set(aliyuncvc_src
src/model/EndDeviceMeetingResult.cc
src/model/EndLiveRequest.cc
src/model/EndLiveResult.cc
src/model/GetAccountInfoRequest.cc
src/model/GetAccountInfoResult.cc
src/model/GetDeviceActiveCodeRequest.cc
src/model/GetDeviceActiveCodeResult.cc
src/model/GetDeviceInfoRequest.cc
src/model/GetDeviceInfoResult.cc
src/model/GetDeviceTokenRequest.cc
src/model/GetDeviceTokenResult.cc
src/model/GetMeetingRequest.cc
@@ -178,6 +196,8 @@ set(aliyuncvc_src
src/model/GetMeetingMemberResult.cc
src/model/GetMembersRequest.cc
src/model/GetMembersResult.cc
src/model/GetStatisticRequest.cc
src/model/GetStatisticResult.cc
src/model/GetUserRequest.cc
src/model/GetUserResult.cc
src/model/InviteUserRequest.cc
@@ -190,6 +210,8 @@ set(aliyuncvc_src
src/model/JoinMeetingResult.cc
src/model/JoinMeetingInternationalRequest.cc
src/model/JoinMeetingInternationalResult.cc
src/model/ListConferenceDevicesRequest.cc
src/model/ListConferenceDevicesResult.cc
src/model/ListDeviceIpRequest.cc
src/model/ListDeviceIpResult.cc
src/model/ListDevicesRequest.cc
@@ -202,10 +224,14 @@ set(aliyuncvc_src
src/model/ListMembersResult.cc
src/model/ListUsersRequest.cc
src/model/ListUsersResult.cc
src/model/ModifyDeviceBackgroundRequest.cc
src/model/ModifyDeviceBackgroundResult.cc
src/model/ModifyMeetingPasswordRequest.cc
src/model/ModifyMeetingPasswordResult.cc
src/model/ModifyMeetingPasswordInternationalRequest.cc
src/model/ModifyMeetingPasswordInternationalResult.cc
src/model/RefreshDeviceScreenCodeRequest.cc
src/model/RefreshDeviceScreenCodeResult.cc
src/model/RegisterDeviceRequest.cc
src/model/RegisterDeviceResult.cc
src/model/RegisterUemDeviceRequest.cc
@@ -216,6 +242,8 @@ set(aliyuncvc_src
src/model/StartLiveResult.cc
src/model/UpdateDeviceHeartBeatRequest.cc
src/model/UpdateDeviceHeartBeatResult.cc
src/model/UpdateDeviceStartupPictureRequest.cc
src/model/UpdateDeviceStartupPictureResult.cc
src/model/UpdateGonggeLayoutRequest.cc
src/model/UpdateGonggeLayoutResult.cc
src/model/UpdateLivePasswordRequest.cc

View File

@@ -66,8 +66,12 @@
#include "model/EndDeviceMeetingResult.h"
#include "model/EndLiveRequest.h"
#include "model/EndLiveResult.h"
#include "model/GetAccountInfoRequest.h"
#include "model/GetAccountInfoResult.h"
#include "model/GetDeviceActiveCodeRequest.h"
#include "model/GetDeviceActiveCodeResult.h"
#include "model/GetDeviceInfoRequest.h"
#include "model/GetDeviceInfoResult.h"
#include "model/GetDeviceTokenRequest.h"
#include "model/GetDeviceTokenResult.h"
#include "model/GetMeetingRequest.h"
@@ -78,6 +82,8 @@
#include "model/GetMeetingMemberResult.h"
#include "model/GetMembersRequest.h"
#include "model/GetMembersResult.h"
#include "model/GetStatisticRequest.h"
#include "model/GetStatisticResult.h"
#include "model/GetUserRequest.h"
#include "model/GetUserResult.h"
#include "model/InviteUserRequest.h"
@@ -90,6 +96,8 @@
#include "model/JoinMeetingResult.h"
#include "model/JoinMeetingInternationalRequest.h"
#include "model/JoinMeetingInternationalResult.h"
#include "model/ListConferenceDevicesRequest.h"
#include "model/ListConferenceDevicesResult.h"
#include "model/ListDeviceIpRequest.h"
#include "model/ListDeviceIpResult.h"
#include "model/ListDevicesRequest.h"
@@ -102,10 +110,14 @@
#include "model/ListMembersResult.h"
#include "model/ListUsersRequest.h"
#include "model/ListUsersResult.h"
#include "model/ModifyDeviceBackgroundRequest.h"
#include "model/ModifyDeviceBackgroundResult.h"
#include "model/ModifyMeetingPasswordRequest.h"
#include "model/ModifyMeetingPasswordResult.h"
#include "model/ModifyMeetingPasswordInternationalRequest.h"
#include "model/ModifyMeetingPasswordInternationalResult.h"
#include "model/RefreshDeviceScreenCodeRequest.h"
#include "model/RefreshDeviceScreenCodeResult.h"
#include "model/RegisterDeviceRequest.h"
#include "model/RegisterDeviceResult.h"
#include "model/RegisterUemDeviceRequest.h"
@@ -116,6 +128,8 @@
#include "model/StartLiveResult.h"
#include "model/UpdateDeviceHeartBeatRequest.h"
#include "model/UpdateDeviceHeartBeatResult.h"
#include "model/UpdateDeviceStartupPictureRequest.h"
#include "model/UpdateDeviceStartupPictureResult.h"
#include "model/UpdateGonggeLayoutRequest.h"
#include "model/UpdateGonggeLayoutResult.h"
#include "model/UpdateLivePasswordRequest.h"
@@ -195,9 +209,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::EndLiveResult> EndLiveOutcome;
typedef std::future<EndLiveOutcome> EndLiveOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::EndLiveRequest&, const EndLiveOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EndLiveAsyncHandler;
typedef Outcome<Error, Model::GetAccountInfoResult> GetAccountInfoOutcome;
typedef std::future<GetAccountInfoOutcome> GetAccountInfoOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::GetAccountInfoRequest&, const GetAccountInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAccountInfoAsyncHandler;
typedef Outcome<Error, Model::GetDeviceActiveCodeResult> GetDeviceActiveCodeOutcome;
typedef std::future<GetDeviceActiveCodeOutcome> GetDeviceActiveCodeOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceActiveCodeRequest&, const GetDeviceActiveCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceActiveCodeAsyncHandler;
typedef Outcome<Error, Model::GetDeviceInfoResult> GetDeviceInfoOutcome;
typedef std::future<GetDeviceInfoOutcome> GetDeviceInfoOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceInfoRequest&, const GetDeviceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceInfoAsyncHandler;
typedef Outcome<Error, Model::GetDeviceTokenResult> GetDeviceTokenOutcome;
typedef std::future<GetDeviceTokenOutcome> GetDeviceTokenOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::GetDeviceTokenRequest&, const GetDeviceTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceTokenAsyncHandler;
@@ -213,6 +233,9 @@ namespace AlibabaCloud
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::GetStatisticResult> GetStatisticOutcome;
typedef std::future<GetStatisticOutcome> GetStatisticOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::GetStatisticRequest&, const GetStatisticOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetStatisticAsyncHandler;
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;
@@ -231,6 +254,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::JoinMeetingInternationalResult> JoinMeetingInternationalOutcome;
typedef std::future<JoinMeetingInternationalOutcome> JoinMeetingInternationalOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::JoinMeetingInternationalRequest&, const JoinMeetingInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> JoinMeetingInternationalAsyncHandler;
typedef Outcome<Error, Model::ListConferenceDevicesResult> ListConferenceDevicesOutcome;
typedef std::future<ListConferenceDevicesOutcome> ListConferenceDevicesOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ListConferenceDevicesRequest&, const ListConferenceDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListConferenceDevicesAsyncHandler;
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;
@@ -249,12 +275,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListUsersResult> ListUsersOutcome;
typedef std::future<ListUsersOutcome> ListUsersOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ListUsersRequest&, const ListUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUsersAsyncHandler;
typedef Outcome<Error, Model::ModifyDeviceBackgroundResult> ModifyDeviceBackgroundOutcome;
typedef std::future<ModifyDeviceBackgroundOutcome> ModifyDeviceBackgroundOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ModifyDeviceBackgroundRequest&, const ModifyDeviceBackgroundOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDeviceBackgroundAsyncHandler;
typedef Outcome<Error, Model::ModifyMeetingPasswordResult> ModifyMeetingPasswordOutcome;
typedef std::future<ModifyMeetingPasswordOutcome> ModifyMeetingPasswordOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ModifyMeetingPasswordRequest&, const ModifyMeetingPasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMeetingPasswordAsyncHandler;
typedef Outcome<Error, Model::ModifyMeetingPasswordInternationalResult> ModifyMeetingPasswordInternationalOutcome;
typedef std::future<ModifyMeetingPasswordInternationalOutcome> ModifyMeetingPasswordInternationalOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ModifyMeetingPasswordInternationalRequest&, const ModifyMeetingPasswordInternationalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMeetingPasswordInternationalAsyncHandler;
typedef Outcome<Error, Model::RefreshDeviceScreenCodeResult> RefreshDeviceScreenCodeOutcome;
typedef std::future<RefreshDeviceScreenCodeOutcome> RefreshDeviceScreenCodeOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::RefreshDeviceScreenCodeRequest&, const RefreshDeviceScreenCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RefreshDeviceScreenCodeAsyncHandler;
typedef Outcome<Error, Model::RegisterDeviceResult> RegisterDeviceOutcome;
typedef std::future<RegisterDeviceOutcome> RegisterDeviceOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::RegisterDeviceRequest&, const RegisterDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterDeviceAsyncHandler;
@@ -270,6 +302,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UpdateDeviceHeartBeatResult> UpdateDeviceHeartBeatOutcome;
typedef std::future<UpdateDeviceHeartBeatOutcome> UpdateDeviceHeartBeatOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::UpdateDeviceHeartBeatRequest&, const UpdateDeviceHeartBeatOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDeviceHeartBeatAsyncHandler;
typedef Outcome<Error, Model::UpdateDeviceStartupPictureResult> UpdateDeviceStartupPictureOutcome;
typedef std::future<UpdateDeviceStartupPictureOutcome> UpdateDeviceStartupPictureOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::UpdateDeviceStartupPictureRequest&, const UpdateDeviceStartupPictureOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDeviceStartupPictureAsyncHandler;
typedef Outcome<Error, Model::UpdateGonggeLayoutResult> UpdateGonggeLayoutOutcome;
typedef std::future<UpdateGonggeLayoutOutcome> UpdateGonggeLayoutOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::UpdateGonggeLayoutRequest&, const UpdateGonggeLayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateGonggeLayoutAsyncHandler;
@@ -347,9 +382,15 @@ namespace AlibabaCloud
EndLiveOutcome endLive(const Model::EndLiveRequest &request)const;
void endLiveAsync(const Model::EndLiveRequest& request, const EndLiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EndLiveOutcomeCallable endLiveCallable(const Model::EndLiveRequest& request) const;
GetAccountInfoOutcome getAccountInfo(const Model::GetAccountInfoRequest &request)const;
void getAccountInfoAsync(const Model::GetAccountInfoRequest& request, const GetAccountInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAccountInfoOutcomeCallable getAccountInfoCallable(const Model::GetAccountInfoRequest& request) const;
GetDeviceActiveCodeOutcome getDeviceActiveCode(const Model::GetDeviceActiveCodeRequest &request)const;
void getDeviceActiveCodeAsync(const Model::GetDeviceActiveCodeRequest& request, const GetDeviceActiveCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDeviceActiveCodeOutcomeCallable getDeviceActiveCodeCallable(const Model::GetDeviceActiveCodeRequest& request) const;
GetDeviceInfoOutcome getDeviceInfo(const Model::GetDeviceInfoRequest &request)const;
void getDeviceInfoAsync(const Model::GetDeviceInfoRequest& request, const GetDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDeviceInfoOutcomeCallable getDeviceInfoCallable(const Model::GetDeviceInfoRequest& request) const;
GetDeviceTokenOutcome getDeviceToken(const Model::GetDeviceTokenRequest &request)const;
void getDeviceTokenAsync(const Model::GetDeviceTokenRequest& request, const GetDeviceTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDeviceTokenOutcomeCallable getDeviceTokenCallable(const Model::GetDeviceTokenRequest& request) const;
@@ -365,6 +406,9 @@ namespace AlibabaCloud
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;
GetStatisticOutcome getStatistic(const Model::GetStatisticRequest &request)const;
void getStatisticAsync(const Model::GetStatisticRequest& request, const GetStatisticAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetStatisticOutcomeCallable getStatisticCallable(const Model::GetStatisticRequest& 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;
@@ -383,6 +427,9 @@ namespace AlibabaCloud
JoinMeetingInternationalOutcome joinMeetingInternational(const Model::JoinMeetingInternationalRequest &request)const;
void joinMeetingInternationalAsync(const Model::JoinMeetingInternationalRequest& request, const JoinMeetingInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
JoinMeetingInternationalOutcomeCallable joinMeetingInternationalCallable(const Model::JoinMeetingInternationalRequest& request) const;
ListConferenceDevicesOutcome listConferenceDevices(const Model::ListConferenceDevicesRequest &request)const;
void listConferenceDevicesAsync(const Model::ListConferenceDevicesRequest& request, const ListConferenceDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListConferenceDevicesOutcomeCallable listConferenceDevicesCallable(const Model::ListConferenceDevicesRequest& request) const;
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;
@@ -401,12 +448,18 @@ namespace AlibabaCloud
ListUsersOutcome listUsers(const Model::ListUsersRequest &request)const;
void listUsersAsync(const Model::ListUsersRequest& request, const ListUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListUsersOutcomeCallable listUsersCallable(const Model::ListUsersRequest& request) const;
ModifyDeviceBackgroundOutcome modifyDeviceBackground(const Model::ModifyDeviceBackgroundRequest &request)const;
void modifyDeviceBackgroundAsync(const Model::ModifyDeviceBackgroundRequest& request, const ModifyDeviceBackgroundAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDeviceBackgroundOutcomeCallable modifyDeviceBackgroundCallable(const Model::ModifyDeviceBackgroundRequest& request) const;
ModifyMeetingPasswordOutcome modifyMeetingPassword(const Model::ModifyMeetingPasswordRequest &request)const;
void modifyMeetingPasswordAsync(const Model::ModifyMeetingPasswordRequest& request, const ModifyMeetingPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyMeetingPasswordOutcomeCallable modifyMeetingPasswordCallable(const Model::ModifyMeetingPasswordRequest& request) const;
ModifyMeetingPasswordInternationalOutcome modifyMeetingPasswordInternational(const Model::ModifyMeetingPasswordInternationalRequest &request)const;
void modifyMeetingPasswordInternationalAsync(const Model::ModifyMeetingPasswordInternationalRequest& request, const ModifyMeetingPasswordInternationalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyMeetingPasswordInternationalOutcomeCallable modifyMeetingPasswordInternationalCallable(const Model::ModifyMeetingPasswordInternationalRequest& request) const;
RefreshDeviceScreenCodeOutcome refreshDeviceScreenCode(const Model::RefreshDeviceScreenCodeRequest &request)const;
void refreshDeviceScreenCodeAsync(const Model::RefreshDeviceScreenCodeRequest& request, const RefreshDeviceScreenCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RefreshDeviceScreenCodeOutcomeCallable refreshDeviceScreenCodeCallable(const Model::RefreshDeviceScreenCodeRequest& request) const;
RegisterDeviceOutcome registerDevice(const Model::RegisterDeviceRequest &request)const;
void registerDeviceAsync(const Model::RegisterDeviceRequest& request, const RegisterDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RegisterDeviceOutcomeCallable registerDeviceCallable(const Model::RegisterDeviceRequest& request) const;
@@ -422,6 +475,9 @@ namespace AlibabaCloud
UpdateDeviceHeartBeatOutcome updateDeviceHeartBeat(const Model::UpdateDeviceHeartBeatRequest &request)const;
void updateDeviceHeartBeatAsync(const Model::UpdateDeviceHeartBeatRequest& request, const UpdateDeviceHeartBeatAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateDeviceHeartBeatOutcomeCallable updateDeviceHeartBeatCallable(const Model::UpdateDeviceHeartBeatRequest& request) const;
UpdateDeviceStartupPictureOutcome updateDeviceStartupPicture(const Model::UpdateDeviceStartupPictureRequest &request)const;
void updateDeviceStartupPictureAsync(const Model::UpdateDeviceStartupPictureRequest& request, const UpdateDeviceStartupPictureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateDeviceStartupPictureOutcomeCallable updateDeviceStartupPictureCallable(const Model::UpdateDeviceStartupPictureRequest& request) const;
UpdateGonggeLayoutOutcome updateGonggeLayout(const Model::UpdateGonggeLayoutRequest &request)const;
void updateGonggeLayoutAsync(const Model::UpdateGonggeLayoutRequest& request, const UpdateGonggeLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateGonggeLayoutOutcomeCallable updateGonggeLayoutCallable(const Model::UpdateGonggeLayoutRequest& request) const;

View File

@@ -39,14 +39,14 @@ namespace AlibabaCloud
~DeleteUserResult();
std::string getMessage()const;
int getErrorCode()const;
std::string getSuccess()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int errorCode_;
std::string success_;
bool success_;
};
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETACCOUNTINFOREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETACCOUNTINFOREQUEST_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 GetAccountInfoRequest : public RpcServiceRequest
{
public:
GetAccountInfoRequest();
~GetAccountInfoRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETACCOUNTINFOREQUEST_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_ALIYUNCVC_MODEL_GETACCOUNTINFORESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETACCOUNTINFORESULT_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 GetAccountInfoResult : public ServiceResult
{
public:
struct AccountInfo
{
int accountApplicationNumber;
int accountApplicationMax;
int accountConcurrentMax;
};
GetAccountInfoResult();
explicit GetAccountInfoResult(const std::string &payload);
~GetAccountInfoResult();
std::string getMessage()const;
int getErrorCode()const;
AccountInfo getAccountInfo()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int errorCode_;
AccountInfo accountInfo_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETACCOUNTINFORESULT_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_GETDEVICEINFOREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEINFOREQUEST_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 GetDeviceInfoRequest : public RpcServiceRequest
{
public:
GetDeviceInfoRequest();
~GetDeviceInfoRequest();
std::string getCastScreenCode()const;
void setCastScreenCode(const std::string& castScreenCode);
private:
std::string castScreenCode_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEINFOREQUEST_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_ALIYUNCVC_MODEL_GETDEVICEINFORESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEINFORESULT_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 GetDeviceInfoResult : public ServiceResult
{
public:
struct Device
{
int status;
std::string castScreenCode;
std::string iP;
std::string sn;
std::string ssid;
std::string activationCode;
std::string mac;
};
GetDeviceInfoResult();
explicit GetDeviceInfoResult(const std::string &payload);
~GetDeviceInfoResult();
std::string getMessage()const;
Device getDevice()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Device device_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETDEVICEINFORESULT_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_ALIYUNCVC_MODEL_GETSTATISTICREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETSTATISTICREQUEST_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 GetStatisticRequest : public RpcServiceRequest
{
public:
GetStatisticRequest();
~GetStatisticRequest();
long getEndTime()const;
void setEndTime(long endTime);
long getStartTime()const;
void setStartTime(long startTime);
private:
long endTime_;
long startTime_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETSTATISTICREQUEST_H_

View File

@@ -0,0 +1,64 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_GETSTATISTICRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETSTATISTICRESULT_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 GetStatisticResult : public ServiceResult
{
public:
struct StatisticInfo
{
long meetingNumber;
long memberNumber;
long maxConcurrency;
long meetingDuration;
};
GetStatisticResult();
explicit GetStatisticResult(const std::string &payload);
~GetStatisticResult();
std::string getMessage()const;
StatisticInfo getStatisticInfo()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
StatisticInfo statisticInfo_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETSTATISTICRESULT_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_ALIYUNCVC_MODEL_LISTCONFERENCEDEVICESREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCONFERENCEDEVICESREQUEST_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 ListConferenceDevicesRequest : public RpcServiceRequest
{
public:
ListConferenceDevicesRequest();
~ListConferenceDevicesRequest();
std::string getSerialNumber()const;
void setSerialNumber(const std::string& serialNumber);
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string serialNumber_;
int pageNumber_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCONFERENCEDEVICESREQUEST_H_

View File

@@ -0,0 +1,77 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_LISTCONFERENCEDEVICESRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCONFERENCEDEVICESRESULT_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 ListConferenceDevicesResult : public ServiceResult
{
public:
struct Data
{
struct Data
{
std::string deviceModel;
std::string status;
std::string castScreenCode;
std::string createTime;
std::string manufacturer;
std::string pictureUrl;
std::string sN;
std::string conferenceName;
std::string activationCode;
std::string conferenceCode;
};
std::vector<Data> conferences;
int pageSize;
int pageNumber;
int total;
};
ListConferenceDevicesResult();
explicit ListConferenceDevicesResult(const std::string &payload);
~ListConferenceDevicesResult();
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_LISTCONFERENCEDEVICESRESULT_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_ALIYUNCVC_MODEL_MODIFYDEVICEBACKGROUNDREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYDEVICEBACKGROUNDREQUEST_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 ModifyDeviceBackgroundRequest : public RpcServiceRequest
{
public:
ModifyDeviceBackgroundRequest();
~ModifyDeviceBackgroundRequest();
std::string getSerialNumber()const;
void setSerialNumber(const std::string& serialNumber);
std::string getPicture()const;
void setPicture(const std::string& picture);
private:
std::string serialNumber_;
std::string picture_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYDEVICEBACKGROUNDREQUEST_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_MODIFYDEVICEBACKGROUNDRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_MODIFYDEVICEBACKGROUNDRESULT_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 ModifyDeviceBackgroundResult : public ServiceResult
{
public:
ModifyDeviceBackgroundResult();
explicit ModifyDeviceBackgroundResult(const std::string &payload);
~ModifyDeviceBackgroundResult();
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_MODIFYDEVICEBACKGROUNDRESULT_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_REFRESHDEVICESCREENCODEREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_REFRESHDEVICESCREENCODEREQUEST_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 RefreshDeviceScreenCodeRequest : public RpcServiceRequest
{
public:
RefreshDeviceScreenCodeRequest();
~RefreshDeviceScreenCodeRequest();
std::string getSerialNumber()const;
void setSerialNumber(const std::string& serialNumber);
private:
std::string serialNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REFRESHDEVICESCREENCODEREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_REFRESHDEVICESCREENCODERESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_REFRESHDEVICESCREENCODERESULT_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 RefreshDeviceScreenCodeResult : public ServiceResult
{
public:
struct Data
{
std::string screenCode;
std::string serialNumber;
};
RefreshDeviceScreenCodeResult();
explicit RefreshDeviceScreenCodeResult(const std::string &payload);
~RefreshDeviceScreenCodeResult();
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_REFRESHDEVICESCREENCODERESULT_H_

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
void setIP(const std::string& iP);
std::string getGroupId()const;
void setGroupId(const std::string& groupId);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getDeviceId()const;
void setDeviceId(const std::string& deviceId);
std::string getGroupName()const;
@@ -51,6 +53,7 @@ namespace AlibabaCloud
private:
std::string iP_;
std::string groupId_;
std::string ownerId_;
std::string deviceId_;
std::string groupName_;
std::string mac_;

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_UPDATEDEVICESTARTUPPICTUREREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICESTARTUPPICTUREREQUEST_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 UpdateDeviceStartupPictureRequest : public RpcServiceRequest
{
public:
UpdateDeviceStartupPictureRequest();
~UpdateDeviceStartupPictureRequest();
std::string getSerialNumber()const;
void setSerialNumber(const std::string& serialNumber);
std::string getPicture()const;
void setPicture(const std::string& picture);
private:
std::string serialNumber_;
std::string picture_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICESTARTUPPICTUREREQUEST_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_UPDATEDEVICESTARTUPPICTURERESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_UPDATEDEVICESTARTUPPICTURERESULT_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 UpdateDeviceStartupPictureResult : public ServiceResult
{
public:
UpdateDeviceStartupPictureResult();
explicit UpdateDeviceStartupPictureResult(const std::string &payload);
~UpdateDeviceStartupPictureResult();
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_UPDATEDEVICESTARTUPPICTURERESULT_H_

View File

@@ -843,6 +843,42 @@ AliyuncvcClient::EndLiveOutcomeCallable AliyuncvcClient::endLiveCallable(const E
return task->get_future();
}
AliyuncvcClient::GetAccountInfoOutcome AliyuncvcClient::getAccountInfo(const GetAccountInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetAccountInfoOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetAccountInfoOutcome(GetAccountInfoResult(outcome.result()));
else
return GetAccountInfoOutcome(outcome.error());
}
void AliyuncvcClient::getAccountInfoAsync(const GetAccountInfoRequest& request, const GetAccountInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getAccountInfo(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::GetAccountInfoOutcomeCallable AliyuncvcClient::getAccountInfoCallable(const GetAccountInfoRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetAccountInfoOutcome()>>(
[this, request]()
{
return this->getAccountInfo(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::GetDeviceActiveCodeOutcome AliyuncvcClient::getDeviceActiveCode(const GetDeviceActiveCodeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -879,6 +915,42 @@ AliyuncvcClient::GetDeviceActiveCodeOutcomeCallable AliyuncvcClient::getDeviceAc
return task->get_future();
}
AliyuncvcClient::GetDeviceInfoOutcome AliyuncvcClient::getDeviceInfo(const GetDeviceInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetDeviceInfoOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetDeviceInfoOutcome(GetDeviceInfoResult(outcome.result()));
else
return GetDeviceInfoOutcome(outcome.error());
}
void AliyuncvcClient::getDeviceInfoAsync(const GetDeviceInfoRequest& request, const GetDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getDeviceInfo(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::GetDeviceInfoOutcomeCallable AliyuncvcClient::getDeviceInfoCallable(const GetDeviceInfoRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetDeviceInfoOutcome()>>(
[this, request]()
{
return this->getDeviceInfo(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::GetDeviceTokenOutcome AliyuncvcClient::getDeviceToken(const GetDeviceTokenRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1059,6 +1131,42 @@ AliyuncvcClient::GetMembersOutcomeCallable AliyuncvcClient::getMembersCallable(c
return task->get_future();
}
AliyuncvcClient::GetStatisticOutcome AliyuncvcClient::getStatistic(const GetStatisticRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetStatisticOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetStatisticOutcome(GetStatisticResult(outcome.result()));
else
return GetStatisticOutcome(outcome.error());
}
void AliyuncvcClient::getStatisticAsync(const GetStatisticRequest& request, const GetStatisticAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getStatistic(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::GetStatisticOutcomeCallable AliyuncvcClient::getStatisticCallable(const GetStatisticRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetStatisticOutcome()>>(
[this, request]()
{
return this->getStatistic(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::GetUserOutcome AliyuncvcClient::getUser(const GetUserRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1275,6 +1383,42 @@ AliyuncvcClient::JoinMeetingInternationalOutcomeCallable AliyuncvcClient::joinMe
return task->get_future();
}
AliyuncvcClient::ListConferenceDevicesOutcome AliyuncvcClient::listConferenceDevices(const ListConferenceDevicesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListConferenceDevicesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListConferenceDevicesOutcome(ListConferenceDevicesResult(outcome.result()));
else
return ListConferenceDevicesOutcome(outcome.error());
}
void AliyuncvcClient::listConferenceDevicesAsync(const ListConferenceDevicesRequest& request, const ListConferenceDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listConferenceDevices(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::ListConferenceDevicesOutcomeCallable AliyuncvcClient::listConferenceDevicesCallable(const ListConferenceDevicesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListConferenceDevicesOutcome()>>(
[this, request]()
{
return this->listConferenceDevices(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::ListDeviceIpOutcome AliyuncvcClient::listDeviceIp(const ListDeviceIpRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1491,6 +1635,42 @@ AliyuncvcClient::ListUsersOutcomeCallable AliyuncvcClient::listUsersCallable(con
return task->get_future();
}
AliyuncvcClient::ModifyDeviceBackgroundOutcome AliyuncvcClient::modifyDeviceBackground(const ModifyDeviceBackgroundRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyDeviceBackgroundOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ModifyDeviceBackgroundOutcome(ModifyDeviceBackgroundResult(outcome.result()));
else
return ModifyDeviceBackgroundOutcome(outcome.error());
}
void AliyuncvcClient::modifyDeviceBackgroundAsync(const ModifyDeviceBackgroundRequest& request, const ModifyDeviceBackgroundAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, modifyDeviceBackground(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::ModifyDeviceBackgroundOutcomeCallable AliyuncvcClient::modifyDeviceBackgroundCallable(const ModifyDeviceBackgroundRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ModifyDeviceBackgroundOutcome()>>(
[this, request]()
{
return this->modifyDeviceBackground(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::ModifyMeetingPasswordOutcome AliyuncvcClient::modifyMeetingPassword(const ModifyMeetingPasswordRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1563,6 +1743,42 @@ AliyuncvcClient::ModifyMeetingPasswordInternationalOutcomeCallable AliyuncvcClie
return task->get_future();
}
AliyuncvcClient::RefreshDeviceScreenCodeOutcome AliyuncvcClient::refreshDeviceScreenCode(const RefreshDeviceScreenCodeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RefreshDeviceScreenCodeOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return RefreshDeviceScreenCodeOutcome(RefreshDeviceScreenCodeResult(outcome.result()));
else
return RefreshDeviceScreenCodeOutcome(outcome.error());
}
void AliyuncvcClient::refreshDeviceScreenCodeAsync(const RefreshDeviceScreenCodeRequest& request, const RefreshDeviceScreenCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, refreshDeviceScreenCode(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::RefreshDeviceScreenCodeOutcomeCallable AliyuncvcClient::refreshDeviceScreenCodeCallable(const RefreshDeviceScreenCodeRequest &request) const
{
auto task = std::make_shared<std::packaged_task<RefreshDeviceScreenCodeOutcome()>>(
[this, request]()
{
return this->refreshDeviceScreenCode(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::RegisterDeviceOutcome AliyuncvcClient::registerDevice(const RegisterDeviceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1743,6 +1959,42 @@ AliyuncvcClient::UpdateDeviceHeartBeatOutcomeCallable AliyuncvcClient::updateDev
return task->get_future();
}
AliyuncvcClient::UpdateDeviceStartupPictureOutcome AliyuncvcClient::updateDeviceStartupPicture(const UpdateDeviceStartupPictureRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpdateDeviceStartupPictureOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UpdateDeviceStartupPictureOutcome(UpdateDeviceStartupPictureResult(outcome.result()));
else
return UpdateDeviceStartupPictureOutcome(outcome.error());
}
void AliyuncvcClient::updateDeviceStartupPictureAsync(const UpdateDeviceStartupPictureRequest& request, const UpdateDeviceStartupPictureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, updateDeviceStartupPicture(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::UpdateDeviceStartupPictureOutcomeCallable AliyuncvcClient::updateDeviceStartupPictureCallable(const UpdateDeviceStartupPictureRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UpdateDeviceStartupPictureOutcome()>>(
[this, request]()
{
return this->updateDeviceStartupPicture(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::UpdateGonggeLayoutOutcome AliyuncvcClient::updateGonggeLayout(const UpdateGonggeLayoutRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -40,7 +40,7 @@ void DeleteUserResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString();
success_ = value["Success"].asString() == "true";
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
@@ -58,7 +58,7 @@ int DeleteUserResult::getErrorCode()const
return errorCode_;
}
std::string DeleteUserResult::getSuccess()const
bool DeleteUserResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,29 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/GetAccountInfoRequest.h>
using AlibabaCloud::Aliyuncvc::Model::GetAccountInfoRequest;
GetAccountInfoRequest::GetAccountInfoRequest() :
RpcServiceRequest("aliyuncvc", "2019-10-30", "GetAccountInfo")
{
setMethod(HttpRequest::Method::Post);
}
GetAccountInfoRequest::~GetAccountInfoRequest()
{}

View File

@@ -0,0 +1,77 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/GetAccountInfoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
GetAccountInfoResult::GetAccountInfoResult() :
ServiceResult()
{}
GetAccountInfoResult::GetAccountInfoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetAccountInfoResult::~GetAccountInfoResult()
{}
void GetAccountInfoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto accountInfoNode = value["AccountInfo"];
if(!accountInfoNode["AccountConcurrentMax"].isNull())
accountInfo_.accountConcurrentMax = std::stoi(accountInfoNode["AccountConcurrentMax"].asString());
if(!accountInfoNode["AccountApplicationMax"].isNull())
accountInfo_.accountApplicationMax = std::stoi(accountInfoNode["AccountApplicationMax"].asString());
if(!accountInfoNode["AccountApplicationNumber"].isNull())
accountInfo_.accountApplicationNumber = std::stoi(accountInfoNode["AccountApplicationNumber"].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 GetAccountInfoResult::getMessage()const
{
return message_;
}
int GetAccountInfoResult::getErrorCode()const
{
return errorCode_;
}
GetAccountInfoResult::AccountInfo GetAccountInfoResult::getAccountInfo()const
{
return accountInfo_;
}
bool GetAccountInfoResult::getSuccess()const
{
return success_;
}

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/GetDeviceInfoRequest.h>
using AlibabaCloud::Aliyuncvc::Model::GetDeviceInfoRequest;
GetDeviceInfoRequest::GetDeviceInfoRequest() :
RpcServiceRequest("aliyuncvc", "2019-10-30", "GetDeviceInfo")
{
setMethod(HttpRequest::Method::Post);
}
GetDeviceInfoRequest::~GetDeviceInfoRequest()
{}
std::string GetDeviceInfoRequest::getCastScreenCode()const
{
return castScreenCode_;
}
void GetDeviceInfoRequest::setCastScreenCode(const std::string& castScreenCode)
{
castScreenCode_ = castScreenCode;
setBodyParameter("CastScreenCode", castScreenCode);
}

View File

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

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/GetStatisticRequest.h>
using AlibabaCloud::Aliyuncvc::Model::GetStatisticRequest;
GetStatisticRequest::GetStatisticRequest() :
RpcServiceRequest("aliyuncvc", "2019-10-30", "GetStatistic")
{
setMethod(HttpRequest::Method::Post);
}
GetStatisticRequest::~GetStatisticRequest()
{}
long GetStatisticRequest::getEndTime()const
{
return endTime_;
}
void GetStatisticRequest::setEndTime(long endTime)
{
endTime_ = endTime;
setBodyParameter("EndTime", std::to_string(endTime));
}
long GetStatisticRequest::getStartTime()const
{
return startTime_;
}
void GetStatisticRequest::setStartTime(long startTime)
{
startTime_ = startTime;
setBodyParameter("StartTime", std::to_string(startTime));
}

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/aliyuncvc/model/GetStatisticResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
GetStatisticResult::GetStatisticResult() :
ServiceResult()
{}
GetStatisticResult::GetStatisticResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetStatisticResult::~GetStatisticResult()
{}
void GetStatisticResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto statisticInfoNode = value["StatisticInfo"];
if(!statisticInfoNode["MeetingDuration"].isNull())
statisticInfo_.meetingDuration = std::stol(statisticInfoNode["MeetingDuration"].asString());
if(!statisticInfoNode["MeetingNumber"].isNull())
statisticInfo_.meetingNumber = std::stol(statisticInfoNode["MeetingNumber"].asString());
if(!statisticInfoNode["MemberNumber"].isNull())
statisticInfo_.memberNumber = std::stol(statisticInfoNode["MemberNumber"].asString());
if(!statisticInfoNode["MaxConcurrency"].isNull())
statisticInfo_.maxConcurrency = std::stol(statisticInfoNode["MaxConcurrency"].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 GetStatisticResult::getMessage()const
{
return message_;
}
GetStatisticResult::StatisticInfo GetStatisticResult::getStatisticInfo()const
{
return statisticInfo_;
}
int GetStatisticResult::getErrorCode()const
{
return errorCode_;
}
bool GetStatisticResult::getSuccess()const
{
return success_;
}

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/aliyuncvc/model/ListConferenceDevicesRequest.h>
using AlibabaCloud::Aliyuncvc::Model::ListConferenceDevicesRequest;
ListConferenceDevicesRequest::ListConferenceDevicesRequest() :
RpcServiceRequest("aliyuncvc", "2019-10-30", "ListConferenceDevices")
{
setMethod(HttpRequest::Method::Post);
}
ListConferenceDevicesRequest::~ListConferenceDevicesRequest()
{}
std::string ListConferenceDevicesRequest::getSerialNumber()const
{
return serialNumber_;
}
void ListConferenceDevicesRequest::setSerialNumber(const std::string& serialNumber)
{
serialNumber_ = serialNumber;
setParameter("SerialNumber", serialNumber);
}
int ListConferenceDevicesRequest::getPageNumber()const
{
return pageNumber_;
}
void ListConferenceDevicesRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
int ListConferenceDevicesRequest::getPageSize()const
{
return pageSize_;
}
void ListConferenceDevicesRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}

View File

@@ -0,0 +1,103 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/ListConferenceDevicesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
ListConferenceDevicesResult::ListConferenceDevicesResult() :
ServiceResult()
{}
ListConferenceDevicesResult::ListConferenceDevicesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListConferenceDevicesResult::~ListConferenceDevicesResult()
{}
void ListConferenceDevicesResult::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 allConferencesNode = dataNode["Conferences"]["data"];
for (auto dataNodeConferencesdata : allConferencesNode)
{
Data::Data dataObject;
if(!dataNodeConferencesdata["ActivationCode"].isNull())
dataObject.activationCode = dataNodeConferencesdata["ActivationCode"].asString();
if(!dataNodeConferencesdata["ConferenceCode"].isNull())
dataObject.conferenceCode = dataNodeConferencesdata["ConferenceCode"].asString();
if(!dataNodeConferencesdata["ConferenceName"].isNull())
dataObject.conferenceName = dataNodeConferencesdata["ConferenceName"].asString();
if(!dataNodeConferencesdata["CreateTime"].isNull())
dataObject.createTime = dataNodeConferencesdata["CreateTime"].asString();
if(!dataNodeConferencesdata["DeviceModel"].isNull())
dataObject.deviceModel = dataNodeConferencesdata["DeviceModel"].asString();
if(!dataNodeConferencesdata["Manufacturer"].isNull())
dataObject.manufacturer = dataNodeConferencesdata["Manufacturer"].asString();
if(!dataNodeConferencesdata["PictureUrl"].isNull())
dataObject.pictureUrl = dataNodeConferencesdata["PictureUrl"].asString();
if(!dataNodeConferencesdata["SN"].isNull())
dataObject.sN = dataNodeConferencesdata["SN"].asString();
if(!dataNodeConferencesdata["Status"].isNull())
dataObject.status = dataNodeConferencesdata["Status"].asString();
if(!dataNodeConferencesdata["CastScreenCode"].isNull())
dataObject.castScreenCode = dataNodeConferencesdata["CastScreenCode"].asString();
data_.conferences.push_back(dataObject);
}
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 ListConferenceDevicesResult::getMessage()const
{
return message_;
}
ListConferenceDevicesResult::Data ListConferenceDevicesResult::getData()const
{
return data_;
}
int ListConferenceDevicesResult::getErrorCode()const
{
return errorCode_;
}
bool ListConferenceDevicesResult::getSuccess()const
{
return success_;
}

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/ModifyDeviceBackgroundRequest.h>
using AlibabaCloud::Aliyuncvc::Model::ModifyDeviceBackgroundRequest;
ModifyDeviceBackgroundRequest::ModifyDeviceBackgroundRequest() :
RpcServiceRequest("aliyuncvc", "2019-10-30", "ModifyDeviceBackground")
{
setMethod(HttpRequest::Method::Post);
}
ModifyDeviceBackgroundRequest::~ModifyDeviceBackgroundRequest()
{}
std::string ModifyDeviceBackgroundRequest::getSerialNumber()const
{
return serialNumber_;
}
void ModifyDeviceBackgroundRequest::setSerialNumber(const std::string& serialNumber)
{
serialNumber_ = serialNumber;
setBodyParameter("SerialNumber", serialNumber);
}
std::string ModifyDeviceBackgroundRequest::getPicture()const
{
return picture_;
}
void ModifyDeviceBackgroundRequest::setPicture(const std::string& picture)
{
picture_ = picture;
setBodyParameter("Picture", picture);
}

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/ModifyDeviceBackgroundResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
ModifyDeviceBackgroundResult::ModifyDeviceBackgroundResult() :
ServiceResult()
{}
ModifyDeviceBackgroundResult::ModifyDeviceBackgroundResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ModifyDeviceBackgroundResult::~ModifyDeviceBackgroundResult()
{}
void ModifyDeviceBackgroundResult::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 ModifyDeviceBackgroundResult::getMessage()const
{
return message_;
}
int ModifyDeviceBackgroundResult::getErrorCode()const
{
return errorCode_;
}
bool ModifyDeviceBackgroundResult::getSuccess()const
{
return success_;
}

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/RefreshDeviceScreenCodeRequest.h>
using AlibabaCloud::Aliyuncvc::Model::RefreshDeviceScreenCodeRequest;
RefreshDeviceScreenCodeRequest::RefreshDeviceScreenCodeRequest() :
RpcServiceRequest("aliyuncvc", "2019-10-30", "RefreshDeviceScreenCode")
{
setMethod(HttpRequest::Method::Post);
}
RefreshDeviceScreenCodeRequest::~RefreshDeviceScreenCodeRequest()
{}
std::string RefreshDeviceScreenCodeRequest::getSerialNumber()const
{
return serialNumber_;
}
void RefreshDeviceScreenCodeRequest::setSerialNumber(const std::string& serialNumber)
{
serialNumber_ = serialNumber;
setBodyParameter("SerialNumber", serialNumber);
}

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.
*/
#include <alibabacloud/aliyuncvc/model/RefreshDeviceScreenCodeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
RefreshDeviceScreenCodeResult::RefreshDeviceScreenCodeResult() :
ServiceResult()
{}
RefreshDeviceScreenCodeResult::RefreshDeviceScreenCodeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
RefreshDeviceScreenCodeResult::~RefreshDeviceScreenCodeResult()
{}
void RefreshDeviceScreenCodeResult::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["SerialNumber"].isNull())
data_.serialNumber = dataNode["SerialNumber"].asString();
if(!dataNode["ScreenCode"].isNull())
data_.screenCode = dataNode["ScreenCode"].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 RefreshDeviceScreenCodeResult::getMessage()const
{
return message_;
}
RefreshDeviceScreenCodeResult::Data RefreshDeviceScreenCodeResult::getData()const
{
return data_;
}
int RefreshDeviceScreenCodeResult::getErrorCode()const
{
return errorCode_;
}
bool RefreshDeviceScreenCodeResult::getSuccess()const
{
return success_;
}

View File

@@ -49,6 +49,17 @@ void RegisterUemDeviceRequest::setGroupId(const std::string& groupId)
setParameter("GroupId", groupId);
}
std::string RegisterUemDeviceRequest::getOwnerId()const
{
return ownerId_;
}
void RegisterUemDeviceRequest::setOwnerId(const std::string& ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", ownerId);
}
std::string RegisterUemDeviceRequest::getDeviceId()const
{
return deviceId_;

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/UpdateDeviceStartupPictureRequest.h>
using AlibabaCloud::Aliyuncvc::Model::UpdateDeviceStartupPictureRequest;
UpdateDeviceStartupPictureRequest::UpdateDeviceStartupPictureRequest() :
RpcServiceRequest("aliyuncvc", "2019-10-30", "UpdateDeviceStartupPicture")
{
setMethod(HttpRequest::Method::Post);
}
UpdateDeviceStartupPictureRequest::~UpdateDeviceStartupPictureRequest()
{}
std::string UpdateDeviceStartupPictureRequest::getSerialNumber()const
{
return serialNumber_;
}
void UpdateDeviceStartupPictureRequest::setSerialNumber(const std::string& serialNumber)
{
serialNumber_ = serialNumber;
setBodyParameter("SerialNumber", serialNumber);
}
std::string UpdateDeviceStartupPictureRequest::getPicture()const
{
return picture_;
}
void UpdateDeviceStartupPictureRequest::setPicture(const std::string& picture)
{
picture_ = picture;
setBodyParameter("Picture", picture);
}

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/UpdateDeviceStartupPictureResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
UpdateDeviceStartupPictureResult::UpdateDeviceStartupPictureResult() :
ServiceResult()
{}
UpdateDeviceStartupPictureResult::UpdateDeviceStartupPictureResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
UpdateDeviceStartupPictureResult::~UpdateDeviceStartupPictureResult()
{}
void UpdateDeviceStartupPictureResult::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 UpdateDeviceStartupPictureResult::getMessage()const
{
return message_;
}
int UpdateDeviceStartupPictureResult::getErrorCode()const
{
return errorCode_;
}
bool UpdateDeviceStartupPictureResult::getSuccess()const
{
return success_;
}

View File

@@ -21,11 +21,15 @@ set(cams_public_header
include/alibabacloud/cams/CamsExport.h )
set(cams_public_header_model
include/alibabacloud/cams/model/CheckContactsRequest.h
include/alibabacloud/cams/model/CheckContactsResult.h
include/alibabacloud/cams/model/SendMessageRequest.h
include/alibabacloud/cams/model/SendMessageResult.h )
set(cams_src
src/CamsClient.cc
src/model/CheckContactsRequest.cc
src/model/CheckContactsResult.cc
src/model/SendMessageRequest.cc
src/model/SendMessageResult.cc )

View File

@@ -22,6 +22,8 @@
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "CamsExport.h"
#include "model/CheckContactsRequest.h"
#include "model/CheckContactsResult.h"
#include "model/SendMessageRequest.h"
#include "model/SendMessageResult.h"
@@ -33,6 +35,9 @@ namespace AlibabaCloud
class ALIBABACLOUD_CAMS_EXPORT CamsClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::CheckContactsResult> CheckContactsOutcome;
typedef std::future<CheckContactsOutcome> CheckContactsOutcomeCallable;
typedef std::function<void(const CamsClient*, const Model::CheckContactsRequest&, const CheckContactsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckContactsAsyncHandler;
typedef Outcome<Error, Model::SendMessageResult> SendMessageOutcome;
typedef std::future<SendMessageOutcome> SendMessageOutcomeCallable;
typedef std::function<void(const CamsClient*, const Model::SendMessageRequest&, const SendMessageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendMessageAsyncHandler;
@@ -41,6 +46,9 @@ namespace AlibabaCloud
CamsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
CamsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~CamsClient();
CheckContactsOutcome checkContacts(const Model::CheckContactsRequest &request)const;
void checkContactsAsync(const Model::CheckContactsRequest& request, const CheckContactsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CheckContactsOutcomeCallable checkContactsCallable(const Model::CheckContactsRequest& request) const;
SendMessageOutcome sendMessage(const Model::SendMessageRequest &request)const;
void sendMessageAsync(const Model::SendMessageRequest& request, const SendMessageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SendMessageOutcomeCallable sendMessageCallable(const Model::SendMessageRequest& request) const;

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CAMS_MODEL_CHECKCONTACTSREQUEST_H_
#define ALIBABACLOUD_CAMS_MODEL_CHECKCONTACTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cams/CamsExport.h>
namespace AlibabaCloud
{
namespace Cams
{
namespace Model
{
class ALIBABACLOUD_CAMS_EXPORT CheckContactsRequest : public RpcServiceRequest
{
public:
CheckContactsRequest();
~CheckContactsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getChannelType()const;
void setChannelType(const std::string& channelType);
std::string getFrom()const;
void setFrom(const std::string& from);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getContacts()const;
void setContacts(const std::string& contacts);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string channelType_;
std::string from_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string contacts_;
};
}
}
}
#endif // !ALIBABACLOUD_CAMS_MODEL_CHECKCONTACTSREQUEST_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_CAMS_MODEL_CHECKCONTACTSRESULT_H_
#define ALIBABACLOUD_CAMS_MODEL_CHECKCONTACTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cams/CamsExport.h>
namespace AlibabaCloud
{
namespace Cams
{
namespace Model
{
class ALIBABACLOUD_CAMS_EXPORT CheckContactsResult : public ServiceResult
{
public:
struct ContactStatus
{
std::string status;
std::string phoneNumber;
};
CheckContactsResult();
explicit CheckContactsResult(const std::string &payload);
~CheckContactsResult();
std::vector<ContactStatus> getContacts()const;
std::string getResultMessage()const;
std::string getResultCode()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ContactStatus> contacts_;
std::string resultMessage_;
std::string resultCode_;
};
}
}
}
#endif // !ALIBABACLOUD_CAMS_MODEL_CHECKCONTACTSRESULT_H_

View File

@@ -37,6 +37,8 @@ namespace AlibabaCloud
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getMessageType()const;
void setMessageType(const std::string& messageType);
std::string getTemplateBodyParams()const;
void setTemplateBodyParams(const std::string& templateBodyParams);
std::string getLink()const;
@@ -45,14 +47,14 @@ namespace AlibabaCloud
void setCaption(const std::string& caption);
std::string getType()const;
void setType(const std::string& type);
std::string getBody()const;
void setBody(const std::string& body);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getChannelType()const;
void setChannelType(const std::string& channelType);
std::string getFrom()const;
void setFrom(const std::string& from);
std::string getText()const;
void setText(const std::string& text);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
@@ -61,24 +63,22 @@ namespace AlibabaCloud
void setTo(const std::string& to);
std::string getTemplateCode()const;
void setTemplateCode(const std::string& templateCode);
std::string getMediaType()const;
void setMediaType(const std::string& mediaType);
private:
long resourceOwnerId_;
std::string messageType_;
std::string templateBodyParams_;
std::string link_;
std::string caption_;
std::string type_;
std::string body_;
std::string accessKeyId_;
std::string channelType_;
std::string from_;
std::string text_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string to_;
std::string templateCode_;
std::string mediaType_;
};
}

View File

@@ -51,6 +51,42 @@ CamsClient::CamsClient(const std::string & accessKeyId, const std::string & acce
CamsClient::~CamsClient()
{}
CamsClient::CheckContactsOutcome CamsClient::checkContacts(const CheckContactsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CheckContactsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CheckContactsOutcome(CheckContactsResult(outcome.result()));
else
return CheckContactsOutcome(outcome.error());
}
void CamsClient::checkContactsAsync(const CheckContactsRequest& request, const CheckContactsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, checkContacts(request), context);
};
asyncExecute(new Runnable(fn));
}
CamsClient::CheckContactsOutcomeCallable CamsClient::checkContactsCallable(const CheckContactsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CheckContactsOutcome()>>(
[this, request]()
{
return this->checkContacts(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CamsClient::SendMessageOutcome CamsClient::sendMessage(const SendMessageRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,106 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cams/model/CheckContactsRequest.h>
using AlibabaCloud::Cams::Model::CheckContactsRequest;
CheckContactsRequest::CheckContactsRequest() :
RpcServiceRequest("cams", "2020-06-06", "CheckContacts")
{
setMethod(HttpRequest::Method::Post);
}
CheckContactsRequest::~CheckContactsRequest()
{}
long CheckContactsRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CheckContactsRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CheckContactsRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CheckContactsRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
}
std::string CheckContactsRequest::getChannelType()const
{
return channelType_;
}
void CheckContactsRequest::setChannelType(const std::string& channelType)
{
channelType_ = channelType;
setBodyParameter("ChannelType", channelType);
}
std::string CheckContactsRequest::getFrom()const
{
return from_;
}
void CheckContactsRequest::setFrom(const std::string& from)
{
from_ = from;
setBodyParameter("From", from);
}
std::string CheckContactsRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void CheckContactsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
long CheckContactsRequest::getOwnerId()const
{
return ownerId_;
}
void CheckContactsRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CheckContactsRequest::getContacts()const
{
return contacts_;
}
void CheckContactsRequest::setContacts(const std::string& contacts)
{
contacts_ = contacts;
setBodyParameter("Contacts", contacts);
}

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/cams/model/CheckContactsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cams;
using namespace AlibabaCloud::Cams::Model;
CheckContactsResult::CheckContactsResult() :
ServiceResult()
{}
CheckContactsResult::CheckContactsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CheckContactsResult::~CheckContactsResult()
{}
void CheckContactsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allContactsNode = value["Contacts"]["ContactStatus"];
for (auto valueContactsContactStatus : allContactsNode)
{
ContactStatus contactsObject;
if(!valueContactsContactStatus["PhoneNumber"].isNull())
contactsObject.phoneNumber = valueContactsContactStatus["PhoneNumber"].asString();
if(!valueContactsContactStatus["Status"].isNull())
contactsObject.status = valueContactsContactStatus["Status"].asString();
contacts_.push_back(contactsObject);
}
if(!value["ResultCode"].isNull())
resultCode_ = value["ResultCode"].asString();
if(!value["ResultMessage"].isNull())
resultMessage_ = value["ResultMessage"].asString();
}
std::vector<CheckContactsResult::ContactStatus> CheckContactsResult::getContacts()const
{
return contacts_;
}
std::string CheckContactsResult::getResultMessage()const
{
return resultMessage_;
}
std::string CheckContactsResult::getResultCode()const
{
return resultCode_;
}

View File

@@ -38,6 +38,17 @@ void SendMessageRequest::setResourceOwnerId(long resourceOwnerId)
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string SendMessageRequest::getMessageType()const
{
return messageType_;
}
void SendMessageRequest::setMessageType(const std::string& messageType)
{
messageType_ = messageType;
setBodyParameter("MessageType", messageType);
}
std::string SendMessageRequest::getTemplateBodyParams()const
{
return templateBodyParams_;
@@ -82,17 +93,6 @@ void SendMessageRequest::setType(const std::string& type)
setBodyParameter("Type", type);
}
std::string SendMessageRequest::getBody()const
{
return body_;
}
void SendMessageRequest::setBody(const std::string& body)
{
body_ = body;
setBodyParameter("Body", body);
}
std::string SendMessageRequest::getAccessKeyId()const
{
return accessKeyId_;
@@ -126,6 +126,17 @@ void SendMessageRequest::setFrom(const std::string& from)
setBodyParameter("From", from);
}
std::string SendMessageRequest::getText()const
{
return text_;
}
void SendMessageRequest::setText(const std::string& text)
{
text_ = text;
setBodyParameter("Text", text);
}
std::string SendMessageRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
@@ -170,14 +181,3 @@ void SendMessageRequest::setTemplateCode(const std::string& templateCode)
setBodyParameter("TemplateCode", templateCode);
}
std::string SendMessageRequest::getMediaType()const
{
return mediaType_;
}
void SendMessageRequest::setMediaType(const std::string& mediaType)
{
mediaType_ = mediaType;
setBodyParameter("MediaType", mediaType);
}

View File

@@ -103,6 +103,8 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/DescribeCdnServiceResult.h
include/alibabacloud/cdn/model/DescribeCdnTypesRequest.h
include/alibabacloud/cdn/model/DescribeCdnTypesResult.h
include/alibabacloud/cdn/model/DescribeCdnUserBillHistoryRequest.h
include/alibabacloud/cdn/model/DescribeCdnUserBillHistoryResult.h
include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionRequest.h
include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionResult.h
include/alibabacloud/cdn/model/DescribeCdnUserBillTypeRequest.h
@@ -115,6 +117,8 @@ set(cdn_public_header_model
include/alibabacloud/cdn/model/DescribeCdnUserQuotaResult.h
include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageRequest.h
include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageResult.h
include/alibabacloud/cdn/model/DescribeCdnWafDomainRequest.h
include/alibabacloud/cdn/model/DescribeCdnWafDomainResult.h
include/alibabacloud/cdn/model/DescribeCertificateInfoByIDRequest.h
include/alibabacloud/cdn/model/DescribeCertificateInfoByIDResult.h
include/alibabacloud/cdn/model/DescribeConfigOfVersionRequest.h
@@ -498,6 +502,8 @@ set(cdn_src
src/model/DescribeCdnServiceResult.cc
src/model/DescribeCdnTypesRequest.cc
src/model/DescribeCdnTypesResult.cc
src/model/DescribeCdnUserBillHistoryRequest.cc
src/model/DescribeCdnUserBillHistoryResult.cc
src/model/DescribeCdnUserBillPredictionRequest.cc
src/model/DescribeCdnUserBillPredictionResult.cc
src/model/DescribeCdnUserBillTypeRequest.cc
@@ -510,6 +516,8 @@ set(cdn_src
src/model/DescribeCdnUserQuotaResult.cc
src/model/DescribeCdnUserResourcePackageRequest.cc
src/model/DescribeCdnUserResourcePackageResult.cc
src/model/DescribeCdnWafDomainRequest.cc
src/model/DescribeCdnWafDomainResult.cc
src/model/DescribeCertificateInfoByIDRequest.cc
src/model/DescribeCertificateInfoByIDResult.cc
src/model/DescribeConfigOfVersionRequest.cc

View File

@@ -104,6 +104,8 @@
#include "model/DescribeCdnServiceResult.h"
#include "model/DescribeCdnTypesRequest.h"
#include "model/DescribeCdnTypesResult.h"
#include "model/DescribeCdnUserBillHistoryRequest.h"
#include "model/DescribeCdnUserBillHistoryResult.h"
#include "model/DescribeCdnUserBillPredictionRequest.h"
#include "model/DescribeCdnUserBillPredictionResult.h"
#include "model/DescribeCdnUserBillTypeRequest.h"
@@ -116,6 +118,8 @@
#include "model/DescribeCdnUserQuotaResult.h"
#include "model/DescribeCdnUserResourcePackageRequest.h"
#include "model/DescribeCdnUserResourcePackageResult.h"
#include "model/DescribeCdnWafDomainRequest.h"
#include "model/DescribeCdnWafDomainResult.h"
#include "model/DescribeCertificateInfoByIDRequest.h"
#include "model/DescribeCertificateInfoByIDResult.h"
#include "model/DescribeConfigOfVersionRequest.h"
@@ -546,6 +550,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeCdnTypesResult> DescribeCdnTypesOutcome;
typedef std::future<DescribeCdnTypesOutcome> DescribeCdnTypesOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeCdnTypesRequest&, const DescribeCdnTypesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnTypesAsyncHandler;
typedef Outcome<Error, Model::DescribeCdnUserBillHistoryResult> DescribeCdnUserBillHistoryOutcome;
typedef std::future<DescribeCdnUserBillHistoryOutcome> DescribeCdnUserBillHistoryOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeCdnUserBillHistoryRequest&, const DescribeCdnUserBillHistoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnUserBillHistoryAsyncHandler;
typedef Outcome<Error, Model::DescribeCdnUserBillPredictionResult> DescribeCdnUserBillPredictionOutcome;
typedef std::future<DescribeCdnUserBillPredictionOutcome> DescribeCdnUserBillPredictionOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeCdnUserBillPredictionRequest&, const DescribeCdnUserBillPredictionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnUserBillPredictionAsyncHandler;
@@ -564,6 +571,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeCdnUserResourcePackageResult> DescribeCdnUserResourcePackageOutcome;
typedef std::future<DescribeCdnUserResourcePackageOutcome> DescribeCdnUserResourcePackageOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeCdnUserResourcePackageRequest&, const DescribeCdnUserResourcePackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnUserResourcePackageAsyncHandler;
typedef Outcome<Error, Model::DescribeCdnWafDomainResult> DescribeCdnWafDomainOutcome;
typedef std::future<DescribeCdnWafDomainOutcome> DescribeCdnWafDomainOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeCdnWafDomainRequest&, const DescribeCdnWafDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnWafDomainAsyncHandler;
typedef Outcome<Error, Model::DescribeCertificateInfoByIDResult> DescribeCertificateInfoByIDOutcome;
typedef std::future<DescribeCertificateInfoByIDOutcome> DescribeCertificateInfoByIDOutcomeCallable;
typedef std::function<void(const CdnClient*, const Model::DescribeCertificateInfoByIDRequest&, const DescribeCertificateInfoByIDOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCertificateInfoByIDAsyncHandler;
@@ -1139,6 +1149,9 @@ namespace AlibabaCloud
DescribeCdnTypesOutcome describeCdnTypes(const Model::DescribeCdnTypesRequest &request)const;
void describeCdnTypesAsync(const Model::DescribeCdnTypesRequest& request, const DescribeCdnTypesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCdnTypesOutcomeCallable describeCdnTypesCallable(const Model::DescribeCdnTypesRequest& request) const;
DescribeCdnUserBillHistoryOutcome describeCdnUserBillHistory(const Model::DescribeCdnUserBillHistoryRequest &request)const;
void describeCdnUserBillHistoryAsync(const Model::DescribeCdnUserBillHistoryRequest& request, const DescribeCdnUserBillHistoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCdnUserBillHistoryOutcomeCallable describeCdnUserBillHistoryCallable(const Model::DescribeCdnUserBillHistoryRequest& request) const;
DescribeCdnUserBillPredictionOutcome describeCdnUserBillPrediction(const Model::DescribeCdnUserBillPredictionRequest &request)const;
void describeCdnUserBillPredictionAsync(const Model::DescribeCdnUserBillPredictionRequest& request, const DescribeCdnUserBillPredictionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCdnUserBillPredictionOutcomeCallable describeCdnUserBillPredictionCallable(const Model::DescribeCdnUserBillPredictionRequest& request) const;
@@ -1157,6 +1170,9 @@ namespace AlibabaCloud
DescribeCdnUserResourcePackageOutcome describeCdnUserResourcePackage(const Model::DescribeCdnUserResourcePackageRequest &request)const;
void describeCdnUserResourcePackageAsync(const Model::DescribeCdnUserResourcePackageRequest& request, const DescribeCdnUserResourcePackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCdnUserResourcePackageOutcomeCallable describeCdnUserResourcePackageCallable(const Model::DescribeCdnUserResourcePackageRequest& request) const;
DescribeCdnWafDomainOutcome describeCdnWafDomain(const Model::DescribeCdnWafDomainRequest &request)const;
void describeCdnWafDomainAsync(const Model::DescribeCdnWafDomainRequest& request, const DescribeCdnWafDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCdnWafDomainOutcomeCallable describeCdnWafDomainCallable(const Model::DescribeCdnWafDomainRequest& request) const;
DescribeCertificateInfoByIDOutcome describeCertificateInfoByID(const Model::DescribeCertificateInfoByIDRequest &request)const;
void describeCertificateInfoByIDAsync(const Model::DescribeCertificateInfoByIDRequest& request, const DescribeCertificateInfoByIDAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCertificateInfoByIDOutcomeCallable describeCertificateInfoByIDCallable(const Model::DescribeCertificateInfoByIDRequest& 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_CDN_MODEL_DESCRIBECDNUSERBILLHISTORYREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLHISTORYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserBillHistoryRequest : public RpcServiceRequest
{
public:
DescribeCdnUserBillHistoryRequest();
~DescribeCdnUserBillHistoryRequest();
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string startTime_;
std::string endTime_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLHISTORYREQUEST_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLHISTORYRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLHISTORYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserBillHistoryResult : public ServiceResult
{
public:
struct BillHistoryDataItem
{
struct BillingDataItem
{
std::string chargeType;
float bandwidth;
std::string cdnRegion;
float count;
float flow;
};
std::string billType;
std::string billTime;
std::vector<BillHistoryDataItem::BillingDataItem> billingData;
std::string dimension;
};
DescribeCdnUserBillHistoryResult();
explicit DescribeCdnUserBillHistoryResult(const std::string &payload);
~DescribeCdnUserBillHistoryResult();
std::vector<BillHistoryDataItem> getBillHistoryData()const;
protected:
void parse(const std::string &payload);
private:
std::vector<BillHistoryDataItem> billHistoryData_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLHISTORYRESULT_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_CDN_MODEL_DESCRIBECDNWAFDOMAINREQUEST_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNWAFDOMAINREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT DescribeCdnWafDomainRequest : public RpcServiceRequest
{
public:
DescribeCdnWafDomainRequest();
~DescribeCdnWafDomainRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string regionId_;
std::string domainName_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNWAFDOMAINREQUEST_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_CDN_MODEL_DESCRIBECDNWAFDOMAINRESULT_H_
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNWAFDOMAINRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cdn/CdnExport.h>
namespace AlibabaCloud
{
namespace Cdn
{
namespace Model
{
class ALIBABACLOUD_CDN_EXPORT DescribeCdnWafDomainResult : public ServiceResult
{
public:
struct OutPutDomain
{
std::string status;
std::string aclStatus;
std::string ccStatus;
std::string domain;
std::string wafStatus;
};
DescribeCdnWafDomainResult();
explicit DescribeCdnWafDomainResult(const std::string &payload);
~DescribeCdnWafDomainResult();
int getTotalCount()const;
std::vector<OutPutDomain> getOutPutDomains()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::vector<OutPutDomain> outPutDomains_;
};
}
}
}
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNWAFDOMAINRESULT_H_

View File

@@ -41,8 +41,6 @@ namespace AlibabaCloud
TagResourcesRequest();
~TagResourcesRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::vector<std::string> getResourceId()const;
@@ -53,7 +51,6 @@ namespace AlibabaCloud
void setResourceType(const std::string& resourceType);
private:
std::string regionId_;
std::vector<Tag> tag_;
std::vector<std::string> resourceId_;
long ownerId_;

View File

@@ -35,8 +35,8 @@ namespace AlibabaCloud
UntagResourcesRequest();
~UntagResourcesRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
bool getAll()const;
void setAll(bool all);
std::vector<std::string> getResourceId()const;
void setResourceId(const std::vector<std::string>& resourceId);
long getOwnerId()const;
@@ -47,7 +47,7 @@ namespace AlibabaCloud
void setTagKey(const std::vector<std::string>& tagKey);
private:
std::string regionId_;
bool all_;
std::vector<std::string> resourceId_;
long ownerId_;
std::string resourceType_;

View File

@@ -1527,6 +1527,42 @@ CdnClient::DescribeCdnTypesOutcomeCallable CdnClient::describeCdnTypesCallable(c
return task->get_future();
}
CdnClient::DescribeCdnUserBillHistoryOutcome CdnClient::describeCdnUserBillHistory(const DescribeCdnUserBillHistoryRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeCdnUserBillHistoryOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeCdnUserBillHistoryOutcome(DescribeCdnUserBillHistoryResult(outcome.result()));
else
return DescribeCdnUserBillHistoryOutcome(outcome.error());
}
void CdnClient::describeCdnUserBillHistoryAsync(const DescribeCdnUserBillHistoryRequest& request, const DescribeCdnUserBillHistoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeCdnUserBillHistory(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::DescribeCdnUserBillHistoryOutcomeCallable CdnClient::describeCdnUserBillHistoryCallable(const DescribeCdnUserBillHistoryRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeCdnUserBillHistoryOutcome()>>(
[this, request]()
{
return this->describeCdnUserBillHistory(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CdnClient::DescribeCdnUserBillPredictionOutcome CdnClient::describeCdnUserBillPrediction(const DescribeCdnUserBillPredictionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1743,6 +1779,42 @@ CdnClient::DescribeCdnUserResourcePackageOutcomeCallable CdnClient::describeCdnU
return task->get_future();
}
CdnClient::DescribeCdnWafDomainOutcome CdnClient::describeCdnWafDomain(const DescribeCdnWafDomainRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeCdnWafDomainOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeCdnWafDomainOutcome(DescribeCdnWafDomainResult(outcome.result()));
else
return DescribeCdnWafDomainOutcome(outcome.error());
}
void CdnClient::describeCdnWafDomainAsync(const DescribeCdnWafDomainRequest& request, const DescribeCdnWafDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeCdnWafDomain(request), context);
};
asyncExecute(new Runnable(fn));
}
CdnClient::DescribeCdnWafDomainOutcomeCallable CdnClient::describeCdnWafDomainCallable(const DescribeCdnWafDomainRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeCdnWafDomainOutcome()>>(
[this, request]()
{
return this->describeCdnWafDomain(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CdnClient::DescribeCertificateInfoByIDOutcome CdnClient::describeCertificateInfoByID(const DescribeCertificateInfoByIDRequest &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/cdn/model/DescribeCdnUserBillHistoryRequest.h>
using AlibabaCloud::Cdn::Model::DescribeCdnUserBillHistoryRequest;
DescribeCdnUserBillHistoryRequest::DescribeCdnUserBillHistoryRequest() :
RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnUserBillHistory")
{
setMethod(HttpRequest::Method::Post);
}
DescribeCdnUserBillHistoryRequest::~DescribeCdnUserBillHistoryRequest()
{}
std::string DescribeCdnUserBillHistoryRequest::getStartTime()const
{
return startTime_;
}
void DescribeCdnUserBillHistoryRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
}
std::string DescribeCdnUserBillHistoryRequest::getEndTime()const
{
return endTime_;
}
void DescribeCdnUserBillHistoryRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
}
long DescribeCdnUserBillHistoryRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeCdnUserBillHistoryRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -0,0 +1,77 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/cdn/model/DescribeCdnUserBillHistoryResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cdn;
using namespace AlibabaCloud::Cdn::Model;
DescribeCdnUserBillHistoryResult::DescribeCdnUserBillHistoryResult() :
ServiceResult()
{}
DescribeCdnUserBillHistoryResult::DescribeCdnUserBillHistoryResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeCdnUserBillHistoryResult::~DescribeCdnUserBillHistoryResult()
{}
void DescribeCdnUserBillHistoryResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allBillHistoryDataNode = value["BillHistoryData"]["BillHistoryDataItem"];
for (auto valueBillHistoryDataBillHistoryDataItem : allBillHistoryDataNode)
{
BillHistoryDataItem billHistoryDataObject;
if(!valueBillHistoryDataBillHistoryDataItem["Dimension"].isNull())
billHistoryDataObject.dimension = valueBillHistoryDataBillHistoryDataItem["Dimension"].asString();
if(!valueBillHistoryDataBillHistoryDataItem["BillType"].isNull())
billHistoryDataObject.billType = valueBillHistoryDataBillHistoryDataItem["BillType"].asString();
if(!valueBillHistoryDataBillHistoryDataItem["BillTime"].isNull())
billHistoryDataObject.billTime = valueBillHistoryDataBillHistoryDataItem["BillTime"].asString();
auto allBillingDataNode = allBillHistoryDataNode["BillingData"]["BillingDataItem"];
for (auto allBillHistoryDataNodeBillingDataBillingDataItem : allBillingDataNode)
{
BillHistoryDataItem::BillingDataItem billingDataObject;
if(!allBillHistoryDataNodeBillingDataBillingDataItem["ChargeType"].isNull())
billingDataObject.chargeType = allBillHistoryDataNodeBillingDataBillingDataItem["ChargeType"].asString();
if(!allBillHistoryDataNodeBillingDataBillingDataItem["CdnRegion"].isNull())
billingDataObject.cdnRegion = allBillHistoryDataNodeBillingDataBillingDataItem["CdnRegion"].asString();
if(!allBillHistoryDataNodeBillingDataBillingDataItem["Bandwidth"].isNull())
billingDataObject.bandwidth = std::stof(allBillHistoryDataNodeBillingDataBillingDataItem["Bandwidth"].asString());
if(!allBillHistoryDataNodeBillingDataBillingDataItem["Flow"].isNull())
billingDataObject.flow = std::stof(allBillHistoryDataNodeBillingDataBillingDataItem["Flow"].asString());
if(!allBillHistoryDataNodeBillingDataBillingDataItem["Count"].isNull())
billingDataObject.count = std::stof(allBillHistoryDataNodeBillingDataBillingDataItem["Count"].asString());
billHistoryDataObject.billingData.push_back(billingDataObject);
}
billHistoryData_.push_back(billHistoryDataObject);
}
}
std::vector<DescribeCdnUserBillHistoryResult::BillHistoryDataItem> DescribeCdnUserBillHistoryResult::getBillHistoryData()const
{
return billHistoryData_;
}

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/cdn/model/DescribeCdnWafDomainRequest.h>
using AlibabaCloud::Cdn::Model::DescribeCdnWafDomainRequest;
DescribeCdnWafDomainRequest::DescribeCdnWafDomainRequest() :
RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnWafDomain")
{
setMethod(HttpRequest::Method::Post);
}
DescribeCdnWafDomainRequest::~DescribeCdnWafDomainRequest()
{}
std::string DescribeCdnWafDomainRequest::getRegionId()const
{
return regionId_;
}
void DescribeCdnWafDomainRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string DescribeCdnWafDomainRequest::getDomainName()const
{
return domainName_;
}
void DescribeCdnWafDomainRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
long DescribeCdnWafDomainRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeCdnWafDomainRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

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/cdn/model/DescribeCdnWafDomainResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cdn;
using namespace AlibabaCloud::Cdn::Model;
DescribeCdnWafDomainResult::DescribeCdnWafDomainResult() :
ServiceResult()
{}
DescribeCdnWafDomainResult::DescribeCdnWafDomainResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeCdnWafDomainResult::~DescribeCdnWafDomainResult()
{}
void DescribeCdnWafDomainResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allOutPutDomainsNode = value["OutPutDomains"]["OutPutDomain"];
for (auto valueOutPutDomainsOutPutDomain : allOutPutDomainsNode)
{
OutPutDomain outPutDomainsObject;
if(!valueOutPutDomainsOutPutDomain["Status"].isNull())
outPutDomainsObject.status = valueOutPutDomainsOutPutDomain["Status"].asString();
if(!valueOutPutDomainsOutPutDomain["Domain"].isNull())
outPutDomainsObject.domain = valueOutPutDomainsOutPutDomain["Domain"].asString();
if(!valueOutPutDomainsOutPutDomain["WafStatus"].isNull())
outPutDomainsObject.wafStatus = valueOutPutDomainsOutPutDomain["WafStatus"].asString();
if(!valueOutPutDomainsOutPutDomain["CcStatus"].isNull())
outPutDomainsObject.ccStatus = valueOutPutDomainsOutPutDomain["CcStatus"].asString();
if(!valueOutPutDomainsOutPutDomain["AclStatus"].isNull())
outPutDomainsObject.aclStatus = valueOutPutDomainsOutPutDomain["AclStatus"].asString();
outPutDomains_.push_back(outPutDomainsObject);
}
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
}
int DescribeCdnWafDomainResult::getTotalCount()const
{
return totalCount_;
}
std::vector<DescribeCdnWafDomainResult::OutPutDomain> DescribeCdnWafDomainResult::getOutPutDomains()const
{
return outPutDomains_;
}

View File

@@ -27,17 +27,6 @@ TagResourcesRequest::TagResourcesRequest() :
TagResourcesRequest::~TagResourcesRequest()
{}
std::string TagResourcesRequest::getRegionId()const
{
return regionId_;
}
void TagResourcesRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::vector<TagResourcesRequest::Tag> TagResourcesRequest::getTag()const
{
return tag_;

View File

@@ -27,15 +27,15 @@ UntagResourcesRequest::UntagResourcesRequest() :
UntagResourcesRequest::~UntagResourcesRequest()
{}
std::string UntagResourcesRequest::getRegionId()const
bool UntagResourcesRequest::getAll()const
{
return regionId_;
return all_;
}
void UntagResourcesRequest::setRegionId(const std::string& regionId)
void UntagResourcesRequest::setAll(bool all)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
all_ = all;
setParameter("All", all ? "true" : "false");
}
std::vector<std::string> UntagResourcesRequest::getResourceId()const

View File

@@ -37,16 +37,8 @@ namespace AlibabaCloud
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getOssObjectName()const;
void setOssObjectName(const std::string& ossObjectName);
std::string getFaceContrastPicture()const;
void setFaceContrastPicture(const std::string& faceContrastPicture);
std::string getCertName()const;
void setCertName(const std::string& certName);
std::string getIp()const;
void setIp(const std::string& ip);
std::string getMobile()const;
void setMobile(const std::string& mobile);
std::string getDeviceToken()const;
void setDeviceToken(const std::string& deviceToken);
std::string getUserId()const;
@@ -61,6 +53,16 @@ namespace AlibabaCloud
void setCertType(const std::string& certType);
std::string getFaceContrastPictureUrl()const;
void setFaceContrastPictureUrl(const std::string& faceContrastPictureUrl);
std::string getModel()const;
void setModel(const std::string& model);
std::string getOssObjectName()const;
void setOssObjectName(const std::string& ossObjectName);
std::string getCertName()const;
void setCertName(const std::string& certName);
std::string getIp()const;
void setIp(const std::string& ip);
std::string getMobile()const;
void setMobile(const std::string& mobile);
long getSceneId()const;
void setSceneId(long sceneId);
std::string getOssBucketName()const;
@@ -68,11 +70,7 @@ namespace AlibabaCloud
private:
std::string productCode_;
std::string ossObjectName_;
std::string faceContrastPicture_;
std::string certName_;
std::string ip_;
std::string mobile_;
std::string deviceToken_;
std::string userId_;
std::string certifyId_;
@@ -80,6 +78,11 @@ namespace AlibabaCloud
std::string outerOrderNo_;
std::string certType_;
std::string faceContrastPictureUrl_;
std::string model_;
std::string ossObjectName_;
std::string certName_;
std::string ip_;
std::string mobile_;
long sceneId_;
std::string ossBucketName_;

View File

@@ -38,17 +38,6 @@ void ContrastFaceVerifyRequest::setProductCode(const std::string& productCode)
setBodyParameter("ProductCode", productCode);
}
std::string ContrastFaceVerifyRequest::getOssObjectName()const
{
return ossObjectName_;
}
void ContrastFaceVerifyRequest::setOssObjectName(const std::string& ossObjectName)
{
ossObjectName_ = ossObjectName;
setBodyParameter("OssObjectName", ossObjectName);
}
std::string ContrastFaceVerifyRequest::getFaceContrastPicture()const
{
return faceContrastPicture_;
@@ -60,39 +49,6 @@ void ContrastFaceVerifyRequest::setFaceContrastPicture(const std::string& faceCo
setBodyParameter("FaceContrastPicture", faceContrastPicture);
}
std::string ContrastFaceVerifyRequest::getCertName()const
{
return certName_;
}
void ContrastFaceVerifyRequest::setCertName(const std::string& certName)
{
certName_ = certName;
setBodyParameter("CertName", certName);
}
std::string ContrastFaceVerifyRequest::getIp()const
{
return ip_;
}
void ContrastFaceVerifyRequest::setIp(const std::string& ip)
{
ip_ = ip;
setBodyParameter("Ip", ip);
}
std::string ContrastFaceVerifyRequest::getMobile()const
{
return mobile_;
}
void ContrastFaceVerifyRequest::setMobile(const std::string& mobile)
{
mobile_ = mobile;
setBodyParameter("Mobile", mobile);
}
std::string ContrastFaceVerifyRequest::getDeviceToken()const
{
return deviceToken_;
@@ -170,6 +126,61 @@ void ContrastFaceVerifyRequest::setFaceContrastPictureUrl(const std::string& fac
setBodyParameter("FaceContrastPictureUrl", faceContrastPictureUrl);
}
std::string ContrastFaceVerifyRequest::getModel()const
{
return model_;
}
void ContrastFaceVerifyRequest::setModel(const std::string& model)
{
model_ = model;
setParameter("Model", model);
}
std::string ContrastFaceVerifyRequest::getOssObjectName()const
{
return ossObjectName_;
}
void ContrastFaceVerifyRequest::setOssObjectName(const std::string& ossObjectName)
{
ossObjectName_ = ossObjectName;
setBodyParameter("OssObjectName", ossObjectName);
}
std::string ContrastFaceVerifyRequest::getCertName()const
{
return certName_;
}
void ContrastFaceVerifyRequest::setCertName(const std::string& certName)
{
certName_ = certName;
setBodyParameter("CertName", certName);
}
std::string ContrastFaceVerifyRequest::getIp()const
{
return ip_;
}
void ContrastFaceVerifyRequest::setIp(const std::string& ip)
{
ip_ = ip;
setBodyParameter("Ip", ip);
}
std::string ContrastFaceVerifyRequest::getMobile()const
{
return mobile_;
}
void ContrastFaceVerifyRequest::setMobile(const std::string& mobile)
{
mobile_ = mobile;
setBodyParameter("Mobile", mobile);
}
long ContrastFaceVerifyRequest::getSceneId()const
{
return sceneId_;

View File

@@ -35,6 +35,10 @@ namespace AlibabaCloud
ListDatabaseUserPermssionsRequest();
~ListDatabaseUserPermssionsRequest();
long getTid()const;
void setTid(long tid);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getPermType()const;
void setPermType(const std::string& permType);
std::string getDbId()const;
@@ -43,20 +47,16 @@ namespace AlibabaCloud
void setPageSize(int pageSize);
bool getLogic()const;
void setLogic(bool logic);
long getTid()const;
void setTid(long tid);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getUserName()const;
void setUserName(const std::string& userName);
private:
long tid_;
int pageNumber_;
std::string permType_;
std::string dbId_;
int pageSize_;
bool logic_;
long tid_;
int pageNumber_;
std::string userName_;
};

View File

@@ -37,27 +37,27 @@ namespace AlibabaCloud
std::string getSchemaName()const;
void setSchemaName(const std::string& schemaName);
std::string getSecurityLevel()const;
void setSecurityLevel(const std::string& securityLevel);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getTableName()const;
void setTableName(const std::string& tableName);
std::string getColumnName()const;
void setColumnName(const std::string& columnName);
long getTid()const;
void setTid(long tid);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getSecurityLevel()const;
void setSecurityLevel(const std::string& securityLevel);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getTableName()const;
void setTableName(const std::string& tableName);
private:
std::string schemaName_;
std::string securityLevel_;
int pageSize_;
std::string tableName_;
std::string columnName_;
long tid_;
int pageNumber_;
std::string securityLevel_;
int pageSize_;
std::string tableName_;
};
}

View File

@@ -37,8 +37,6 @@ namespace AlibabaCloud
std::string getRoleNames()const;
void setRoleNames(const std::string& roleNames);
long getUid()const;
void setUid(long uid);
long getMaxResultCount()const;
void setMaxResultCount(long maxResultCount);
long getMaxExecuteCount()const;
@@ -49,15 +47,17 @@ namespace AlibabaCloud
void setMobile(const std::string& mobile);
long getTid()const;
void setTid(long tid);
long getUid()const;
void setUid(long uid);
private:
std::string roleNames_;
long uid_;
long maxResultCount_;
long maxExecuteCount_;
std::string userNick_;
std::string mobile_;
long tid_;
long uid_;
};
}

View File

@@ -27,6 +27,28 @@ ListDatabaseUserPermssionsRequest::ListDatabaseUserPermssionsRequest() :
ListDatabaseUserPermssionsRequest::~ListDatabaseUserPermssionsRequest()
{}
long ListDatabaseUserPermssionsRequest::getTid()const
{
return tid_;
}
void ListDatabaseUserPermssionsRequest::setTid(long tid)
{
tid_ = tid;
setParameter("Tid", std::to_string(tid));
}
int ListDatabaseUserPermssionsRequest::getPageNumber()const
{
return pageNumber_;
}
void ListDatabaseUserPermssionsRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string ListDatabaseUserPermssionsRequest::getPermType()const
{
return permType_;
@@ -71,28 +93,6 @@ void ListDatabaseUserPermssionsRequest::setLogic(bool logic)
setParameter("Logic", logic ? "true" : "false");
}
long ListDatabaseUserPermssionsRequest::getTid()const
{
return tid_;
}
void ListDatabaseUserPermssionsRequest::setTid(long tid)
{
tid_ = tid;
setParameter("Tid", std::to_string(tid));
}
int ListDatabaseUserPermssionsRequest::getPageNumber()const
{
return pageNumber_;
}
void ListDatabaseUserPermssionsRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string ListDatabaseUserPermssionsRequest::getUserName()const
{
return userName_;

View File

@@ -38,39 +38,6 @@ void ListSensitiveColumnsRequest::setSchemaName(const std::string& schemaName)
setParameter("SchemaName", schemaName);
}
std::string ListSensitiveColumnsRequest::getSecurityLevel()const
{
return securityLevel_;
}
void ListSensitiveColumnsRequest::setSecurityLevel(const std::string& securityLevel)
{
securityLevel_ = securityLevel;
setParameter("SecurityLevel", securityLevel);
}
int ListSensitiveColumnsRequest::getPageSize()const
{
return pageSize_;
}
void ListSensitiveColumnsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string ListSensitiveColumnsRequest::getTableName()const
{
return tableName_;
}
void ListSensitiveColumnsRequest::setTableName(const std::string& tableName)
{
tableName_ = tableName;
setParameter("TableName", tableName);
}
std::string ListSensitiveColumnsRequest::getColumnName()const
{
return columnName_;
@@ -104,3 +71,36 @@ void ListSensitiveColumnsRequest::setPageNumber(int pageNumber)
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string ListSensitiveColumnsRequest::getSecurityLevel()const
{
return securityLevel_;
}
void ListSensitiveColumnsRequest::setSecurityLevel(const std::string& securityLevel)
{
securityLevel_ = securityLevel;
setParameter("SecurityLevel", securityLevel);
}
int ListSensitiveColumnsRequest::getPageSize()const
{
return pageSize_;
}
void ListSensitiveColumnsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string ListSensitiveColumnsRequest::getTableName()const
{
return tableName_;
}
void ListSensitiveColumnsRequest::setTableName(const std::string& tableName)
{
tableName_ = tableName;
setParameter("TableName", tableName);
}

View File

@@ -38,17 +38,6 @@ void UpdateUserRequest::setRoleNames(const std::string& roleNames)
setParameter("RoleNames", roleNames);
}
long UpdateUserRequest::getUid()const
{
return uid_;
}
void UpdateUserRequest::setUid(long uid)
{
uid_ = uid;
setParameter("Uid", std::to_string(uid));
}
long UpdateUserRequest::getMaxResultCount()const
{
return maxResultCount_;
@@ -104,3 +93,14 @@ void UpdateUserRequest::setTid(long tid)
setParameter("Tid", std::to_string(tid));
}
long UpdateUserRequest::getUid()const
{
return uid_;
}
void UpdateUserRequest::setUid(long uid)
{
uid_ = uid;
setParameter("Uid", std::to_string(uid));
}

View File

@@ -83,6 +83,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/CreateAutoSnapshotPolicyResult.h
include/alibabacloud/ecs/model/CreateCommandRequest.h
include/alibabacloud/ecs/model/CreateCommandResult.h
include/alibabacloud/ecs/model/CreateDedicatedHostClusterRequest.h
include/alibabacloud/ecs/model/CreateDedicatedHostClusterResult.h
include/alibabacloud/ecs/model/CreateDemandRequest.h
include/alibabacloud/ecs/model/CreateDemandResult.h
include/alibabacloud/ecs/model/CreateDeploymentSetRequest.h
@@ -141,6 +143,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/DeleteBandwidthPackageResult.h
include/alibabacloud/ecs/model/DeleteCommandRequest.h
include/alibabacloud/ecs/model/DeleteCommandResult.h
include/alibabacloud/ecs/model/DeleteDedicatedHostClusterRequest.h
include/alibabacloud/ecs/model/DeleteDedicatedHostClusterResult.h
include/alibabacloud/ecs/model/DeleteDemandRequest.h
include/alibabacloud/ecs/model/DeleteDemandResult.h
include/alibabacloud/ecs/model/DeleteDeploymentSetRequest.h
@@ -217,6 +221,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/DescribeCommandsResult.h
include/alibabacloud/ecs/model/DescribeDedicatedHostAutoRenewRequest.h
include/alibabacloud/ecs/model/DescribeDedicatedHostAutoRenewResult.h
include/alibabacloud/ecs/model/DescribeDedicatedHostClustersRequest.h
include/alibabacloud/ecs/model/DescribeDedicatedHostClustersResult.h
include/alibabacloud/ecs/model/DescribeDedicatedHostTypesRequest.h
include/alibabacloud/ecs/model/DescribeDedicatedHostTypesResult.h
include/alibabacloud/ecs/model/DescribeDedicatedHostsRequest.h
@@ -329,6 +335,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/DescribeSecurityGroupReferencesResult.h
include/alibabacloud/ecs/model/DescribeSecurityGroupsRequest.h
include/alibabacloud/ecs/model/DescribeSecurityGroupsResult.h
include/alibabacloud/ecs/model/DescribeSendFileResultsRequest.h
include/alibabacloud/ecs/model/DescribeSendFileResultsResult.h
include/alibabacloud/ecs/model/DescribeSnapshotLinksRequest.h
include/alibabacloud/ecs/model/DescribeSnapshotLinksResult.h
include/alibabacloud/ecs/model/DescribeSnapshotMonitorDataRequest.h
@@ -429,6 +437,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/ModifyDedicatedHostAutoReleaseTimeResult.h
include/alibabacloud/ecs/model/ModifyDedicatedHostAutoRenewAttributeRequest.h
include/alibabacloud/ecs/model/ModifyDedicatedHostAutoRenewAttributeResult.h
include/alibabacloud/ecs/model/ModifyDedicatedHostClusterAttributeRequest.h
include/alibabacloud/ecs/model/ModifyDedicatedHostClusterAttributeResult.h
include/alibabacloud/ecs/model/ModifyDedicatedHostsChargeTypeRequest.h
include/alibabacloud/ecs/model/ModifyDedicatedHostsChargeTypeResult.h
include/alibabacloud/ecs/model/ModifyDemandRequest.h
@@ -565,6 +575,8 @@ set(ecs_public_header_model
include/alibabacloud/ecs/model/RunCommandResult.h
include/alibabacloud/ecs/model/RunInstancesRequest.h
include/alibabacloud/ecs/model/RunInstancesResult.h
include/alibabacloud/ecs/model/SendFileRequest.h
include/alibabacloud/ecs/model/SendFileResult.h
include/alibabacloud/ecs/model/StartInstanceRequest.h
include/alibabacloud/ecs/model/StartInstanceResult.h
include/alibabacloud/ecs/model/StartInstancesRequest.h
@@ -656,6 +668,8 @@ set(ecs_src
src/model/CreateAutoSnapshotPolicyResult.cc
src/model/CreateCommandRequest.cc
src/model/CreateCommandResult.cc
src/model/CreateDedicatedHostClusterRequest.cc
src/model/CreateDedicatedHostClusterResult.cc
src/model/CreateDemandRequest.cc
src/model/CreateDemandResult.cc
src/model/CreateDeploymentSetRequest.cc
@@ -714,6 +728,8 @@ set(ecs_src
src/model/DeleteBandwidthPackageResult.cc
src/model/DeleteCommandRequest.cc
src/model/DeleteCommandResult.cc
src/model/DeleteDedicatedHostClusterRequest.cc
src/model/DeleteDedicatedHostClusterResult.cc
src/model/DeleteDemandRequest.cc
src/model/DeleteDemandResult.cc
src/model/DeleteDeploymentSetRequest.cc
@@ -790,6 +806,8 @@ set(ecs_src
src/model/DescribeCommandsResult.cc
src/model/DescribeDedicatedHostAutoRenewRequest.cc
src/model/DescribeDedicatedHostAutoRenewResult.cc
src/model/DescribeDedicatedHostClustersRequest.cc
src/model/DescribeDedicatedHostClustersResult.cc
src/model/DescribeDedicatedHostTypesRequest.cc
src/model/DescribeDedicatedHostTypesResult.cc
src/model/DescribeDedicatedHostsRequest.cc
@@ -902,6 +920,8 @@ set(ecs_src
src/model/DescribeSecurityGroupReferencesResult.cc
src/model/DescribeSecurityGroupsRequest.cc
src/model/DescribeSecurityGroupsResult.cc
src/model/DescribeSendFileResultsRequest.cc
src/model/DescribeSendFileResultsResult.cc
src/model/DescribeSnapshotLinksRequest.cc
src/model/DescribeSnapshotLinksResult.cc
src/model/DescribeSnapshotMonitorDataRequest.cc
@@ -1002,6 +1022,8 @@ set(ecs_src
src/model/ModifyDedicatedHostAutoReleaseTimeResult.cc
src/model/ModifyDedicatedHostAutoRenewAttributeRequest.cc
src/model/ModifyDedicatedHostAutoRenewAttributeResult.cc
src/model/ModifyDedicatedHostClusterAttributeRequest.cc
src/model/ModifyDedicatedHostClusterAttributeResult.cc
src/model/ModifyDedicatedHostsChargeTypeRequest.cc
src/model/ModifyDedicatedHostsChargeTypeResult.cc
src/model/ModifyDemandRequest.cc
@@ -1138,6 +1160,8 @@ set(ecs_src
src/model/RunCommandResult.cc
src/model/RunInstancesRequest.cc
src/model/RunInstancesResult.cc
src/model/SendFileRequest.cc
src/model/SendFileResult.cc
src/model/StartInstanceRequest.cc
src/model/StartInstanceResult.cc
src/model/StartInstancesRequest.cc

View File

@@ -84,6 +84,8 @@
#include "model/CreateAutoSnapshotPolicyResult.h"
#include "model/CreateCommandRequest.h"
#include "model/CreateCommandResult.h"
#include "model/CreateDedicatedHostClusterRequest.h"
#include "model/CreateDedicatedHostClusterResult.h"
#include "model/CreateDemandRequest.h"
#include "model/CreateDemandResult.h"
#include "model/CreateDeploymentSetRequest.h"
@@ -142,6 +144,8 @@
#include "model/DeleteBandwidthPackageResult.h"
#include "model/DeleteCommandRequest.h"
#include "model/DeleteCommandResult.h"
#include "model/DeleteDedicatedHostClusterRequest.h"
#include "model/DeleteDedicatedHostClusterResult.h"
#include "model/DeleteDemandRequest.h"
#include "model/DeleteDemandResult.h"
#include "model/DeleteDeploymentSetRequest.h"
@@ -218,6 +222,8 @@
#include "model/DescribeCommandsResult.h"
#include "model/DescribeDedicatedHostAutoRenewRequest.h"
#include "model/DescribeDedicatedHostAutoRenewResult.h"
#include "model/DescribeDedicatedHostClustersRequest.h"
#include "model/DescribeDedicatedHostClustersResult.h"
#include "model/DescribeDedicatedHostTypesRequest.h"
#include "model/DescribeDedicatedHostTypesResult.h"
#include "model/DescribeDedicatedHostsRequest.h"
@@ -330,6 +336,8 @@
#include "model/DescribeSecurityGroupReferencesResult.h"
#include "model/DescribeSecurityGroupsRequest.h"
#include "model/DescribeSecurityGroupsResult.h"
#include "model/DescribeSendFileResultsRequest.h"
#include "model/DescribeSendFileResultsResult.h"
#include "model/DescribeSnapshotLinksRequest.h"
#include "model/DescribeSnapshotLinksResult.h"
#include "model/DescribeSnapshotMonitorDataRequest.h"
@@ -430,6 +438,8 @@
#include "model/ModifyDedicatedHostAutoReleaseTimeResult.h"
#include "model/ModifyDedicatedHostAutoRenewAttributeRequest.h"
#include "model/ModifyDedicatedHostAutoRenewAttributeResult.h"
#include "model/ModifyDedicatedHostClusterAttributeRequest.h"
#include "model/ModifyDedicatedHostClusterAttributeResult.h"
#include "model/ModifyDedicatedHostsChargeTypeRequest.h"
#include "model/ModifyDedicatedHostsChargeTypeResult.h"
#include "model/ModifyDemandRequest.h"
@@ -566,6 +576,8 @@
#include "model/RunCommandResult.h"
#include "model/RunInstancesRequest.h"
#include "model/RunInstancesResult.h"
#include "model/SendFileRequest.h"
#include "model/SendFileResult.h"
#include "model/StartInstanceRequest.h"
#include "model/StartInstanceResult.h"
#include "model/StartInstancesRequest.h"
@@ -694,6 +706,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateCommandResult> CreateCommandOutcome;
typedef std::future<CreateCommandOutcome> CreateCommandOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateCommandRequest&, const CreateCommandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCommandAsyncHandler;
typedef Outcome<Error, Model::CreateDedicatedHostClusterResult> CreateDedicatedHostClusterOutcome;
typedef std::future<CreateDedicatedHostClusterOutcome> CreateDedicatedHostClusterOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateDedicatedHostClusterRequest&, const CreateDedicatedHostClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDedicatedHostClusterAsyncHandler;
typedef Outcome<Error, Model::CreateDemandResult> CreateDemandOutcome;
typedef std::future<CreateDemandOutcome> CreateDemandOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateDemandRequest&, const CreateDemandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDemandAsyncHandler;
@@ -781,6 +796,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteCommandResult> DeleteCommandOutcome;
typedef std::future<DeleteCommandOutcome> DeleteCommandOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DeleteCommandRequest&, const DeleteCommandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCommandAsyncHandler;
typedef Outcome<Error, Model::DeleteDedicatedHostClusterResult> DeleteDedicatedHostClusterOutcome;
typedef std::future<DeleteDedicatedHostClusterOutcome> DeleteDedicatedHostClusterOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DeleteDedicatedHostClusterRequest&, const DeleteDedicatedHostClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDedicatedHostClusterAsyncHandler;
typedef Outcome<Error, Model::DeleteDemandResult> DeleteDemandOutcome;
typedef std::future<DeleteDemandOutcome> DeleteDemandOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DeleteDemandRequest&, const DeleteDemandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDemandAsyncHandler;
@@ -895,6 +913,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDedicatedHostAutoRenewResult> DescribeDedicatedHostAutoRenewOutcome;
typedef std::future<DescribeDedicatedHostAutoRenewOutcome> DescribeDedicatedHostAutoRenewOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeDedicatedHostAutoRenewRequest&, const DescribeDedicatedHostAutoRenewOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDedicatedHostAutoRenewAsyncHandler;
typedef Outcome<Error, Model::DescribeDedicatedHostClustersResult> DescribeDedicatedHostClustersOutcome;
typedef std::future<DescribeDedicatedHostClustersOutcome> DescribeDedicatedHostClustersOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeDedicatedHostClustersRequest&, const DescribeDedicatedHostClustersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDedicatedHostClustersAsyncHandler;
typedef Outcome<Error, Model::DescribeDedicatedHostTypesResult> DescribeDedicatedHostTypesOutcome;
typedef std::future<DescribeDedicatedHostTypesOutcome> DescribeDedicatedHostTypesOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeDedicatedHostTypesRequest&, const DescribeDedicatedHostTypesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDedicatedHostTypesAsyncHandler;
@@ -1063,6 +1084,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeSecurityGroupsResult> DescribeSecurityGroupsOutcome;
typedef std::future<DescribeSecurityGroupsOutcome> DescribeSecurityGroupsOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeSecurityGroupsRequest&, const DescribeSecurityGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSecurityGroupsAsyncHandler;
typedef Outcome<Error, Model::DescribeSendFileResultsResult> DescribeSendFileResultsOutcome;
typedef std::future<DescribeSendFileResultsOutcome> DescribeSendFileResultsOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeSendFileResultsRequest&, const DescribeSendFileResultsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSendFileResultsAsyncHandler;
typedef Outcome<Error, Model::DescribeSnapshotLinksResult> DescribeSnapshotLinksOutcome;
typedef std::future<DescribeSnapshotLinksOutcome> DescribeSnapshotLinksOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeSnapshotLinksRequest&, const DescribeSnapshotLinksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSnapshotLinksAsyncHandler;
@@ -1213,6 +1237,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyDedicatedHostAutoRenewAttributeResult> ModifyDedicatedHostAutoRenewAttributeOutcome;
typedef std::future<ModifyDedicatedHostAutoRenewAttributeOutcome> ModifyDedicatedHostAutoRenewAttributeOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ModifyDedicatedHostAutoRenewAttributeRequest&, const ModifyDedicatedHostAutoRenewAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDedicatedHostAutoRenewAttributeAsyncHandler;
typedef Outcome<Error, Model::ModifyDedicatedHostClusterAttributeResult> ModifyDedicatedHostClusterAttributeOutcome;
typedef std::future<ModifyDedicatedHostClusterAttributeOutcome> ModifyDedicatedHostClusterAttributeOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ModifyDedicatedHostClusterAttributeRequest&, const ModifyDedicatedHostClusterAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDedicatedHostClusterAttributeAsyncHandler;
typedef Outcome<Error, Model::ModifyDedicatedHostsChargeTypeResult> ModifyDedicatedHostsChargeTypeOutcome;
typedef std::future<ModifyDedicatedHostsChargeTypeOutcome> ModifyDedicatedHostsChargeTypeOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::ModifyDedicatedHostsChargeTypeRequest&, const ModifyDedicatedHostsChargeTypeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDedicatedHostsChargeTypeAsyncHandler;
@@ -1417,6 +1444,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::RunInstancesResult> RunInstancesOutcome;
typedef std::future<RunInstancesOutcome> RunInstancesOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::RunInstancesRequest&, const RunInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RunInstancesAsyncHandler;
typedef Outcome<Error, Model::SendFileResult> SendFileOutcome;
typedef std::future<SendFileOutcome> SendFileOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::SendFileRequest&, const SendFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendFileAsyncHandler;
typedef Outcome<Error, Model::StartInstanceResult> StartInstanceOutcome;
typedef std::future<StartInstanceOutcome> StartInstanceOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::StartInstanceRequest&, const StartInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartInstanceAsyncHandler;
@@ -1554,6 +1584,9 @@ namespace AlibabaCloud
CreateCommandOutcome createCommand(const Model::CreateCommandRequest &request)const;
void createCommandAsync(const Model::CreateCommandRequest& request, const CreateCommandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateCommandOutcomeCallable createCommandCallable(const Model::CreateCommandRequest& request) const;
CreateDedicatedHostClusterOutcome createDedicatedHostCluster(const Model::CreateDedicatedHostClusterRequest &request)const;
void createDedicatedHostClusterAsync(const Model::CreateDedicatedHostClusterRequest& request, const CreateDedicatedHostClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDedicatedHostClusterOutcomeCallable createDedicatedHostClusterCallable(const Model::CreateDedicatedHostClusterRequest& request) const;
CreateDemandOutcome createDemand(const Model::CreateDemandRequest &request)const;
void createDemandAsync(const Model::CreateDemandRequest& request, const CreateDemandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDemandOutcomeCallable createDemandCallable(const Model::CreateDemandRequest& request) const;
@@ -1641,6 +1674,9 @@ namespace AlibabaCloud
DeleteCommandOutcome deleteCommand(const Model::DeleteCommandRequest &request)const;
void deleteCommandAsync(const Model::DeleteCommandRequest& request, const DeleteCommandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteCommandOutcomeCallable deleteCommandCallable(const Model::DeleteCommandRequest& request) const;
DeleteDedicatedHostClusterOutcome deleteDedicatedHostCluster(const Model::DeleteDedicatedHostClusterRequest &request)const;
void deleteDedicatedHostClusterAsync(const Model::DeleteDedicatedHostClusterRequest& request, const DeleteDedicatedHostClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDedicatedHostClusterOutcomeCallable deleteDedicatedHostClusterCallable(const Model::DeleteDedicatedHostClusterRequest& request) const;
DeleteDemandOutcome deleteDemand(const Model::DeleteDemandRequest &request)const;
void deleteDemandAsync(const Model::DeleteDemandRequest& request, const DeleteDemandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDemandOutcomeCallable deleteDemandCallable(const Model::DeleteDemandRequest& request) const;
@@ -1755,6 +1791,9 @@ namespace AlibabaCloud
DescribeDedicatedHostAutoRenewOutcome describeDedicatedHostAutoRenew(const Model::DescribeDedicatedHostAutoRenewRequest &request)const;
void describeDedicatedHostAutoRenewAsync(const Model::DescribeDedicatedHostAutoRenewRequest& request, const DescribeDedicatedHostAutoRenewAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDedicatedHostAutoRenewOutcomeCallable describeDedicatedHostAutoRenewCallable(const Model::DescribeDedicatedHostAutoRenewRequest& request) const;
DescribeDedicatedHostClustersOutcome describeDedicatedHostClusters(const Model::DescribeDedicatedHostClustersRequest &request)const;
void describeDedicatedHostClustersAsync(const Model::DescribeDedicatedHostClustersRequest& request, const DescribeDedicatedHostClustersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDedicatedHostClustersOutcomeCallable describeDedicatedHostClustersCallable(const Model::DescribeDedicatedHostClustersRequest& request) const;
DescribeDedicatedHostTypesOutcome describeDedicatedHostTypes(const Model::DescribeDedicatedHostTypesRequest &request)const;
void describeDedicatedHostTypesAsync(const Model::DescribeDedicatedHostTypesRequest& request, const DescribeDedicatedHostTypesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDedicatedHostTypesOutcomeCallable describeDedicatedHostTypesCallable(const Model::DescribeDedicatedHostTypesRequest& request) const;
@@ -1923,6 +1962,9 @@ namespace AlibabaCloud
DescribeSecurityGroupsOutcome describeSecurityGroups(const Model::DescribeSecurityGroupsRequest &request)const;
void describeSecurityGroupsAsync(const Model::DescribeSecurityGroupsRequest& request, const DescribeSecurityGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSecurityGroupsOutcomeCallable describeSecurityGroupsCallable(const Model::DescribeSecurityGroupsRequest& request) const;
DescribeSendFileResultsOutcome describeSendFileResults(const Model::DescribeSendFileResultsRequest &request)const;
void describeSendFileResultsAsync(const Model::DescribeSendFileResultsRequest& request, const DescribeSendFileResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSendFileResultsOutcomeCallable describeSendFileResultsCallable(const Model::DescribeSendFileResultsRequest& request) const;
DescribeSnapshotLinksOutcome describeSnapshotLinks(const Model::DescribeSnapshotLinksRequest &request)const;
void describeSnapshotLinksAsync(const Model::DescribeSnapshotLinksRequest& request, const DescribeSnapshotLinksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSnapshotLinksOutcomeCallable describeSnapshotLinksCallable(const Model::DescribeSnapshotLinksRequest& request) const;
@@ -2073,6 +2115,9 @@ namespace AlibabaCloud
ModifyDedicatedHostAutoRenewAttributeOutcome modifyDedicatedHostAutoRenewAttribute(const Model::ModifyDedicatedHostAutoRenewAttributeRequest &request)const;
void modifyDedicatedHostAutoRenewAttributeAsync(const Model::ModifyDedicatedHostAutoRenewAttributeRequest& request, const ModifyDedicatedHostAutoRenewAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDedicatedHostAutoRenewAttributeOutcomeCallable modifyDedicatedHostAutoRenewAttributeCallable(const Model::ModifyDedicatedHostAutoRenewAttributeRequest& request) const;
ModifyDedicatedHostClusterAttributeOutcome modifyDedicatedHostClusterAttribute(const Model::ModifyDedicatedHostClusterAttributeRequest &request)const;
void modifyDedicatedHostClusterAttributeAsync(const Model::ModifyDedicatedHostClusterAttributeRequest& request, const ModifyDedicatedHostClusterAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDedicatedHostClusterAttributeOutcomeCallable modifyDedicatedHostClusterAttributeCallable(const Model::ModifyDedicatedHostClusterAttributeRequest& request) const;
ModifyDedicatedHostsChargeTypeOutcome modifyDedicatedHostsChargeType(const Model::ModifyDedicatedHostsChargeTypeRequest &request)const;
void modifyDedicatedHostsChargeTypeAsync(const Model::ModifyDedicatedHostsChargeTypeRequest& request, const ModifyDedicatedHostsChargeTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDedicatedHostsChargeTypeOutcomeCallable modifyDedicatedHostsChargeTypeCallable(const Model::ModifyDedicatedHostsChargeTypeRequest& request) const;
@@ -2277,6 +2322,9 @@ namespace AlibabaCloud
RunInstancesOutcome runInstances(const Model::RunInstancesRequest &request)const;
void runInstancesAsync(const Model::RunInstancesRequest& request, const RunInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RunInstancesOutcomeCallable runInstancesCallable(const Model::RunInstancesRequest& request) const;
SendFileOutcome sendFile(const Model::SendFileRequest &request)const;
void sendFileAsync(const Model::SendFileRequest& request, const SendFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SendFileOutcomeCallable sendFileCallable(const Model::SendFileRequest& request) const;
StartInstanceOutcome startInstance(const Model::StartInstanceRequest &request)const;
void startInstanceAsync(const Model::StartInstanceRequest& request, const StartInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartInstanceOutcomeCallable startInstanceCallable(const Model::StartInstanceRequest& request) const;

View File

@@ -47,12 +47,16 @@ namespace AlibabaCloud
void setClientToken(const std::string& clientToken);
std::string getDescription()const;
void setDescription(const std::string& description);
float getCpuOverCommitRatio()const;
void setCpuOverCommitRatio(float cpuOverCommitRatio);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getActionOnMaintenance()const;
void setActionOnMaintenance(const std::string& actionOnMaintenance);
std::string getDedicatedHostClusterId()const;
void setDedicatedHostClusterId(const std::string& dedicatedHostClusterId);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::string getDedicatedHostType()const;
@@ -92,9 +96,11 @@ namespace AlibabaCloud
long resourceOwnerId_;
std::string clientToken_;
std::string description_;
float cpuOverCommitRatio_;
std::string resourceGroupId_;
std::string regionId_;
std::string actionOnMaintenance_;
std::string dedicatedHostClusterId_;
std::vector<Tag> tag_;
std::string dedicatedHostType_;
int autoRenewPeriod_;

View File

@@ -45,6 +45,8 @@ namespace AlibabaCloud
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
bool getWaitForNetworkConfigurationReady()const;
void setWaitForNetworkConfigurationReady(bool waitForNetworkConfigurationReady);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getInstanceId()const;
@@ -58,6 +60,7 @@ namespace AlibabaCloud
std::string trunkNetworkInstanceId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
bool waitForNetworkConfigurationReady_;
long ownerId_;
std::string instanceId_;
std::string networkInterfaceId_;

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_ECS_MODEL_CREATEDEDICATEDHOSTCLUSTERREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEDEDICATEDHOSTCLUSTERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT CreateDedicatedHostClusterRequest : public RpcServiceRequest
{
public:
struct Tag
{
std::string key;
std::string value;
};
public:
CreateDedicatedHostClusterRequest();
~CreateDedicatedHostClusterRequest();
std::string getDedicatedHostClusterName()const;
void setDedicatedHostClusterName(const std::string& dedicatedHostClusterName);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
bool getDryRun()const;
void setDryRun(bool dryRun);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
private:
std::string dedicatedHostClusterName_;
long resourceOwnerId_;
std::string description_;
std::string resourceGroupId_;
std::string regionId_;
std::vector<Tag> tag_;
bool dryRun_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string zoneId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEDEDICATEDHOSTCLUSTERREQUEST_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_ECS_MODEL_CREATEDEDICATEDHOSTCLUSTERRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEDEDICATEDHOSTCLUSTERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT CreateDedicatedHostClusterResult : public ServiceResult
{
public:
CreateDedicatedHostClusterResult();
explicit CreateDedicatedHostClusterResult(const std::string &payload);
~CreateDedicatedHostClusterResult();
std::string getDedicatedHostClusterId()const;
protected:
void parse(const std::string &payload);
private:
std::string dedicatedHostClusterId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEDEDICATEDHOSTCLUSTERRESULT_H_

View File

@@ -41,6 +41,8 @@ namespace AlibabaCloud
CreateNetworkInterfaceRequest();
~CreateNetworkInterfaceRequest();
int getQueueNumber()const;
void setQueueNumber(int queueNumber);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClientToken()const;
@@ -81,6 +83,7 @@ namespace AlibabaCloud
void setPrimaryIpAddress(const std::string& primaryIpAddress);
private:
int queueNumber_;
long resourceOwnerId_;
std::string clientToken_;
std::string securityGroupId_;

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_ECS_MODEL_DELETEDEDICATEDHOSTCLUSTERREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DELETEDEDICATEDHOSTCLUSTERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DeleteDedicatedHostClusterRequest : public RpcServiceRequest
{
public:
DeleteDedicatedHostClusterRequest();
~DeleteDedicatedHostClusterRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getDedicatedHostClusterId()const;
void setDedicatedHostClusterId(const std::string& dedicatedHostClusterId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string dedicatedHostClusterId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DELETEDEDICATEDHOSTCLUSTERREQUEST_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_ECS_MODEL_DELETEDEDICATEDHOSTCLUSTERRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DELETEDEDICATEDHOSTCLUSTERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DeleteDedicatedHostClusterResult : public ServiceResult
{
public:
DeleteDedicatedHostClusterResult();
explicit DeleteDedicatedHostClusterResult(const std::string &payload);
~DeleteDedicatedHostClusterResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DELETEDEDICATEDHOSTCLUSTERRESULT_H_

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ECS_MODEL_DESCRIBEDEDICATEDHOSTCLUSTERSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDHOSTCLUSTERSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeDedicatedHostClustersRequest : public RpcServiceRequest
{
public:
struct Tag
{
std::string key;
std::string value;
};
public:
DescribeDedicatedHostClustersRequest();
~DescribeDedicatedHostClustersRequest();
std::string getDedicatedHostClusterName()const;
void setDedicatedHostClusterName(const std::string& dedicatedHostClusterName);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getDedicatedHostClusterIds()const;
void setDedicatedHostClusterIds(const std::string& dedicatedHostClusterIds);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getLockReason()const;
void setLockReason(const std::string& lockReason);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageSize()const;
void setPageSize(int pageSize);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
std::string getStatus()const;
void setStatus(const std::string& status);
private:
std::string dedicatedHostClusterName_;
long resourceOwnerId_;
std::string dedicatedHostClusterIds_;
int pageNumber_;
std::string resourceGroupId_;
std::string lockReason_;
std::string regionId_;
int pageSize_;
std::vector<Tag> tag_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string zoneId_;
std::string status_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDHOSTCLUSTERSREQUEST_H_

View File

@@ -0,0 +1,88 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDHOSTCLUSTERSRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDHOSTCLUSTERSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeDedicatedHostClustersResult : public ServiceResult
{
public:
struct DedicatedHostCluster
{
struct DedicatedHostClusterCapacity
{
struct LocalStorageCapacity
{
int totalDisk;
int availableDisk;
std::string dataDiskCategory;
};
int totalMemory;
int availableMemory;
int availableVcpus;
int totalVcpus;
std::vector<LocalStorageCapacity> localStorageCapacities;
};
struct Tag
{
std::string tagKey;
std::string tagValue;
};
std::string description;
std::string zoneId;
std::string dedicatedHostClusterName;
std::string resourceGroupId;
DedicatedHostClusterCapacity dedicatedHostClusterCapacity;
std::string regionId;
std::vector<std::string> dedicatedHostIds;
std::vector<DedicatedHostCluster::Tag> tags;
std::string dedicatedHostClusterId;
};
DescribeDedicatedHostClustersResult();
explicit DescribeDedicatedHostClustersResult(const std::string &payload);
~DescribeDedicatedHostClustersResult();
std::vector<DedicatedHostCluster> getDedicatedHostClusters()const;
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DedicatedHostCluster> dedicatedHostClusters_;
int totalCount_;
int pageSize_;
int pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDHOSTCLUSTERSRESULT_H_

View File

@@ -45,7 +45,9 @@ namespace AlibabaCloud
std::string gPUSpec;
std::vector<std::string> supportedInstanceTypeFamilies;
int totalVgpus;
std::string cpuOverCommitRatioRange;
std::vector<std::string> supportedInstanceTypesList;
bool supportCpuOverCommitRatio;
int totalVcpus;
};

View File

@@ -76,6 +76,7 @@ namespace AlibabaCloud
Capacity capacity;
std::string dedicatedHostName;
std::string expiredTime;
float cpuOverCommitRatio;
std::string saleCycle;
std::vector<DedicatedHost::Tag> tags;
std::string status;
@@ -92,6 +93,7 @@ namespace AlibabaCloud
std::string creationTime;
std::string regionId;
std::vector<std::string> supportedInstanceTypesList;
std::string dedicatedHostClusterId;
std::string autoReleaseTime;
};

View File

@@ -77,6 +77,8 @@ namespace AlibabaCloud
void setInstanceId(const std::string& instanceId);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
int getMaxResults()const;
void setMaxResults(int maxResults);
std::string getStatus()const;
void setStatus(const std::string& status);
std::string getSnapshotId()const;
@@ -85,6 +87,8 @@ namespace AlibabaCloud
void setPageNumber(int pageNumber);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getDiskIds()const;
@@ -129,10 +133,12 @@ namespace AlibabaCloud
std::vector<std::string> additionalAttributes_;
std::string instanceId_;
std::string zoneId_;
int maxResults_;
std::string status_;
std::string snapshotId_;
int pageNumber_;
std::string regionId_;
std::string nextToken_;
int pageSize_;
std::string diskIds_;
bool deleteWithInstance_;

View File

@@ -97,6 +97,7 @@ namespace AlibabaCloud
~DescribeDisksResult();
int getTotalCount()const;
int getPageSize()const;
std::string getNextToken()const;
int getPageNumber()const;
std::vector<Disk> getDisks()const;
@@ -105,6 +106,7 @@ namespace AlibabaCloud
private:
int totalCount_;
int pageSize_;
std::string nextToken_;
int pageNumber_;
std::vector<Disk> disks_;

View File

@@ -34,27 +34,30 @@ namespace AlibabaCloud
public:
struct InstanceType
{
float memorySize;
long instancePpsTx;
int eniIpv6AddressQuantity;
int cpuCoreCount;
int primaryEniQueueNumber;
long localStorageCapacity;
int totalEniQueueQuantity;
int eniTotalQuantity;
bool eniTrunkSupported;
std::string instanceTypeFamily;
long instancePpsRx;
int initialCredit;
int eniQuantity;
int instanceBandwidthRx;
int gPUAmount;
int instanceBandwidthTx;
int localStorageAmount;
int secondaryEniQueueNumber;
std::string localStorageCategory;
std::string gPUSpec;
std::string instanceTypeId;
float memorySize;
int maximumQueueNumberPerEni;
int eniIpv6AddressQuantity;
int cpuCoreCount;
int eniTotalQuantity;
int initialCredit;
int eniQuantity;
int gPUAmount;
int baselineCredit;
std::string instanceFamilyLevel;
std::string instanceTypeId;
int eniPrivateIpAddressQuantity;
};

View File

@@ -53,6 +53,7 @@ namespace AlibabaCloud
{
std::string dedicatedHostId;
std::string dedicatedHostName;
std::string dedicatedHostClusterId;
};
struct EcsCapacityReservationAttr
{
@@ -126,6 +127,7 @@ namespace AlibabaCloud
long localStorageCapacity;
std::string instanceTypeFamily;
DedicatedInstanceAttribute dedicatedInstanceAttribute;
int spotDuration;
int localStorageAmount;
std::vector<std::string> publicIpAddress;
std::string gPUSpec;

View File

@@ -30,6 +30,12 @@ namespace AlibabaCloud
{
class ALIBABACLOUD_ECS_EXPORT DescribeReservedInstancesRequest : public RpcServiceRequest
{
public:
struct Tag
{
std::string key;
std::string value;
};
public:
DescribeReservedInstancesRequest();
@@ -49,6 +55,8 @@ namespace AlibabaCloud
void setPageSize(int pageSize);
std::string getInstanceType()const;
void setInstanceType(const std::string& instanceType);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
@@ -78,6 +86,7 @@ namespace AlibabaCloud
std::string scope_;
int pageSize_;
std::string instanceType_;
std::vector<Tag> tag_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string instanceTypeFamily_;

View File

@@ -38,6 +38,11 @@ namespace AlibabaCloud
{
std::string lockReason;
};
struct Tag
{
std::string tagKey;
std::string tagValue;
};
std::string status;
std::string description;
std::string allocationStatus;
@@ -55,6 +60,7 @@ namespace AlibabaCloud
std::string regionId;
std::string reservedInstanceName;
std::string instanceType;
std::vector<ReservedInstance::Tag> tags;
};

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_ECS_MODEL_DESCRIBESENDFILERESULTSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBESENDFILERESULTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeSendFileResultsRequest : public RpcServiceRequest
{
public:
DescribeSendFileResultsRequest();
~DescribeSendFileResultsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
long getPageNumber()const;
void setPageNumber(long pageNumber);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getPageSize()const;
void setPageSize(long pageSize);
std::string getInvokeId()const;
void setInvokeId(const std::string& invokeId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getName()const;
void setName(const std::string& name);
private:
long resourceOwnerId_;
long pageNumber_;
std::string regionId_;
long pageSize_;
std::string invokeId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string instanceId_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBESENDFILERESULTSREQUEST_H_

View File

@@ -0,0 +1,85 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_DESCRIBESENDFILERESULTSRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBESENDFILERESULTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeSendFileResultsResult : public ServiceResult
{
public:
struct Invocation
{
struct InvokeInstance
{
std::string invocationStatus;
std::string finishTime;
std::string instanceId;
std::string errorInfo;
std::string creationTime;
std::string startTime;
std::string updateTime;
std::string errorCode;
};
std::string fileMode;
std::string overwrite;
std::string invocationStatus;
std::string description;
std::string contentType;
int vmCount;
std::string targetDir;
std::string fileGroup;
std::string fileOwner;
std::vector<Invocation::InvokeInstance> invokeInstances;
std::string name;
std::string content;
std::string creationTime;
std::string invokeId;
};
DescribeSendFileResultsResult();
explicit DescribeSendFileResultsResult(const std::string &payload);
~DescribeSendFileResultsResult();
long getTotalCount()const;
long getPageSize()const;
std::vector<Invocation> getInvocations()const;
long getPageNumber()const;
protected:
void parse(const std::string &payload);
private:
long totalCount_;
long pageSize_;
std::vector<Invocation> invocations_;
long pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBESENDFILERESULTSRESULT_H_

View File

@@ -40,6 +40,7 @@ namespace AlibabaCloud
int eni;
int keyPair;
int snapshotPolicy;
int reservedInstance;
int instance;
int volume;
int launchTemplate;

View File

@@ -39,10 +39,14 @@ namespace AlibabaCloud
void setResourceOwnerId(long resourceOwnerId);
std::string getDescription()const;
void setDescription(const std::string& description);
float getCpuOverCommitRatio()const;
void setCpuOverCommitRatio(float cpuOverCommitRatio);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getActionOnMaintenance()const;
void setActionOnMaintenance(const std::string& actionOnMaintenance);
std::string getDedicatedHostClusterId()const;
void setDedicatedHostClusterId(const std::string& dedicatedHostClusterId);
std::string getDedicatedHostName()const;
void setDedicatedHostName(const std::string& dedicatedHostName);
std::string getResourceOwnerAccount()const;
@@ -63,8 +67,10 @@ namespace AlibabaCloud
private:
long resourceOwnerId_;
std::string description_;
float cpuOverCommitRatio_;
std::string regionId_;
std::string actionOnMaintenance_;
std::string dedicatedHostClusterId_;
std::string dedicatedHostName_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_MODIFYDEDICATEDHOSTCLUSTERATTRIBUTEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_MODIFYDEDICATEDHOSTCLUSTERATTRIBUTEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT ModifyDedicatedHostClusterAttributeRequest : public RpcServiceRequest
{
public:
ModifyDedicatedHostClusterAttributeRequest();
~ModifyDedicatedHostClusterAttributeRequest();
std::string getDedicatedHostClusterName()const;
void setDedicatedHostClusterName(const std::string& dedicatedHostClusterName);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getDedicatedHostClusterId()const;
void setDedicatedHostClusterId(const std::string& dedicatedHostClusterId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string dedicatedHostClusterName_;
long resourceOwnerId_;
std::string description_;
std::string regionId_;
std::string dedicatedHostClusterId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYDEDICATEDHOSTCLUSTERATTRIBUTEREQUEST_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_ECS_MODEL_MODIFYDEDICATEDHOSTCLUSTERATTRIBUTERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_MODIFYDEDICATEDHOSTCLUSTERATTRIBUTERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT ModifyDedicatedHostClusterAttributeResult : public ServiceResult
{
public:
ModifyDedicatedHostClusterAttributeResult();
explicit ModifyDedicatedHostClusterAttributeResult(const std::string &payload);
~ModifyDedicatedHostClusterAttributeResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_MODIFYDEDICATEDHOSTCLUSTERATTRIBUTERESULT_H_

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
void setResourceOwnerId(long resourceOwnerId);
bool getRecyclable()const;
void setRecyclable(bool recyclable);
int getNetworkInterfaceQueueNumber()const;
void setNetworkInterfaceQueueNumber(int networkInterfaceQueueNumber);
std::string getDescription()const;
void setDescription(const std::string& description);
bool getDeletionProtection()const;
@@ -67,6 +69,7 @@ namespace AlibabaCloud
private:
long resourceOwnerId_;
bool recyclable_;
int networkInterfaceQueueNumber_;
std::string description_;
bool deletionProtection_;
std::string userData_;

View File

@@ -41,6 +41,8 @@ namespace AlibabaCloud
void setRegionId(const std::string& regionId);
int getDeploymentSetGroupNo()const;
void setDeploymentSetGroupNo(int deploymentSetGroupNo);
std::string getDedicatedHostClusterId()const;
void setDedicatedHostClusterId(const std::string& dedicatedHostClusterId);
std::string getInstanceType()const;
void setInstanceType(const std::string& instanceType);
std::string getDeploymentSetId()const;
@@ -68,6 +70,7 @@ namespace AlibabaCloud
long resourceOwnerId_;
std::string regionId_;
int deploymentSetGroupNo_;
std::string dedicatedHostClusterId_;
std::string instanceType_;
std::string deploymentSetId_;
std::string resourceOwnerAccount_;

View File

@@ -30,6 +30,12 @@ namespace AlibabaCloud
{
class ALIBABACLOUD_ECS_EXPORT PurchaseReservedInstancesOfferingRequest : public RpcServiceRequest
{
public:
struct Tag
{
std::string key;
std::string value;
};
public:
PurchaseReservedInstancesOfferingRequest();
@@ -51,6 +57,8 @@ namespace AlibabaCloud
void setScope(const std::string& scope);
std::string getInstanceType()const;
void setInstanceType(const std::string& instanceType);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
int getPeriod()const;
void setPeriod(int period);
std::string getResourceOwnerAccount()const;
@@ -79,6 +87,7 @@ namespace AlibabaCloud
std::string regionId_;
std::string scope_;
std::string instanceType_;
std::vector<Tag> tag_;
int period_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;

View File

@@ -50,6 +50,7 @@ namespace AlibabaCloud
std::vector<std::string> securityGroupIds;
std::string networkInterfaceName;
std::string description;
int queueNumber;
};
struct DataDisk
{
@@ -117,6 +118,8 @@ namespace AlibabaCloud
void setImageId(const std::string& imageId);
std::string getSpotInterruptionBehavior()const;
void setSpotInterruptionBehavior(const std::string& spotInterruptionBehavior);
int getNetworkInterfaceQueueNumber()const;
void setNetworkInterfaceQueueNumber(int networkInterfaceQueueNumber);
std::string getIoOptimized()const;
void setIoOptimized(const std::string& ioOptimized);
std::string getSecurityGroupId()const;
@@ -131,6 +134,8 @@ namespace AlibabaCloud
void setHibernationConfigured(bool hibernationConfigured);
std::vector<Arn> getArn()const;
void setArn(const std::vector<Arn>& arn);
std::string getSchedulerOptions()const;
void setSchedulerOptions(const std::string& schedulerOptions);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getSystemDiskDiskName()const;
@@ -248,6 +253,7 @@ namespace AlibabaCloud
std::string affinity_;
std::string imageId_;
std::string spotInterruptionBehavior_;
int networkInterfaceQueueNumber_;
std::string ioOptimized_;
std::string securityGroupId_;
std::string systemDiskPerformanceLevel_;
@@ -255,6 +261,7 @@ namespace AlibabaCloud
std::string instanceType_;
bool hibernationConfigured_;
std::vector<Arn> arn_;
std::string schedulerOptions_;
std::string resourceOwnerAccount_;
std::string systemDiskDiskName_;
std::string dedicatedHostId_;

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ECS_MODEL_SENDFILEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_SENDFILEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT SendFileRequest : public RpcServiceRequest
{
public:
SendFileRequest();
~SendFileRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getDescription()const;
void setDescription(const std::string& description);
long getTimeout()const;
void setTimeout(long timeout);
std::string getContent()const;
void setContent(const std::string& content);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getFileOwner()const;
void setFileOwner(const std::string& fileOwner);
bool getOverwrite()const;
void setOverwrite(bool overwrite);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getFileMode()const;
void setFileMode(const std::string& fileMode);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getContentType()const;
void setContentType(const std::string& contentType);
std::vector<std::string> getInstanceId()const;
void setInstanceId(const std::vector<std::string>& instanceId);
std::string getName()const;
void setName(const std::string& name);
std::string getFileGroup()const;
void setFileGroup(const std::string& fileGroup);
std::string getTargetDir()const;
void setTargetDir(const std::string& targetDir);
private:
long resourceOwnerId_;
std::string description_;
long timeout_;
std::string content_;
std::string regionId_;
std::string fileOwner_;
bool overwrite_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string fileMode_;
long ownerId_;
std::string contentType_;
std::vector<std::string> instanceId_;
std::string name_;
std::string fileGroup_;
std::string targetDir_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_SENDFILEREQUEST_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_ECS_MODEL_SENDFILERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_SENDFILERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT SendFileResult : public ServiceResult
{
public:
SendFileResult();
explicit SendFileResult(const std::string &payload);
~SendFileResult();
std::string getInvokeId()const;
protected:
void parse(const std::string &payload);
private:
std::string invokeId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_SENDFILERESULT_H_

View File

@@ -1167,6 +1167,42 @@ EcsClient::CreateCommandOutcomeCallable EcsClient::createCommandCallable(const C
return task->get_future();
}
EcsClient::CreateDedicatedHostClusterOutcome EcsClient::createDedicatedHostCluster(const CreateDedicatedHostClusterRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateDedicatedHostClusterOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateDedicatedHostClusterOutcome(CreateDedicatedHostClusterResult(outcome.result()));
else
return CreateDedicatedHostClusterOutcome(outcome.error());
}
void EcsClient::createDedicatedHostClusterAsync(const CreateDedicatedHostClusterRequest& request, const CreateDedicatedHostClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createDedicatedHostCluster(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::CreateDedicatedHostClusterOutcomeCallable EcsClient::createDedicatedHostClusterCallable(const CreateDedicatedHostClusterRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateDedicatedHostClusterOutcome()>>(
[this, request]()
{
return this->createDedicatedHostCluster(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::CreateDemandOutcome EcsClient::createDemand(const CreateDemandRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2211,6 +2247,42 @@ EcsClient::DeleteCommandOutcomeCallable EcsClient::deleteCommandCallable(const D
return task->get_future();
}
EcsClient::DeleteDedicatedHostClusterOutcome EcsClient::deleteDedicatedHostCluster(const DeleteDedicatedHostClusterRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteDedicatedHostClusterOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteDedicatedHostClusterOutcome(DeleteDedicatedHostClusterResult(outcome.result()));
else
return DeleteDedicatedHostClusterOutcome(outcome.error());
}
void EcsClient::deleteDedicatedHostClusterAsync(const DeleteDedicatedHostClusterRequest& request, const DeleteDedicatedHostClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteDedicatedHostCluster(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::DeleteDedicatedHostClusterOutcomeCallable EcsClient::deleteDedicatedHostClusterCallable(const DeleteDedicatedHostClusterRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteDedicatedHostClusterOutcome()>>(
[this, request]()
{
return this->deleteDedicatedHostCluster(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::DeleteDemandOutcome EcsClient::deleteDemand(const DeleteDemandRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -3579,6 +3651,42 @@ EcsClient::DescribeDedicatedHostAutoRenewOutcomeCallable EcsClient::describeDedi
return task->get_future();
}
EcsClient::DescribeDedicatedHostClustersOutcome EcsClient::describeDedicatedHostClusters(const DescribeDedicatedHostClustersRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDedicatedHostClustersOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDedicatedHostClustersOutcome(DescribeDedicatedHostClustersResult(outcome.result()));
else
return DescribeDedicatedHostClustersOutcome(outcome.error());
}
void EcsClient::describeDedicatedHostClustersAsync(const DescribeDedicatedHostClustersRequest& request, const DescribeDedicatedHostClustersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDedicatedHostClusters(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::DescribeDedicatedHostClustersOutcomeCallable EcsClient::describeDedicatedHostClustersCallable(const DescribeDedicatedHostClustersRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDedicatedHostClustersOutcome()>>(
[this, request]()
{
return this->describeDedicatedHostClusters(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::DescribeDedicatedHostTypesOutcome EcsClient::describeDedicatedHostTypes(const DescribeDedicatedHostTypesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -5595,6 +5703,42 @@ EcsClient::DescribeSecurityGroupsOutcomeCallable EcsClient::describeSecurityGrou
return task->get_future();
}
EcsClient::DescribeSendFileResultsOutcome EcsClient::describeSendFileResults(const DescribeSendFileResultsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeSendFileResultsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeSendFileResultsOutcome(DescribeSendFileResultsResult(outcome.result()));
else
return DescribeSendFileResultsOutcome(outcome.error());
}
void EcsClient::describeSendFileResultsAsync(const DescribeSendFileResultsRequest& request, const DescribeSendFileResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeSendFileResults(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::DescribeSendFileResultsOutcomeCallable EcsClient::describeSendFileResultsCallable(const DescribeSendFileResultsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeSendFileResultsOutcome()>>(
[this, request]()
{
return this->describeSendFileResults(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::DescribeSnapshotLinksOutcome EcsClient::describeSnapshotLinks(const DescribeSnapshotLinksRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -7395,6 +7539,42 @@ EcsClient::ModifyDedicatedHostAutoRenewAttributeOutcomeCallable EcsClient::modif
return task->get_future();
}
EcsClient::ModifyDedicatedHostClusterAttributeOutcome EcsClient::modifyDedicatedHostClusterAttribute(const ModifyDedicatedHostClusterAttributeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyDedicatedHostClusterAttributeOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ModifyDedicatedHostClusterAttributeOutcome(ModifyDedicatedHostClusterAttributeResult(outcome.result()));
else
return ModifyDedicatedHostClusterAttributeOutcome(outcome.error());
}
void EcsClient::modifyDedicatedHostClusterAttributeAsync(const ModifyDedicatedHostClusterAttributeRequest& request, const ModifyDedicatedHostClusterAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, modifyDedicatedHostClusterAttribute(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::ModifyDedicatedHostClusterAttributeOutcomeCallable EcsClient::modifyDedicatedHostClusterAttributeCallable(const ModifyDedicatedHostClusterAttributeRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ModifyDedicatedHostClusterAttributeOutcome()>>(
[this, request]()
{
return this->modifyDedicatedHostClusterAttribute(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::ModifyDedicatedHostsChargeTypeOutcome EcsClient::modifyDedicatedHostsChargeType(const ModifyDedicatedHostsChargeTypeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -9843,6 +10023,42 @@ EcsClient::RunInstancesOutcomeCallable EcsClient::runInstancesCallable(const Run
return task->get_future();
}
EcsClient::SendFileOutcome EcsClient::sendFile(const SendFileRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SendFileOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SendFileOutcome(SendFileResult(outcome.result()));
else
return SendFileOutcome(outcome.error());
}
void EcsClient::sendFileAsync(const SendFileRequest& request, const SendFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, sendFile(request), context);
};
asyncExecute(new Runnable(fn));
}
EcsClient::SendFileOutcomeCallable EcsClient::sendFileCallable(const SendFileRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SendFileOutcome()>>(
[this, request]()
{
return this->sendFile(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EcsClient::StartInstanceOutcome EcsClient::startInstance(const StartInstanceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

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