Compare commits
40 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
20e471c41f | ||
|
|
dbb5d5f56d | ||
|
|
68f2493757 | ||
|
|
ff645a988c | ||
|
|
151822de9a | ||
|
|
793abf30f9 | ||
|
|
c0045d1c32 | ||
|
|
43f0c30248 | ||
|
|
dff2b43722 | ||
|
|
090d6da253 | ||
|
|
bd85a14b02 | ||
|
|
30c9817822 | ||
|
|
8f847b0f5d | ||
|
|
1dcf6cb7f3 | ||
|
|
b5790be0db | ||
|
|
371081045a | ||
|
|
480c9b3700 | ||
|
|
72ca50ab65 | ||
|
|
34747e61fe | ||
|
|
b6697980bc | ||
|
|
e3e5a0ff42 | ||
|
|
3c1c245147 | ||
|
|
8c27cbdc14 | ||
|
|
8ac065c14f | ||
|
|
e68269b045 | ||
|
|
53ac431b11 | ||
|
|
5255330d62 | ||
|
|
b9a879f696 | ||
|
|
7ac2669922 | ||
|
|
9693807164 | ||
|
|
e20435dd22 | ||
|
|
06eedce285 | ||
|
|
2e76d1dcac | ||
|
|
e1718ed478 | ||
|
|
56138ffe5e | ||
|
|
e4502cf36b | ||
|
|
8d4cff577b | ||
|
|
7267430dde | ||
|
|
7163e3a7d5 | ||
|
|
78ca57fe3d |
129
CHANGELOG
129
CHANGELOG
@@ -1,3 +1,132 @@
|
||||
2020-09-02 Version: 1.36.628
|
||||
- Supported AndroidNotificationHuaweiChannel for Push and MassPush.
|
||||
|
||||
2020-09-01 Version: 1.36.627
|
||||
- Add Smart Verify API.
|
||||
|
||||
2020-09-01 Version: 1.36.626
|
||||
- Support region route.
|
||||
|
||||
2020-09-01 Version: 1.36.625
|
||||
- Support region route.
|
||||
|
||||
2020-09-01 Version: 1.36.624
|
||||
- Update Parameter.
|
||||
|
||||
2020-08-31 Version: 1.36.623
|
||||
- Support PersonList.
|
||||
|
||||
2020-08-31 Version: 1.36.622
|
||||
- GetPersonList Support LastShotTime.
|
||||
|
||||
2020-08-31 Version: 1.36.621
|
||||
- Support config resource recorder deliverychannel rule.
|
||||
|
||||
2020-08-31 Version: 1.36.620
|
||||
- Supported AAA for BBB.
|
||||
- Fixed bugs for CCC.
|
||||
|
||||
2020-08-31 Version: 1.36.619
|
||||
- Support config resource recorder deliverychannel rule.
|
||||
|
||||
2020-08-31 Version: 1.36.618
|
||||
- Supported AAA for BBB.
|
||||
- Fixed bugs for CCC.
|
||||
|
||||
2020-08-31 Version: 1.36.617
|
||||
- Supported AAA for BBB.
|
||||
- Fixed bugs for CCC.
|
||||
|
||||
2020-08-31 Version: 1.36.616
|
||||
- Add list person visit count API.
|
||||
|
||||
2020-08-28 Version: 1.36.615
|
||||
- Add name.
|
||||
|
||||
2020-08-28 Version: 1.36.614
|
||||
- Support multiple security group for one ehpc cluster.
|
||||
- Update GWS apis.
|
||||
|
||||
2020-08-28 Version: 1.36.613
|
||||
- Supported Add GetAlgorithmHistoryResult.
|
||||
|
||||
2020-08-27 Version: 1.36.612
|
||||
- Update parameter.
|
||||
|
||||
2020-08-25 Version: 1.36.611
|
||||
- Release ExtractPedestrianFeatureAttribute and BlurFace.
|
||||
|
||||
2020-08-25 Version: 1.36.610
|
||||
- Add list person visit count API.
|
||||
|
||||
2020-08-25 Version: 1.36.609
|
||||
- Video Content analytics template introduced to this SDK.
|
||||
|
||||
2020-08-25 Version: 1.36.608
|
||||
- Change DeviceSerialNumber to DeviceSn in API RegisterDevice.
|
||||
|
||||
2020-08-24 Version: 1.36.607
|
||||
- Change DeviceSerialNumber to DeviceSn in API RegisterDevice.
|
||||
|
||||
2020-08-24 Version: 1.36.606
|
||||
- Add project api.
|
||||
|
||||
2020-08-24 Version: 1.36.605
|
||||
- Edit QueryMetricByPage api.
|
||||
|
||||
2020-08-21 Version: 1.36.604
|
||||
- Add QueryMetricByPage api.
|
||||
- Add GetAppApiByPage api.
|
||||
|
||||
2020-08-20 Version: 1.36.603
|
||||
- PullActionData add parameters.
|
||||
- DescribeCursor add parameter.
|
||||
|
||||
2020-08-20 Version: 1.36.602
|
||||
- Add list person visit count API.
|
||||
|
||||
2020-08-20 Version: 1.36.601
|
||||
- Added Global Distribute Cache OpenAPIs.
|
||||
- Added direct connection OpenAPIs.
|
||||
|
||||
2020-08-19 Version: 1.36.600
|
||||
- Add DescribeLiveDomainCertificateInfo.
|
||||
|
||||
2020-08-19 Version: 1.36.599
|
||||
- Generated 2020-08-01 for `SmartHosting`.
|
||||
|
||||
2020-08-18 Version: 1.36.598
|
||||
- Support for describe hbaseue multi-zone model.
|
||||
|
||||
2020-08-18 Version: 1.36.597
|
||||
- Support session query operations.
|
||||
|
||||
2020-08-18 Version: 1.36.596
|
||||
- Public beta version.
|
||||
- Add Api Overseas.
|
||||
|
||||
2020-08-17 Version: 1.36.595
|
||||
- Add list event algorithm details.
|
||||
|
||||
2020-08-17 Version: 1.36.594
|
||||
- Add list event algorithm details.
|
||||
|
||||
2020-08-17 Version: 1.36.593
|
||||
- Add GetTrace api.
|
||||
- Edit Aler api.
|
||||
|
||||
2020-08-17 Version: 1.36.592
|
||||
- Add pipeline status api.
|
||||
|
||||
2020-08-17 Version: 1.36.591
|
||||
- Add list event algorithm details.
|
||||
|
||||
2020-08-17 Version: 1.36.590
|
||||
- Add list event algorithm details.
|
||||
|
||||
2020-08-17 Version: 1.36.589
|
||||
- Fix create project task.
|
||||
|
||||
2020-08-17 Version: 1.36.588
|
||||
- Public beta version.
|
||||
- Add Api Overseas.
|
||||
|
||||
@@ -31,6 +31,8 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/BatchDeleteDevicesResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CallDeviceRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CallDeviceResult.h
|
||||
include/alibabacloud/aliyuncvc/model/ConferenceToLiveRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/ConferenceToLiveResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateDeviceMeetingResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CreateEvaluationRequest.h
|
||||
@@ -47,6 +49,8 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/CreateUserInternationalResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CustomGonggeLayoutRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CustomGonggeLayoutResult.h
|
||||
include/alibabacloud/aliyuncvc/model/CustomLayoutRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/CustomLayoutResult.h
|
||||
include/alibabacloud/aliyuncvc/model/DeleteDeviceRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/DeleteDeviceResult.h
|
||||
include/alibabacloud/aliyuncvc/model/DeleteLiveRequest.h
|
||||
@@ -55,6 +59,8 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/DeleteMeetingResult.h
|
||||
include/alibabacloud/aliyuncvc/model/DeleteUserRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/DeleteUserResult.h
|
||||
include/alibabacloud/aliyuncvc/model/EnableLiveSpeakerRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/EnableLiveSpeakerResult.h
|
||||
include/alibabacloud/aliyuncvc/model/EndDeviceMeetingRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/EndDeviceMeetingResult.h
|
||||
include/alibabacloud/aliyuncvc/model/EndLiveRequest.h
|
||||
@@ -103,6 +109,8 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/RegisterDeviceResult.h
|
||||
include/alibabacloud/aliyuncvc/model/RegisterUemDeviceRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/RegisterUemDeviceResult.h
|
||||
include/alibabacloud/aliyuncvc/model/SendMeetingCommandRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/SendMeetingCommandResult.h
|
||||
include/alibabacloud/aliyuncvc/model/StartLiveRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/StartLiveResult.h
|
||||
include/alibabacloud/aliyuncvc/model/UpdateDeviceHeartBeatRequest.h
|
||||
@@ -124,6 +132,8 @@ set(aliyuncvc_src
|
||||
src/model/BatchDeleteDevicesResult.cc
|
||||
src/model/CallDeviceRequest.cc
|
||||
src/model/CallDeviceResult.cc
|
||||
src/model/ConferenceToLiveRequest.cc
|
||||
src/model/ConferenceToLiveResult.cc
|
||||
src/model/CreateDeviceMeetingRequest.cc
|
||||
src/model/CreateDeviceMeetingResult.cc
|
||||
src/model/CreateEvaluationRequest.cc
|
||||
@@ -140,6 +150,8 @@ set(aliyuncvc_src
|
||||
src/model/CreateUserInternationalResult.cc
|
||||
src/model/CustomGonggeLayoutRequest.cc
|
||||
src/model/CustomGonggeLayoutResult.cc
|
||||
src/model/CustomLayoutRequest.cc
|
||||
src/model/CustomLayoutResult.cc
|
||||
src/model/DeleteDeviceRequest.cc
|
||||
src/model/DeleteDeviceResult.cc
|
||||
src/model/DeleteLiveRequest.cc
|
||||
@@ -148,6 +160,8 @@ set(aliyuncvc_src
|
||||
src/model/DeleteMeetingResult.cc
|
||||
src/model/DeleteUserRequest.cc
|
||||
src/model/DeleteUserResult.cc
|
||||
src/model/EnableLiveSpeakerRequest.cc
|
||||
src/model/EnableLiveSpeakerResult.cc
|
||||
src/model/EndDeviceMeetingRequest.cc
|
||||
src/model/EndDeviceMeetingResult.cc
|
||||
src/model/EndLiveRequest.cc
|
||||
@@ -196,6 +210,8 @@ set(aliyuncvc_src
|
||||
src/model/RegisterDeviceResult.cc
|
||||
src/model/RegisterUemDeviceRequest.cc
|
||||
src/model/RegisterUemDeviceResult.cc
|
||||
src/model/SendMeetingCommandRequest.cc
|
||||
src/model/SendMeetingCommandResult.cc
|
||||
src/model/StartLiveRequest.cc
|
||||
src/model/StartLiveResult.cc
|
||||
src/model/UpdateDeviceHeartBeatRequest.cc
|
||||
|
||||
@@ -32,6 +32,8 @@
|
||||
#include "model/BatchDeleteDevicesResult.h"
|
||||
#include "model/CallDeviceRequest.h"
|
||||
#include "model/CallDeviceResult.h"
|
||||
#include "model/ConferenceToLiveRequest.h"
|
||||
#include "model/ConferenceToLiveResult.h"
|
||||
#include "model/CreateDeviceMeetingRequest.h"
|
||||
#include "model/CreateDeviceMeetingResult.h"
|
||||
#include "model/CreateEvaluationRequest.h"
|
||||
@@ -48,6 +50,8 @@
|
||||
#include "model/CreateUserInternationalResult.h"
|
||||
#include "model/CustomGonggeLayoutRequest.h"
|
||||
#include "model/CustomGonggeLayoutResult.h"
|
||||
#include "model/CustomLayoutRequest.h"
|
||||
#include "model/CustomLayoutResult.h"
|
||||
#include "model/DeleteDeviceRequest.h"
|
||||
#include "model/DeleteDeviceResult.h"
|
||||
#include "model/DeleteLiveRequest.h"
|
||||
@@ -56,6 +60,8 @@
|
||||
#include "model/DeleteMeetingResult.h"
|
||||
#include "model/DeleteUserRequest.h"
|
||||
#include "model/DeleteUserResult.h"
|
||||
#include "model/EnableLiveSpeakerRequest.h"
|
||||
#include "model/EnableLiveSpeakerResult.h"
|
||||
#include "model/EndDeviceMeetingRequest.h"
|
||||
#include "model/EndDeviceMeetingResult.h"
|
||||
#include "model/EndLiveRequest.h"
|
||||
@@ -104,6 +110,8 @@
|
||||
#include "model/RegisterDeviceResult.h"
|
||||
#include "model/RegisterUemDeviceRequest.h"
|
||||
#include "model/RegisterUemDeviceResult.h"
|
||||
#include "model/SendMeetingCommandRequest.h"
|
||||
#include "model/SendMeetingCommandResult.h"
|
||||
#include "model/StartLiveRequest.h"
|
||||
#include "model/StartLiveResult.h"
|
||||
#include "model/UpdateDeviceHeartBeatRequest.h"
|
||||
@@ -136,6 +144,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CallDeviceResult> CallDeviceOutcome;
|
||||
typedef std::future<CallDeviceOutcome> CallDeviceOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::CallDeviceRequest&, const CallDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CallDeviceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ConferenceToLiveResult> ConferenceToLiveOutcome;
|
||||
typedef std::future<ConferenceToLiveOutcome> ConferenceToLiveOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::ConferenceToLiveRequest&, const ConferenceToLiveOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConferenceToLiveAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDeviceMeetingResult> CreateDeviceMeetingOutcome;
|
||||
typedef std::future<CreateDeviceMeetingOutcome> CreateDeviceMeetingOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::CreateDeviceMeetingRequest&, const CreateDeviceMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDeviceMeetingAsyncHandler;
|
||||
@@ -160,6 +171,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CustomGonggeLayoutResult> CustomGonggeLayoutOutcome;
|
||||
typedef std::future<CustomGonggeLayoutOutcome> CustomGonggeLayoutOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::CustomGonggeLayoutRequest&, const CustomGonggeLayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CustomGonggeLayoutAsyncHandler;
|
||||
typedef Outcome<Error, Model::CustomLayoutResult> CustomLayoutOutcome;
|
||||
typedef std::future<CustomLayoutOutcome> CustomLayoutOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::CustomLayoutRequest&, const CustomLayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CustomLayoutAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDeviceResult> DeleteDeviceOutcome;
|
||||
typedef std::future<DeleteDeviceOutcome> DeleteDeviceOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::DeleteDeviceRequest&, const DeleteDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDeviceAsyncHandler;
|
||||
@@ -172,6 +186,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteUserResult> DeleteUserOutcome;
|
||||
typedef std::future<DeleteUserOutcome> DeleteUserOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::DeleteUserRequest&, const DeleteUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::EnableLiveSpeakerResult> EnableLiveSpeakerOutcome;
|
||||
typedef std::future<EnableLiveSpeakerOutcome> EnableLiveSpeakerOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::EnableLiveSpeakerRequest&, const EnableLiveSpeakerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableLiveSpeakerAsyncHandler;
|
||||
typedef Outcome<Error, Model::EndDeviceMeetingResult> EndDeviceMeetingOutcome;
|
||||
typedef std::future<EndDeviceMeetingOutcome> EndDeviceMeetingOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::EndDeviceMeetingRequest&, const EndDeviceMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EndDeviceMeetingAsyncHandler;
|
||||
@@ -244,6 +261,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::RegisterUemDeviceResult> RegisterUemDeviceOutcome;
|
||||
typedef std::future<RegisterUemDeviceOutcome> RegisterUemDeviceOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::RegisterUemDeviceRequest&, const RegisterUemDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterUemDeviceAsyncHandler;
|
||||
typedef Outcome<Error, Model::SendMeetingCommandResult> SendMeetingCommandOutcome;
|
||||
typedef std::future<SendMeetingCommandOutcome> SendMeetingCommandOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::SendMeetingCommandRequest&, const SendMeetingCommandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendMeetingCommandAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartLiveResult> StartLiveOutcome;
|
||||
typedef std::future<StartLiveOutcome> StartLiveOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::StartLiveRequest&, const StartLiveOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartLiveAsyncHandler;
|
||||
@@ -276,6 +296,9 @@ namespace AlibabaCloud
|
||||
CallDeviceOutcome callDevice(const Model::CallDeviceRequest &request)const;
|
||||
void callDeviceAsync(const Model::CallDeviceRequest& request, const CallDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CallDeviceOutcomeCallable callDeviceCallable(const Model::CallDeviceRequest& request) const;
|
||||
ConferenceToLiveOutcome conferenceToLive(const Model::ConferenceToLiveRequest &request)const;
|
||||
void conferenceToLiveAsync(const Model::ConferenceToLiveRequest& request, const ConferenceToLiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConferenceToLiveOutcomeCallable conferenceToLiveCallable(const Model::ConferenceToLiveRequest& request) const;
|
||||
CreateDeviceMeetingOutcome createDeviceMeeting(const Model::CreateDeviceMeetingRequest &request)const;
|
||||
void createDeviceMeetingAsync(const Model::CreateDeviceMeetingRequest& request, const CreateDeviceMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDeviceMeetingOutcomeCallable createDeviceMeetingCallable(const Model::CreateDeviceMeetingRequest& request) const;
|
||||
@@ -300,6 +323,9 @@ namespace AlibabaCloud
|
||||
CustomGonggeLayoutOutcome customGonggeLayout(const Model::CustomGonggeLayoutRequest &request)const;
|
||||
void customGonggeLayoutAsync(const Model::CustomGonggeLayoutRequest& request, const CustomGonggeLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CustomGonggeLayoutOutcomeCallable customGonggeLayoutCallable(const Model::CustomGonggeLayoutRequest& request) const;
|
||||
CustomLayoutOutcome customLayout(const Model::CustomLayoutRequest &request)const;
|
||||
void customLayoutAsync(const Model::CustomLayoutRequest& request, const CustomLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CustomLayoutOutcomeCallable customLayoutCallable(const Model::CustomLayoutRequest& request) const;
|
||||
DeleteDeviceOutcome deleteDevice(const Model::DeleteDeviceRequest &request)const;
|
||||
void deleteDeviceAsync(const Model::DeleteDeviceRequest& request, const DeleteDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDeviceOutcomeCallable deleteDeviceCallable(const Model::DeleteDeviceRequest& request) const;
|
||||
@@ -312,6 +338,9 @@ namespace AlibabaCloud
|
||||
DeleteUserOutcome deleteUser(const Model::DeleteUserRequest &request)const;
|
||||
void deleteUserAsync(const Model::DeleteUserRequest& request, const DeleteUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteUserOutcomeCallable deleteUserCallable(const Model::DeleteUserRequest& request) const;
|
||||
EnableLiveSpeakerOutcome enableLiveSpeaker(const Model::EnableLiveSpeakerRequest &request)const;
|
||||
void enableLiveSpeakerAsync(const Model::EnableLiveSpeakerRequest& request, const EnableLiveSpeakerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableLiveSpeakerOutcomeCallable enableLiveSpeakerCallable(const Model::EnableLiveSpeakerRequest& request) const;
|
||||
EndDeviceMeetingOutcome endDeviceMeeting(const Model::EndDeviceMeetingRequest &request)const;
|
||||
void endDeviceMeetingAsync(const Model::EndDeviceMeetingRequest& request, const EndDeviceMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EndDeviceMeetingOutcomeCallable endDeviceMeetingCallable(const Model::EndDeviceMeetingRequest& request) const;
|
||||
@@ -384,6 +413,9 @@ namespace AlibabaCloud
|
||||
RegisterUemDeviceOutcome registerUemDevice(const Model::RegisterUemDeviceRequest &request)const;
|
||||
void registerUemDeviceAsync(const Model::RegisterUemDeviceRequest& request, const RegisterUemDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RegisterUemDeviceOutcomeCallable registerUemDeviceCallable(const Model::RegisterUemDeviceRequest& request) const;
|
||||
SendMeetingCommandOutcome sendMeetingCommand(const Model::SendMeetingCommandRequest &request)const;
|
||||
void sendMeetingCommandAsync(const Model::SendMeetingCommandRequest& request, const SendMeetingCommandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SendMeetingCommandOutcomeCallable sendMeetingCommandCallable(const Model::SendMeetingCommandRequest& request) const;
|
||||
StartLiveOutcome startLive(const Model::StartLiveRequest &request)const;
|
||||
void startLiveAsync(const Model::StartLiveRequest& request, const StartLiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartLiveOutcomeCallable startLiveCallable(const Model::StartLiveRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CONFERENCETOLIVEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CONFERENCETOLIVEREQUEST_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 ConferenceToLiveRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ConferenceToLiveRequest();
|
||||
~ConferenceToLiveRequest();
|
||||
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
bool getOpenPasswordFlag()const;
|
||||
void setOpenPasswordFlag(bool openPasswordFlag);
|
||||
std::string getMeetingUUID()const;
|
||||
void setMeetingUUID(const std::string& meetingUUID);
|
||||
std::string getPassword()const;
|
||||
void setPassword(const std::string& password);
|
||||
std::string getLiveName()const;
|
||||
void setLiveName(const std::string& liveName);
|
||||
|
||||
private:
|
||||
std::string userId_;
|
||||
bool openPasswordFlag_;
|
||||
std::string meetingUUID_;
|
||||
std::string password_;
|
||||
std::string liveName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CONFERENCETOLIVEREQUEST_H_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CONFERENCETOLIVERESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CONFERENCETOLIVERESULT_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 ConferenceToLiveResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct LiveInfo
|
||||
{
|
||||
std::string liveUUID;
|
||||
};
|
||||
|
||||
|
||||
ConferenceToLiveResult();
|
||||
explicit ConferenceToLiveResult(const std::string &payload);
|
||||
~ConferenceToLiveResult();
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
bool getSuccess()const;
|
||||
LiveInfo getLiveInfo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int errorCode_;
|
||||
bool success_;
|
||||
LiveInfo liveInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CONFERENCETOLIVERESULT_H_
|
||||
@@ -35,8 +35,6 @@ namespace AlibabaCloud
|
||||
CreateLiveRequest();
|
||||
~CreateLiveRequest();
|
||||
|
||||
std::string getMemo()const;
|
||||
void setMemo(const std::string& memo);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
bool getOpenPasswordFlag()const;
|
||||
@@ -47,7 +45,6 @@ namespace AlibabaCloud
|
||||
void setLiveName(const std::string& liveName);
|
||||
|
||||
private:
|
||||
std::string memo_;
|
||||
std::string userId_;
|
||||
bool openPasswordFlag_;
|
||||
std::string password_;
|
||||
|
||||
@@ -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_CUSTOMLAYOUTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CUSTOMLAYOUTREQUEST_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 CustomLayoutRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CustomLayoutRequest();
|
||||
~CustomLayoutRequest();
|
||||
|
||||
std::string getLiveUUID()const;
|
||||
void setLiveUUID(const std::string& liveUUID);
|
||||
std::string getLayoutInfo()const;
|
||||
void setLayoutInfo(const std::string& layoutInfo);
|
||||
|
||||
private:
|
||||
std::string liveUUID_;
|
||||
std::string layoutInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CUSTOMLAYOUTREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CUSTOMLAYOUTRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CUSTOMLAYOUTRESULT_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 CustomLayoutResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CustomLayoutResult();
|
||||
explicit CustomLayoutResult(const std::string &payload);
|
||||
~CustomLayoutResult();
|
||||
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_CUSTOMLAYOUTRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_ENABLELIVESPEAKERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_ENABLELIVESPEAKERREQUEST_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 EnableLiveSpeakerRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
EnableLiveSpeakerRequest();
|
||||
~EnableLiveSpeakerRequest();
|
||||
|
||||
std::string getLiveUUID()const;
|
||||
void setLiveUUID(const std::string& liveUUID);
|
||||
bool getEnableSpeakerFlag()const;
|
||||
void setEnableSpeakerFlag(bool enableSpeakerFlag);
|
||||
|
||||
private:
|
||||
std::string liveUUID_;
|
||||
bool enableSpeakerFlag_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ENABLELIVESPEAKERREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_ENABLELIVESPEAKERRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_ENABLELIVESPEAKERRESULT_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 EnableLiveSpeakerResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
EnableLiveSpeakerResult();
|
||||
explicit EnableLiveSpeakerResult(const std::string &payload);
|
||||
~EnableLiveSpeakerResult();
|
||||
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_ENABLELIVESPEAKERRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_SENDMEETINGCOMMANDREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_SENDMEETINGCOMMANDREQUEST_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 SendMeetingCommandRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SendMeetingCommandRequest();
|
||||
~SendMeetingCommandRequest();
|
||||
|
||||
std::string getOperatorMemberUUID()const;
|
||||
void setOperatorMemberUUID(const std::string& operatorMemberUUID);
|
||||
std::string getMemberUUID()const;
|
||||
void setMemberUUID(const std::string& memberUUID);
|
||||
int getSendType()const;
|
||||
void setSendType(int sendType);
|
||||
std::string getCommand()const;
|
||||
void setCommand(const std::string& command);
|
||||
std::string getMeetingUUID()const;
|
||||
void setMeetingUUID(const std::string& meetingUUID);
|
||||
|
||||
private:
|
||||
std::string operatorMemberUUID_;
|
||||
std::string memberUUID_;
|
||||
int sendType_;
|
||||
std::string command_;
|
||||
std::string meetingUUID_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_SENDMEETINGCOMMANDREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_SENDMEETINGCOMMANDRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_SENDMEETINGCOMMANDRESULT_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 SendMeetingCommandResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SendMeetingCommandResult();
|
||||
explicit SendMeetingCommandResult(const std::string &payload);
|
||||
~SendMeetingCommandResult();
|
||||
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_SENDMEETINGCOMMANDRESULT_H_
|
||||
@@ -37,12 +37,18 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getLiveUUID()const;
|
||||
void setLiveUUID(const std::string& liveUUID);
|
||||
std::string getPushInfo()const;
|
||||
void setPushInfo(const std::string& pushInfo);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getLayoutInfo()const;
|
||||
void setLayoutInfo(const std::string& layoutInfo);
|
||||
|
||||
private:
|
||||
std::string liveUUID_;
|
||||
std::string pushInfo_;
|
||||
std::string userId_;
|
||||
std::string layoutInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -231,6 +231,42 @@ AliyuncvcClient::CallDeviceOutcomeCallable AliyuncvcClient::callDeviceCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::ConferenceToLiveOutcome AliyuncvcClient::conferenceToLive(const ConferenceToLiveRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ConferenceToLiveOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ConferenceToLiveOutcome(ConferenceToLiveResult(outcome.result()));
|
||||
else
|
||||
return ConferenceToLiveOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::conferenceToLiveAsync(const ConferenceToLiveRequest& request, const ConferenceToLiveAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, conferenceToLive(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::ConferenceToLiveOutcomeCallable AliyuncvcClient::conferenceToLiveCallable(const ConferenceToLiveRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ConferenceToLiveOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->conferenceToLive(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::CreateDeviceMeetingOutcome AliyuncvcClient::createDeviceMeeting(const CreateDeviceMeetingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -519,6 +555,42 @@ AliyuncvcClient::CustomGonggeLayoutOutcomeCallable AliyuncvcClient::customGongge
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::CustomLayoutOutcome AliyuncvcClient::customLayout(const CustomLayoutRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CustomLayoutOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CustomLayoutOutcome(CustomLayoutResult(outcome.result()));
|
||||
else
|
||||
return CustomLayoutOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::customLayoutAsync(const CustomLayoutRequest& request, const CustomLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, customLayout(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::CustomLayoutOutcomeCallable AliyuncvcClient::customLayoutCallable(const CustomLayoutRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CustomLayoutOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->customLayout(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::DeleteDeviceOutcome AliyuncvcClient::deleteDevice(const DeleteDeviceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -663,6 +735,42 @@ AliyuncvcClient::DeleteUserOutcomeCallable AliyuncvcClient::deleteUserCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::EnableLiveSpeakerOutcome AliyuncvcClient::enableLiveSpeaker(const EnableLiveSpeakerRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return EnableLiveSpeakerOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return EnableLiveSpeakerOutcome(EnableLiveSpeakerResult(outcome.result()));
|
||||
else
|
||||
return EnableLiveSpeakerOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::enableLiveSpeakerAsync(const EnableLiveSpeakerRequest& request, const EnableLiveSpeakerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, enableLiveSpeaker(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::EnableLiveSpeakerOutcomeCallable AliyuncvcClient::enableLiveSpeakerCallable(const EnableLiveSpeakerRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<EnableLiveSpeakerOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->enableLiveSpeaker(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::EndDeviceMeetingOutcome AliyuncvcClient::endDeviceMeeting(const EndDeviceMeetingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1527,6 +1635,42 @@ AliyuncvcClient::RegisterUemDeviceOutcomeCallable AliyuncvcClient::registerUemDe
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::SendMeetingCommandOutcome AliyuncvcClient::sendMeetingCommand(const SendMeetingCommandRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SendMeetingCommandOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SendMeetingCommandOutcome(SendMeetingCommandResult(outcome.result()));
|
||||
else
|
||||
return SendMeetingCommandOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::sendMeetingCommandAsync(const SendMeetingCommandRequest& request, const SendMeetingCommandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, sendMeetingCommand(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::SendMeetingCommandOutcomeCallable AliyuncvcClient::sendMeetingCommandCallable(const SendMeetingCommandRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SendMeetingCommandOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->sendMeetingCommand(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::StartLiveOutcome AliyuncvcClient::startLive(const StartLiveRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
84
aliyuncvc/src/model/ConferenceToLiveRequest.cc
Normal file
84
aliyuncvc/src/model/ConferenceToLiveRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/ConferenceToLiveRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::ConferenceToLiveRequest;
|
||||
|
||||
ConferenceToLiveRequest::ConferenceToLiveRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "ConferenceToLive")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ConferenceToLiveRequest::~ConferenceToLiveRequest()
|
||||
{}
|
||||
|
||||
std::string ConferenceToLiveRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void ConferenceToLiveRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setBodyParameter("UserId", userId);
|
||||
}
|
||||
|
||||
bool ConferenceToLiveRequest::getOpenPasswordFlag()const
|
||||
{
|
||||
return openPasswordFlag_;
|
||||
}
|
||||
|
||||
void ConferenceToLiveRequest::setOpenPasswordFlag(bool openPasswordFlag)
|
||||
{
|
||||
openPasswordFlag_ = openPasswordFlag;
|
||||
setBodyParameter("OpenPasswordFlag", openPasswordFlag ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ConferenceToLiveRequest::getMeetingUUID()const
|
||||
{
|
||||
return meetingUUID_;
|
||||
}
|
||||
|
||||
void ConferenceToLiveRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
{
|
||||
meetingUUID_ = meetingUUID;
|
||||
setBodyParameter("MeetingUUID", meetingUUID);
|
||||
}
|
||||
|
||||
std::string ConferenceToLiveRequest::getPassword()const
|
||||
{
|
||||
return password_;
|
||||
}
|
||||
|
||||
void ConferenceToLiveRequest::setPassword(const std::string& password)
|
||||
{
|
||||
password_ = password;
|
||||
setBodyParameter("Password", password);
|
||||
}
|
||||
|
||||
std::string ConferenceToLiveRequest::getLiveName()const
|
||||
{
|
||||
return liveName_;
|
||||
}
|
||||
|
||||
void ConferenceToLiveRequest::setLiveName(const std::string& liveName)
|
||||
{
|
||||
liveName_ = liveName;
|
||||
setBodyParameter("LiveName", liveName);
|
||||
}
|
||||
|
||||
73
aliyuncvc/src/model/ConferenceToLiveResult.cc
Normal file
73
aliyuncvc/src/model/ConferenceToLiveResult.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/ConferenceToLiveResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
ConferenceToLiveResult::ConferenceToLiveResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ConferenceToLiveResult::ConferenceToLiveResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ConferenceToLiveResult::~ConferenceToLiveResult()
|
||||
{}
|
||||
|
||||
void ConferenceToLiveResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto liveInfoNode = value["LiveInfo"];
|
||||
if(!liveInfoNode["LiveUUID"].isNull())
|
||||
liveInfo_.liveUUID = liveInfoNode["LiveUUID"].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 ConferenceToLiveResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int ConferenceToLiveResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool ConferenceToLiveResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
ConferenceToLiveResult::LiveInfo ConferenceToLiveResult::getLiveInfo()const
|
||||
{
|
||||
return liveInfo_;
|
||||
}
|
||||
|
||||
@@ -27,17 +27,6 @@ CreateLiveRequest::CreateLiveRequest() :
|
||||
CreateLiveRequest::~CreateLiveRequest()
|
||||
{}
|
||||
|
||||
std::string CreateLiveRequest::getMemo()const
|
||||
{
|
||||
return memo_;
|
||||
}
|
||||
|
||||
void CreateLiveRequest::setMemo(const std::string& memo)
|
||||
{
|
||||
memo_ = memo;
|
||||
setBodyParameter("Memo", memo);
|
||||
}
|
||||
|
||||
std::string CreateLiveRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
|
||||
51
aliyuncvc/src/model/CustomLayoutRequest.cc
Normal file
51
aliyuncvc/src/model/CustomLayoutRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/CustomLayoutRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::CustomLayoutRequest;
|
||||
|
||||
CustomLayoutRequest::CustomLayoutRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "CustomLayout")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CustomLayoutRequest::~CustomLayoutRequest()
|
||||
{}
|
||||
|
||||
std::string CustomLayoutRequest::getLiveUUID()const
|
||||
{
|
||||
return liveUUID_;
|
||||
}
|
||||
|
||||
void CustomLayoutRequest::setLiveUUID(const std::string& liveUUID)
|
||||
{
|
||||
liveUUID_ = liveUUID;
|
||||
setBodyParameter("LiveUUID", liveUUID);
|
||||
}
|
||||
|
||||
std::string CustomLayoutRequest::getLayoutInfo()const
|
||||
{
|
||||
return layoutInfo_;
|
||||
}
|
||||
|
||||
void CustomLayoutRequest::setLayoutInfo(const std::string& layoutInfo)
|
||||
{
|
||||
layoutInfo_ = layoutInfo;
|
||||
setBodyParameter("LayoutInfo", layoutInfo);
|
||||
}
|
||||
|
||||
65
aliyuncvc/src/model/CustomLayoutResult.cc
Normal file
65
aliyuncvc/src/model/CustomLayoutResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/CustomLayoutResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
CustomLayoutResult::CustomLayoutResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CustomLayoutResult::CustomLayoutResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CustomLayoutResult::~CustomLayoutResult()
|
||||
{}
|
||||
|
||||
void CustomLayoutResult::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 CustomLayoutResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int CustomLayoutResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool CustomLayoutResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
51
aliyuncvc/src/model/EnableLiveSpeakerRequest.cc
Normal file
51
aliyuncvc/src/model/EnableLiveSpeakerRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/EnableLiveSpeakerRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::EnableLiveSpeakerRequest;
|
||||
|
||||
EnableLiveSpeakerRequest::EnableLiveSpeakerRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "EnableLiveSpeaker")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
EnableLiveSpeakerRequest::~EnableLiveSpeakerRequest()
|
||||
{}
|
||||
|
||||
std::string EnableLiveSpeakerRequest::getLiveUUID()const
|
||||
{
|
||||
return liveUUID_;
|
||||
}
|
||||
|
||||
void EnableLiveSpeakerRequest::setLiveUUID(const std::string& liveUUID)
|
||||
{
|
||||
liveUUID_ = liveUUID;
|
||||
setBodyParameter("LiveUUID", liveUUID);
|
||||
}
|
||||
|
||||
bool EnableLiveSpeakerRequest::getEnableSpeakerFlag()const
|
||||
{
|
||||
return enableSpeakerFlag_;
|
||||
}
|
||||
|
||||
void EnableLiveSpeakerRequest::setEnableSpeakerFlag(bool enableSpeakerFlag)
|
||||
{
|
||||
enableSpeakerFlag_ = enableSpeakerFlag;
|
||||
setBodyParameter("EnableSpeakerFlag", enableSpeakerFlag ? "true" : "false");
|
||||
}
|
||||
|
||||
65
aliyuncvc/src/model/EnableLiveSpeakerResult.cc
Normal file
65
aliyuncvc/src/model/EnableLiveSpeakerResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/EnableLiveSpeakerResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
EnableLiveSpeakerResult::EnableLiveSpeakerResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
EnableLiveSpeakerResult::EnableLiveSpeakerResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
EnableLiveSpeakerResult::~EnableLiveSpeakerResult()
|
||||
{}
|
||||
|
||||
void EnableLiveSpeakerResult::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 EnableLiveSpeakerResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int EnableLiveSpeakerResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool EnableLiveSpeakerResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
84
aliyuncvc/src/model/SendMeetingCommandRequest.cc
Normal file
84
aliyuncvc/src/model/SendMeetingCommandRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/SendMeetingCommandRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::SendMeetingCommandRequest;
|
||||
|
||||
SendMeetingCommandRequest::SendMeetingCommandRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "SendMeetingCommand")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SendMeetingCommandRequest::~SendMeetingCommandRequest()
|
||||
{}
|
||||
|
||||
std::string SendMeetingCommandRequest::getOperatorMemberUUID()const
|
||||
{
|
||||
return operatorMemberUUID_;
|
||||
}
|
||||
|
||||
void SendMeetingCommandRequest::setOperatorMemberUUID(const std::string& operatorMemberUUID)
|
||||
{
|
||||
operatorMemberUUID_ = operatorMemberUUID;
|
||||
setBodyParameter("OperatorMemberUUID", operatorMemberUUID);
|
||||
}
|
||||
|
||||
std::string SendMeetingCommandRequest::getMemberUUID()const
|
||||
{
|
||||
return memberUUID_;
|
||||
}
|
||||
|
||||
void SendMeetingCommandRequest::setMemberUUID(const std::string& memberUUID)
|
||||
{
|
||||
memberUUID_ = memberUUID;
|
||||
setParameter("MemberUUID", memberUUID);
|
||||
}
|
||||
|
||||
int SendMeetingCommandRequest::getSendType()const
|
||||
{
|
||||
return sendType_;
|
||||
}
|
||||
|
||||
void SendMeetingCommandRequest::setSendType(int sendType)
|
||||
{
|
||||
sendType_ = sendType;
|
||||
setBodyParameter("SendType", std::to_string(sendType));
|
||||
}
|
||||
|
||||
std::string SendMeetingCommandRequest::getCommand()const
|
||||
{
|
||||
return command_;
|
||||
}
|
||||
|
||||
void SendMeetingCommandRequest::setCommand(const std::string& command)
|
||||
{
|
||||
command_ = command;
|
||||
setBodyParameter("Command", command);
|
||||
}
|
||||
|
||||
std::string SendMeetingCommandRequest::getMeetingUUID()const
|
||||
{
|
||||
return meetingUUID_;
|
||||
}
|
||||
|
||||
void SendMeetingCommandRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
{
|
||||
meetingUUID_ = meetingUUID;
|
||||
setParameter("MeetingUUID", meetingUUID);
|
||||
}
|
||||
|
||||
65
aliyuncvc/src/model/SendMeetingCommandResult.cc
Normal file
65
aliyuncvc/src/model/SendMeetingCommandResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/SendMeetingCommandResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
SendMeetingCommandResult::SendMeetingCommandResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SendMeetingCommandResult::SendMeetingCommandResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SendMeetingCommandResult::~SendMeetingCommandResult()
|
||||
{}
|
||||
|
||||
void SendMeetingCommandResult::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 SendMeetingCommandResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int SendMeetingCommandResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool SendMeetingCommandResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -38,6 +38,17 @@ void StartLiveRequest::setLiveUUID(const std::string& liveUUID)
|
||||
setBodyParameter("LiveUUID", liveUUID);
|
||||
}
|
||||
|
||||
std::string StartLiveRequest::getPushInfo()const
|
||||
{
|
||||
return pushInfo_;
|
||||
}
|
||||
|
||||
void StartLiveRequest::setPushInfo(const std::string& pushInfo)
|
||||
{
|
||||
pushInfo_ = pushInfo;
|
||||
setBodyParameter("PushInfo", pushInfo);
|
||||
}
|
||||
|
||||
std::string StartLiveRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
@@ -49,3 +60,14 @@ void StartLiveRequest::setUserId(const std::string& userId)
|
||||
setBodyParameter("UserId", userId);
|
||||
}
|
||||
|
||||
std::string StartLiveRequest::getLayoutInfo()const
|
||||
{
|
||||
return layoutInfo_;
|
||||
}
|
||||
|
||||
void StartLiveRequest::setLayoutInfo(const std::string& layoutInfo)
|
||||
{
|
||||
layoutInfo_ = layoutInfo;
|
||||
setBodyParameter("LayoutInfo", layoutInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -51,6 +51,8 @@ set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/DescribeTraceLicenseKeyResult.h
|
||||
include/alibabacloud/arms/model/DescribeTraceLocationRequest.h
|
||||
include/alibabacloud/arms/model/DescribeTraceLocationResult.h
|
||||
include/alibabacloud/arms/model/GetAppApiByPageRequest.h
|
||||
include/alibabacloud/arms/model/GetAppApiByPageResult.h
|
||||
include/alibabacloud/arms/model/GetConsistencySnapshotRequest.h
|
||||
include/alibabacloud/arms/model/GetConsistencySnapshotResult.h
|
||||
include/alibabacloud/arms/model/GetMultipleTraceRequest.h
|
||||
@@ -63,6 +65,8 @@ set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/GetStackResult.h
|
||||
include/alibabacloud/arms/model/GetTraceRequest.h
|
||||
include/alibabacloud/arms/model/GetTraceResult.h
|
||||
include/alibabacloud/arms/model/GetTraceAppRequest.h
|
||||
include/alibabacloud/arms/model/GetTraceAppResult.h
|
||||
include/alibabacloud/arms/model/ImportAppAlertRulesRequest.h
|
||||
include/alibabacloud/arms/model/ImportAppAlertRulesResult.h
|
||||
include/alibabacloud/arms/model/ImportCustomAlertRulesRequest.h
|
||||
@@ -81,6 +85,8 @@ set(arms_public_header_model
|
||||
include/alibabacloud/arms/model/QueryDatasetResult.h
|
||||
include/alibabacloud/arms/model/QueryMetricRequest.h
|
||||
include/alibabacloud/arms/model/QueryMetricResult.h
|
||||
include/alibabacloud/arms/model/QueryMetricByPageRequest.h
|
||||
include/alibabacloud/arms/model/QueryMetricByPageResult.h
|
||||
include/alibabacloud/arms/model/SearchAlertContactRequest.h
|
||||
include/alibabacloud/arms/model/SearchAlertContactResult.h
|
||||
include/alibabacloud/arms/model/SearchAlertContactGroupRequest.h
|
||||
@@ -146,6 +152,8 @@ set(arms_src
|
||||
src/model/DescribeTraceLicenseKeyResult.cc
|
||||
src/model/DescribeTraceLocationRequest.cc
|
||||
src/model/DescribeTraceLocationResult.cc
|
||||
src/model/GetAppApiByPageRequest.cc
|
||||
src/model/GetAppApiByPageResult.cc
|
||||
src/model/GetConsistencySnapshotRequest.cc
|
||||
src/model/GetConsistencySnapshotResult.cc
|
||||
src/model/GetMultipleTraceRequest.cc
|
||||
@@ -158,6 +166,8 @@ set(arms_src
|
||||
src/model/GetStackResult.cc
|
||||
src/model/GetTraceRequest.cc
|
||||
src/model/GetTraceResult.cc
|
||||
src/model/GetTraceAppRequest.cc
|
||||
src/model/GetTraceAppResult.cc
|
||||
src/model/ImportAppAlertRulesRequest.cc
|
||||
src/model/ImportAppAlertRulesResult.cc
|
||||
src/model/ImportCustomAlertRulesRequest.cc
|
||||
@@ -176,6 +186,8 @@ set(arms_src
|
||||
src/model/QueryDatasetResult.cc
|
||||
src/model/QueryMetricRequest.cc
|
||||
src/model/QueryMetricResult.cc
|
||||
src/model/QueryMetricByPageRequest.cc
|
||||
src/model/QueryMetricByPageResult.cc
|
||||
src/model/SearchAlertContactRequest.cc
|
||||
src/model/SearchAlertContactResult.cc
|
||||
src/model/SearchAlertContactGroupRequest.cc
|
||||
|
||||
@@ -52,6 +52,8 @@
|
||||
#include "model/DescribeTraceLicenseKeyResult.h"
|
||||
#include "model/DescribeTraceLocationRequest.h"
|
||||
#include "model/DescribeTraceLocationResult.h"
|
||||
#include "model/GetAppApiByPageRequest.h"
|
||||
#include "model/GetAppApiByPageResult.h"
|
||||
#include "model/GetConsistencySnapshotRequest.h"
|
||||
#include "model/GetConsistencySnapshotResult.h"
|
||||
#include "model/GetMultipleTraceRequest.h"
|
||||
@@ -64,6 +66,8 @@
|
||||
#include "model/GetStackResult.h"
|
||||
#include "model/GetTraceRequest.h"
|
||||
#include "model/GetTraceResult.h"
|
||||
#include "model/GetTraceAppRequest.h"
|
||||
#include "model/GetTraceAppResult.h"
|
||||
#include "model/ImportAppAlertRulesRequest.h"
|
||||
#include "model/ImportAppAlertRulesResult.h"
|
||||
#include "model/ImportCustomAlertRulesRequest.h"
|
||||
@@ -82,6 +86,8 @@
|
||||
#include "model/QueryDatasetResult.h"
|
||||
#include "model/QueryMetricRequest.h"
|
||||
#include "model/QueryMetricResult.h"
|
||||
#include "model/QueryMetricByPageRequest.h"
|
||||
#include "model/QueryMetricByPageResult.h"
|
||||
#include "model/SearchAlertContactRequest.h"
|
||||
#include "model/SearchAlertContactResult.h"
|
||||
#include "model/SearchAlertContactGroupRequest.h"
|
||||
@@ -168,6 +174,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeTraceLocationResult> DescribeTraceLocationOutcome;
|
||||
typedef std::future<DescribeTraceLocationOutcome> DescribeTraceLocationOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::DescribeTraceLocationRequest&, const DescribeTraceLocationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTraceLocationAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAppApiByPageResult> GetAppApiByPageOutcome;
|
||||
typedef std::future<GetAppApiByPageOutcome> GetAppApiByPageOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetAppApiByPageRequest&, const GetAppApiByPageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAppApiByPageAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetConsistencySnapshotResult> GetConsistencySnapshotOutcome;
|
||||
typedef std::future<GetConsistencySnapshotOutcome> GetConsistencySnapshotOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetConsistencySnapshotRequest&, const GetConsistencySnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetConsistencySnapshotAsyncHandler;
|
||||
@@ -186,6 +195,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetTraceResult> GetTraceOutcome;
|
||||
typedef std::future<GetTraceOutcome> GetTraceOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetTraceRequest&, const GetTraceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTraceAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetTraceAppResult> GetTraceAppOutcome;
|
||||
typedef std::future<GetTraceAppOutcome> GetTraceAppOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetTraceAppRequest&, const GetTraceAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTraceAppAsyncHandler;
|
||||
typedef Outcome<Error, Model::ImportAppAlertRulesResult> ImportAppAlertRulesOutcome;
|
||||
typedef std::future<ImportAppAlertRulesOutcome> ImportAppAlertRulesOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::ImportAppAlertRulesRequest&, const ImportAppAlertRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ImportAppAlertRulesAsyncHandler;
|
||||
@@ -213,6 +225,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::QueryMetricResult> QueryMetricOutcome;
|
||||
typedef std::future<QueryMetricOutcome> QueryMetricOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::QueryMetricRequest&, const QueryMetricOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMetricAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryMetricByPageResult> QueryMetricByPageOutcome;
|
||||
typedef std::future<QueryMetricByPageOutcome> QueryMetricByPageOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::QueryMetricByPageRequest&, const QueryMetricByPageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMetricByPageAsyncHandler;
|
||||
typedef Outcome<Error, Model::SearchAlertContactResult> SearchAlertContactOutcome;
|
||||
typedef std::future<SearchAlertContactOutcome> SearchAlertContactOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::SearchAlertContactRequest&, const SearchAlertContactOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchAlertContactAsyncHandler;
|
||||
@@ -311,6 +326,9 @@ namespace AlibabaCloud
|
||||
DescribeTraceLocationOutcome describeTraceLocation(const Model::DescribeTraceLocationRequest &request)const;
|
||||
void describeTraceLocationAsync(const Model::DescribeTraceLocationRequest& request, const DescribeTraceLocationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTraceLocationOutcomeCallable describeTraceLocationCallable(const Model::DescribeTraceLocationRequest& request) const;
|
||||
GetAppApiByPageOutcome getAppApiByPage(const Model::GetAppApiByPageRequest &request)const;
|
||||
void getAppApiByPageAsync(const Model::GetAppApiByPageRequest& request, const GetAppApiByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAppApiByPageOutcomeCallable getAppApiByPageCallable(const Model::GetAppApiByPageRequest& request) const;
|
||||
GetConsistencySnapshotOutcome getConsistencySnapshot(const Model::GetConsistencySnapshotRequest &request)const;
|
||||
void getConsistencySnapshotAsync(const Model::GetConsistencySnapshotRequest& request, const GetConsistencySnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetConsistencySnapshotOutcomeCallable getConsistencySnapshotCallable(const Model::GetConsistencySnapshotRequest& request) const;
|
||||
@@ -329,6 +347,9 @@ namespace AlibabaCloud
|
||||
GetTraceOutcome getTrace(const Model::GetTraceRequest &request)const;
|
||||
void getTraceAsync(const Model::GetTraceRequest& request, const GetTraceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTraceOutcomeCallable getTraceCallable(const Model::GetTraceRequest& request) const;
|
||||
GetTraceAppOutcome getTraceApp(const Model::GetTraceAppRequest &request)const;
|
||||
void getTraceAppAsync(const Model::GetTraceAppRequest& request, const GetTraceAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTraceAppOutcomeCallable getTraceAppCallable(const Model::GetTraceAppRequest& request) const;
|
||||
ImportAppAlertRulesOutcome importAppAlertRules(const Model::ImportAppAlertRulesRequest &request)const;
|
||||
void importAppAlertRulesAsync(const Model::ImportAppAlertRulesRequest& request, const ImportAppAlertRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ImportAppAlertRulesOutcomeCallable importAppAlertRulesCallable(const Model::ImportAppAlertRulesRequest& request) const;
|
||||
@@ -356,6 +377,9 @@ namespace AlibabaCloud
|
||||
QueryMetricOutcome queryMetric(const Model::QueryMetricRequest &request)const;
|
||||
void queryMetricAsync(const Model::QueryMetricRequest& request, const QueryMetricAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryMetricOutcomeCallable queryMetricCallable(const Model::QueryMetricRequest& request) const;
|
||||
QueryMetricByPageOutcome queryMetricByPage(const Model::QueryMetricByPageRequest &request)const;
|
||||
void queryMetricByPageAsync(const Model::QueryMetricByPageRequest& request, const QueryMetricByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryMetricByPageOutcomeCallable queryMetricByPageCallable(const Model::QueryMetricByPageRequest& request) const;
|
||||
SearchAlertContactOutcome searchAlertContact(const Model::SearchAlertContactRequest &request)const;
|
||||
void searchAlertContactAsync(const Model::SearchAlertContactRequest& request, const SearchAlertContactAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SearchAlertContactOutcomeCallable searchAlertContactCallable(const Model::SearchAlertContactRequest& request) const;
|
||||
|
||||
@@ -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_ARMS_MODEL_GETAPPAPIBYPAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETAPPAPIBYPAGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT GetAppApiByPageRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetAppApiByPageRequest();
|
||||
~GetAppApiByPageRequest();
|
||||
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getPId()const;
|
||||
void setPId(const std::string& pId);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getIntervalMills()const;
|
||||
void setIntervalMills(int intervalMills);
|
||||
|
||||
private:
|
||||
long endTime_;
|
||||
int currentPage_;
|
||||
std::string pId_;
|
||||
long startTime_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
int intervalMills_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETAPPAPIBYPAGEREQUEST_H_
|
||||
64
arms/include/alibabacloud/arms/model/GetAppApiByPageResult.h
Normal file
64
arms/include/alibabacloud/arms/model/GetAppApiByPageResult.h
Normal 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_ARMS_MODEL_GETAPPAPIBYPAGERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETAPPAPIBYPAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT GetAppApiByPageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
int pageSize;
|
||||
std::string total;
|
||||
int page;
|
||||
std::vector<std::string> items;
|
||||
};
|
||||
|
||||
|
||||
GetAppApiByPageResult();
|
||||
explicit GetAppApiByPageResult(const std::string &payload);
|
||||
~GetAppApiByPageResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETAPPAPIBYPAGERESULT_H_
|
||||
51
arms/include/alibabacloud/arms/model/GetTraceAppRequest.h
Normal file
51
arms/include/alibabacloud/arms/model/GetTraceAppRequest.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_GETTRACEAPPREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETTRACEAPPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT GetTraceAppRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTraceAppRequest();
|
||||
~GetTraceAppRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getPid()const;
|
||||
void setPid(const std::string& pid);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string pid_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETTRACEAPPREQUEST_H_
|
||||
64
arms/include/alibabacloud/arms/model/GetTraceAppResult.h
Normal file
64
arms/include/alibabacloud/arms/model/GetTraceAppResult.h
Normal 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_ARMS_MODEL_GETTRACEAPPRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETTRACEAPPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT GetTraceAppResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TraceApp
|
||||
{
|
||||
std::string type;
|
||||
long appId;
|
||||
std::string userId;
|
||||
long createTime;
|
||||
long updateTime;
|
||||
std::string pid;
|
||||
bool show;
|
||||
std::vector<std::string> labels;
|
||||
std::string regionId;
|
||||
std::string appName;
|
||||
};
|
||||
|
||||
|
||||
GetTraceAppResult();
|
||||
explicit GetTraceAppResult(const std::string &payload);
|
||||
~GetTraceAppResult();
|
||||
TraceApp getTraceApp()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
TraceApp traceApp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETTRACEAPPRESULT_H_
|
||||
@@ -37,21 +37,24 @@ namespace AlibabaCloud
|
||||
|
||||
bool getIsAutoStart()const;
|
||||
void setIsAutoStart(bool isAutoStart);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getContactGroupIds()const;
|
||||
void setContactGroupIds(const std::string& contactGroupIds);
|
||||
std::string getTemplateAlertConfig()const;
|
||||
void setTemplateAlertConfig(const std::string& templateAlertConfig);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
std::string getTemplageAlertConfig()const;
|
||||
void setTemplageAlertConfig(const std::string& templageAlertConfig);
|
||||
|
||||
private:
|
||||
bool isAutoStart_;
|
||||
std::string proxyUserId_;
|
||||
std::string regionId_;
|
||||
std::string contactGroupIds_;
|
||||
std::string templateAlertConfig_;
|
||||
std::string proxyUserId_;
|
||||
std::string templageAlertConfig_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_ARMS_MODEL_QUERYMETRICBYPAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_QUERYMETRICBYPAGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT QueryMetricByPageRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Filters
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
QueryMetricByPageRequest();
|
||||
~QueryMetricByPageRequest();
|
||||
|
||||
std::string getConsistencyQueryStrategy()const;
|
||||
void setConsistencyQueryStrategy(const std::string& consistencyQueryStrategy);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
std::string getOrderBy()const;
|
||||
void setOrderBy(const std::string& orderBy);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::vector<Filters> getFilters()const;
|
||||
void setFilters(const std::vector<Filters>& filters);
|
||||
std::string getConsistencyDataKey()const;
|
||||
void setConsistencyDataKey(const std::string& consistencyDataKey);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
std::vector<std::string> getMeasures()const;
|
||||
void setMeasures(const std::vector<std::string>& measures);
|
||||
int getIntervalInSec()const;
|
||||
void setIntervalInSec(int intervalInSec);
|
||||
std::string getMetric()const;
|
||||
void setMetric(const std::string& metric);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::vector<std::string> getDimensions()const;
|
||||
void setDimensions(const std::vector<std::string>& dimensions);
|
||||
std::string getOrder()const;
|
||||
void setOrder(const std::string& order);
|
||||
|
||||
private:
|
||||
std::string consistencyQueryStrategy_;
|
||||
long endTime_;
|
||||
std::string orderBy_;
|
||||
int currentPage_;
|
||||
long startTime_;
|
||||
std::vector<Filters> filters_;
|
||||
std::string consistencyDataKey_;
|
||||
std::string proxyUserId_;
|
||||
std::vector<std::string> measures_;
|
||||
int intervalInSec_;
|
||||
std::string metric_;
|
||||
int pageSize_;
|
||||
std::vector<std::string> dimensions_;
|
||||
std::string order_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_QUERYMETRICBYPAGEREQUEST_H_
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_QUERYMETRICBYPAGERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_QUERYMETRICBYPAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT QueryMetricByPageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
int pageSize;
|
||||
int total;
|
||||
int page;
|
||||
std::vector<std::string> items;
|
||||
};
|
||||
|
||||
|
||||
QueryMetricByPageResult();
|
||||
explicit QueryMetricByPageResult(const std::string &payload);
|
||||
~QueryMetricByPageResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_QUERYMETRICBYPAGERESULT_H_
|
||||
@@ -34,7 +34,20 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct ContactGroup
|
||||
{
|
||||
struct Contact
|
||||
{
|
||||
std::string email;
|
||||
std::string phone;
|
||||
std::string userId;
|
||||
long createTime;
|
||||
long updateTime;
|
||||
long contactId;
|
||||
std::string dingRobot;
|
||||
std::string contactName;
|
||||
bool systemNoc;
|
||||
};
|
||||
long contactGroupId;
|
||||
std::vector<ContactGroup::Contact> contacts;
|
||||
std::string contactGroupName;
|
||||
std::string userId;
|
||||
long createTime;
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace AlibabaCloud
|
||||
struct EventItem
|
||||
{
|
||||
int alertType;
|
||||
int eventLevel;
|
||||
std::string eventLevel;
|
||||
long alertId;
|
||||
std::string alertName;
|
||||
std::string message;
|
||||
|
||||
@@ -591,6 +591,42 @@ ARMSClient::DescribeTraceLocationOutcomeCallable ARMSClient::describeTraceLocati
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::GetAppApiByPageOutcome ARMSClient::getAppApiByPage(const GetAppApiByPageRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetAppApiByPageOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetAppApiByPageOutcome(GetAppApiByPageResult(outcome.result()));
|
||||
else
|
||||
return GetAppApiByPageOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::getAppApiByPageAsync(const GetAppApiByPageRequest& request, const GetAppApiByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getAppApiByPage(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::GetAppApiByPageOutcomeCallable ARMSClient::getAppApiByPageCallable(const GetAppApiByPageRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetAppApiByPageOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getAppApiByPage(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::GetConsistencySnapshotOutcome ARMSClient::getConsistencySnapshot(const GetConsistencySnapshotRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -807,6 +843,42 @@ ARMSClient::GetTraceOutcomeCallable ARMSClient::getTraceCallable(const GetTraceR
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::GetTraceAppOutcome ARMSClient::getTraceApp(const GetTraceAppRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetTraceAppOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetTraceAppOutcome(GetTraceAppResult(outcome.result()));
|
||||
else
|
||||
return GetTraceAppOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::getTraceAppAsync(const GetTraceAppRequest& request, const GetTraceAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getTraceApp(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::GetTraceAppOutcomeCallable ARMSClient::getTraceAppCallable(const GetTraceAppRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetTraceAppOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getTraceApp(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::ImportAppAlertRulesOutcome ARMSClient::importAppAlertRules(const ImportAppAlertRulesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1131,6 +1203,42 @@ ARMSClient::QueryMetricOutcomeCallable ARMSClient::queryMetricCallable(const Que
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::QueryMetricByPageOutcome ARMSClient::queryMetricByPage(const QueryMetricByPageRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryMetricByPageOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryMetricByPageOutcome(QueryMetricByPageResult(outcome.result()));
|
||||
else
|
||||
return QueryMetricByPageOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ARMSClient::queryMetricByPageAsync(const QueryMetricByPageRequest& request, const QueryMetricByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryMetricByPage(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ARMSClient::QueryMetricByPageOutcomeCallable ARMSClient::queryMetricByPageCallable(const QueryMetricByPageRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryMetricByPageOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryMetricByPage(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ARMSClient::SearchAlertContactOutcome ARMSClient::searchAlertContact(const SearchAlertContactRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
106
arms/src/model/GetAppApiByPageRequest.cc
Normal file
106
arms/src/model/GetAppApiByPageRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/GetAppApiByPageRequest.h>
|
||||
|
||||
using AlibabaCloud::ARMS::Model::GetAppApiByPageRequest;
|
||||
|
||||
GetAppApiByPageRequest::GetAppApiByPageRequest() :
|
||||
RpcServiceRequest("arms", "2019-08-08", "GetAppApiByPage")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAppApiByPageRequest::~GetAppApiByPageRequest()
|
||||
{}
|
||||
|
||||
long GetAppApiByPageRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void GetAppApiByPageRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
int GetAppApiByPageRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void GetAppApiByPageRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string GetAppApiByPageRequest::getPId()const
|
||||
{
|
||||
return pId_;
|
||||
}
|
||||
|
||||
void GetAppApiByPageRequest::setPId(const std::string& pId)
|
||||
{
|
||||
pId_ = pId;
|
||||
setParameter("PId", pId);
|
||||
}
|
||||
|
||||
long GetAppApiByPageRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void GetAppApiByPageRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
std::string GetAppApiByPageRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetAppApiByPageRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
int GetAppApiByPageRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void GetAppApiByPageRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
int GetAppApiByPageRequest::getIntervalMills()const
|
||||
{
|
||||
return intervalMills_;
|
||||
}
|
||||
|
||||
void GetAppApiByPageRequest::setIntervalMills(int intervalMills)
|
||||
{
|
||||
intervalMills_ = intervalMills;
|
||||
setParameter("IntervalMills", std::to_string(intervalMills));
|
||||
}
|
||||
|
||||
80
arms/src/model/GetAppApiByPageResult.cc
Normal file
80
arms/src/model/GetAppApiByPageResult.cc
Normal file
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/GetAppApiByPageResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
GetAppApiByPageResult::GetAppApiByPageResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetAppApiByPageResult::GetAppApiByPageResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetAppApiByPageResult::~GetAppApiByPageResult()
|
||||
{}
|
||||
|
||||
void GetAppApiByPageResult::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 = dataNode["Total"].asString();
|
||||
if(!dataNode["Page"].isNull())
|
||||
data_.page = std::stoi(dataNode["Page"].asString());
|
||||
if(!dataNode["PageSize"].isNull())
|
||||
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
|
||||
auto allItems = dataNode["Items"]["Items"];
|
||||
for (auto value : allItems)
|
||||
data_.items.push_back(value.asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string GetAppApiByPageResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
GetAppApiByPageResult::Data GetAppApiByPageResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int GetAppApiByPageResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool GetAppApiByPageResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
51
arms/src/model/GetTraceAppRequest.cc
Normal file
51
arms/src/model/GetTraceAppRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/GetTraceAppRequest.h>
|
||||
|
||||
using AlibabaCloud::ARMS::Model::GetTraceAppRequest;
|
||||
|
||||
GetTraceAppRequest::GetTraceAppRequest() :
|
||||
RpcServiceRequest("arms", "2019-08-08", "GetTraceApp")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetTraceAppRequest::~GetTraceAppRequest()
|
||||
{}
|
||||
|
||||
std::string GetTraceAppRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetTraceAppRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string GetTraceAppRequest::getPid()const
|
||||
{
|
||||
return pid_;
|
||||
}
|
||||
|
||||
void GetTraceAppRequest::setPid(const std::string& pid)
|
||||
{
|
||||
pid_ = pid;
|
||||
setParameter("Pid", pid);
|
||||
}
|
||||
|
||||
71
arms/src/model/GetTraceAppResult.cc
Normal file
71
arms/src/model/GetTraceAppResult.cc
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/GetTraceAppResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
GetTraceAppResult::GetTraceAppResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetTraceAppResult::GetTraceAppResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetTraceAppResult::~GetTraceAppResult()
|
||||
{}
|
||||
|
||||
void GetTraceAppResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto traceAppNode = value["TraceApp"];
|
||||
if(!traceAppNode["AppId"].isNull())
|
||||
traceApp_.appId = std::stol(traceAppNode["AppId"].asString());
|
||||
if(!traceAppNode["Pid"].isNull())
|
||||
traceApp_.pid = traceAppNode["Pid"].asString();
|
||||
if(!traceAppNode["AppName"].isNull())
|
||||
traceApp_.appName = traceAppNode["AppName"].asString();
|
||||
if(!traceAppNode["Type"].isNull())
|
||||
traceApp_.type = traceAppNode["Type"].asString();
|
||||
if(!traceAppNode["UserId"].isNull())
|
||||
traceApp_.userId = traceAppNode["UserId"].asString();
|
||||
if(!traceAppNode["RegionId"].isNull())
|
||||
traceApp_.regionId = traceAppNode["RegionId"].asString();
|
||||
if(!traceAppNode["CreateTime"].isNull())
|
||||
traceApp_.createTime = std::stol(traceAppNode["CreateTime"].asString());
|
||||
if(!traceAppNode["UpdateTime"].isNull())
|
||||
traceApp_.updateTime = std::stol(traceAppNode["UpdateTime"].asString());
|
||||
if(!traceAppNode["Show"].isNull())
|
||||
traceApp_.show = traceAppNode["Show"].asString() == "true";
|
||||
auto allLabels = traceAppNode["Labels"]["Labels"];
|
||||
for (auto value : allLabels)
|
||||
traceApp_.labels.push_back(value.asString());
|
||||
|
||||
}
|
||||
|
||||
GetTraceAppResult::TraceApp GetTraceAppResult::getTraceApp()const
|
||||
{
|
||||
return traceApp_;
|
||||
}
|
||||
|
||||
@@ -38,6 +38,17 @@ void ImportCustomAlertRulesRequest::setIsAutoStart(bool isAutoStart)
|
||||
setParameter("IsAutoStart", isAutoStart ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ImportCustomAlertRulesRequest::getProxyUserId()const
|
||||
{
|
||||
return proxyUserId_;
|
||||
}
|
||||
|
||||
void ImportCustomAlertRulesRequest::setProxyUserId(const std::string& proxyUserId)
|
||||
{
|
||||
proxyUserId_ = proxyUserId;
|
||||
setParameter("ProxyUserId", proxyUserId);
|
||||
}
|
||||
|
||||
std::string ImportCustomAlertRulesRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -71,14 +82,14 @@ void ImportCustomAlertRulesRequest::setTemplateAlertConfig(const std::string& te
|
||||
setParameter("TemplateAlertConfig", templateAlertConfig);
|
||||
}
|
||||
|
||||
std::string ImportCustomAlertRulesRequest::getProxyUserId()const
|
||||
std::string ImportCustomAlertRulesRequest::getTemplageAlertConfig()const
|
||||
{
|
||||
return proxyUserId_;
|
||||
return templageAlertConfig_;
|
||||
}
|
||||
|
||||
void ImportCustomAlertRulesRequest::setProxyUserId(const std::string& proxyUserId)
|
||||
void ImportCustomAlertRulesRequest::setTemplageAlertConfig(const std::string& templageAlertConfig)
|
||||
{
|
||||
proxyUserId_ = proxyUserId;
|
||||
setParameter("ProxyUserId", proxyUserId);
|
||||
templageAlertConfig_ = templageAlertConfig;
|
||||
setParameter("TemplageAlertConfig", templageAlertConfig);
|
||||
}
|
||||
|
||||
|
||||
192
arms/src/model/QueryMetricByPageRequest.cc
Normal file
192
arms/src/model/QueryMetricByPageRequest.cc
Normal file
@@ -0,0 +1,192 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/QueryMetricByPageRequest.h>
|
||||
|
||||
using AlibabaCloud::ARMS::Model::QueryMetricByPageRequest;
|
||||
|
||||
QueryMetricByPageRequest::QueryMetricByPageRequest() :
|
||||
RpcServiceRequest("arms", "2019-08-08", "QueryMetricByPage")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryMetricByPageRequest::~QueryMetricByPageRequest()
|
||||
{}
|
||||
|
||||
std::string QueryMetricByPageRequest::getConsistencyQueryStrategy()const
|
||||
{
|
||||
return consistencyQueryStrategy_;
|
||||
}
|
||||
|
||||
void QueryMetricByPageRequest::setConsistencyQueryStrategy(const std::string& consistencyQueryStrategy)
|
||||
{
|
||||
consistencyQueryStrategy_ = consistencyQueryStrategy;
|
||||
setParameter("ConsistencyQueryStrategy", consistencyQueryStrategy);
|
||||
}
|
||||
|
||||
long QueryMetricByPageRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void QueryMetricByPageRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
std::string QueryMetricByPageRequest::getOrderBy()const
|
||||
{
|
||||
return orderBy_;
|
||||
}
|
||||
|
||||
void QueryMetricByPageRequest::setOrderBy(const std::string& orderBy)
|
||||
{
|
||||
orderBy_ = orderBy;
|
||||
setParameter("OrderBy", orderBy);
|
||||
}
|
||||
|
||||
int QueryMetricByPageRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void QueryMetricByPageRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
long QueryMetricByPageRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void QueryMetricByPageRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
std::vector<QueryMetricByPageRequest::Filters> QueryMetricByPageRequest::getFilters()const
|
||||
{
|
||||
return filters_;
|
||||
}
|
||||
|
||||
void QueryMetricByPageRequest::setFilters(const std::vector<Filters>& filters)
|
||||
{
|
||||
filters_ = filters;
|
||||
for(int dep1 = 0; dep1!= filters.size(); dep1++) {
|
||||
auto filtersObj = filters.at(dep1);
|
||||
std::string filtersObjStr = "Filters." + std::to_string(dep1 + 1);
|
||||
setParameter(filtersObjStr + ".Value", filtersObj.value);
|
||||
setParameter(filtersObjStr + ".Key", filtersObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
std::string QueryMetricByPageRequest::getConsistencyDataKey()const
|
||||
{
|
||||
return consistencyDataKey_;
|
||||
}
|
||||
|
||||
void QueryMetricByPageRequest::setConsistencyDataKey(const std::string& consistencyDataKey)
|
||||
{
|
||||
consistencyDataKey_ = consistencyDataKey;
|
||||
setParameter("ConsistencyDataKey", consistencyDataKey);
|
||||
}
|
||||
|
||||
std::string QueryMetricByPageRequest::getProxyUserId()const
|
||||
{
|
||||
return proxyUserId_;
|
||||
}
|
||||
|
||||
void QueryMetricByPageRequest::setProxyUserId(const std::string& proxyUserId)
|
||||
{
|
||||
proxyUserId_ = proxyUserId;
|
||||
setParameter("ProxyUserId", proxyUserId);
|
||||
}
|
||||
|
||||
std::vector<std::string> QueryMetricByPageRequest::getMeasures()const
|
||||
{
|
||||
return measures_;
|
||||
}
|
||||
|
||||
void QueryMetricByPageRequest::setMeasures(const std::vector<std::string>& measures)
|
||||
{
|
||||
measures_ = measures;
|
||||
for(int dep1 = 0; dep1!= measures.size(); dep1++) {
|
||||
setParameter("Measures."+ std::to_string(dep1), measures.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
int QueryMetricByPageRequest::getIntervalInSec()const
|
||||
{
|
||||
return intervalInSec_;
|
||||
}
|
||||
|
||||
void QueryMetricByPageRequest::setIntervalInSec(int intervalInSec)
|
||||
{
|
||||
intervalInSec_ = intervalInSec;
|
||||
setParameter("IntervalInSec", std::to_string(intervalInSec));
|
||||
}
|
||||
|
||||
std::string QueryMetricByPageRequest::getMetric()const
|
||||
{
|
||||
return metric_;
|
||||
}
|
||||
|
||||
void QueryMetricByPageRequest::setMetric(const std::string& metric)
|
||||
{
|
||||
metric_ = metric;
|
||||
setParameter("Metric", metric);
|
||||
}
|
||||
|
||||
int QueryMetricByPageRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void QueryMetricByPageRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::vector<std::string> QueryMetricByPageRequest::getDimensions()const
|
||||
{
|
||||
return dimensions_;
|
||||
}
|
||||
|
||||
void QueryMetricByPageRequest::setDimensions(const std::vector<std::string>& dimensions)
|
||||
{
|
||||
dimensions_ = dimensions;
|
||||
for(int dep1 = 0; dep1!= dimensions.size(); dep1++) {
|
||||
setParameter("Dimensions."+ std::to_string(dep1), dimensions.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
std::string QueryMetricByPageRequest::getOrder()const
|
||||
{
|
||||
return order_;
|
||||
}
|
||||
|
||||
void QueryMetricByPageRequest::setOrder(const std::string& order)
|
||||
{
|
||||
order_ = order;
|
||||
setParameter("Order", order);
|
||||
}
|
||||
|
||||
80
arms/src/model/QueryMetricByPageResult.cc
Normal file
80
arms/src/model/QueryMetricByPageResult.cc
Normal file
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/arms/model/QueryMetricByPageResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ARMS;
|
||||
using namespace AlibabaCloud::ARMS::Model;
|
||||
|
||||
QueryMetricByPageResult::QueryMetricByPageResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryMetricByPageResult::QueryMetricByPageResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryMetricByPageResult::~QueryMetricByPageResult()
|
||||
{}
|
||||
|
||||
void QueryMetricByPageResult::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["Page"].isNull())
|
||||
data_.page = std::stoi(dataNode["Page"].asString());
|
||||
if(!dataNode["PageSize"].isNull())
|
||||
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
|
||||
auto allItems = dataNode["Items"]["Items"];
|
||||
for (auto value : allItems)
|
||||
data_.items.push_back(value.asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string QueryMetricByPageResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
QueryMetricByPageResult::Data QueryMetricByPageResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string QueryMetricByPageResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool QueryMetricByPageResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -53,6 +53,30 @@ void SearchAlertContactGroupResult::parse(const std::string &payload)
|
||||
contactGroupsObject.createTime = std::stol(valueContactGroupsContactGroup["CreateTime"].asString());
|
||||
if(!valueContactGroupsContactGroup["UpdateTime"].isNull())
|
||||
contactGroupsObject.updateTime = std::stol(valueContactGroupsContactGroup["UpdateTime"].asString());
|
||||
auto allContactsNode = allContactGroupsNode["Contacts"]["Contact"];
|
||||
for (auto allContactGroupsNodeContactsContact : allContactsNode)
|
||||
{
|
||||
ContactGroup::Contact contactsObject;
|
||||
if(!allContactGroupsNodeContactsContact["ContactId"].isNull())
|
||||
contactsObject.contactId = std::stol(allContactGroupsNodeContactsContact["ContactId"].asString());
|
||||
if(!allContactGroupsNodeContactsContact["ContactName"].isNull())
|
||||
contactsObject.contactName = allContactGroupsNodeContactsContact["ContactName"].asString();
|
||||
if(!allContactGroupsNodeContactsContact["Phone"].isNull())
|
||||
contactsObject.phone = allContactGroupsNodeContactsContact["Phone"].asString();
|
||||
if(!allContactGroupsNodeContactsContact["Email"].isNull())
|
||||
contactsObject.email = allContactGroupsNodeContactsContact["Email"].asString();
|
||||
if(!allContactGroupsNodeContactsContact["UserId"].isNull())
|
||||
contactsObject.userId = allContactGroupsNodeContactsContact["UserId"].asString();
|
||||
if(!allContactGroupsNodeContactsContact["DingRobot"].isNull())
|
||||
contactsObject.dingRobot = allContactGroupsNodeContactsContact["DingRobot"].asString();
|
||||
if(!allContactGroupsNodeContactsContact["CreateTime"].isNull())
|
||||
contactsObject.createTime = std::stol(allContactGroupsNodeContactsContact["CreateTime"].asString());
|
||||
if(!allContactGroupsNodeContactsContact["UpdateTime"].isNull())
|
||||
contactsObject.updateTime = std::stol(allContactGroupsNodeContactsContact["UpdateTime"].asString());
|
||||
if(!allContactGroupsNodeContactsContact["SystemNoc"].isNull())
|
||||
contactsObject.systemNoc = allContactGroupsNodeContactsContact["SystemNoc"].asString() == "true";
|
||||
contactGroupsObject.contacts.push_back(contactsObject);
|
||||
}
|
||||
contactGroups_.push_back(contactGroupsObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -145,7 +145,7 @@ void SearchAlertRulesResult::parse(const std::string &payload)
|
||||
auto allAlertWays = value["AlertWays"]["AlertWay"];
|
||||
for (auto value : allAlertWays)
|
||||
alertRuleEntityObject.alertWays.push_back(value.asString());
|
||||
auto allAlertWay = value["AlertWay"]["AlertWay"];
|
||||
auto allAlertWay = value["AlertWay"]["NocWay"];
|
||||
for (auto value : allAlertWay)
|
||||
alertRuleEntityObject.alertWay.push_back(value.asString());
|
||||
pageBean_.alertRules.push_back(alertRuleEntityObject);
|
||||
|
||||
@@ -57,7 +57,7 @@ void SearchEventsResult::parse(const std::string &payload)
|
||||
if(!pageBeanNodeEventEventItem["AlertType"].isNull())
|
||||
eventItemObject.alertType = std::stoi(pageBeanNodeEventEventItem["AlertType"].asString());
|
||||
if(!pageBeanNodeEventEventItem["EventLevel"].isNull())
|
||||
eventItemObject.eventLevel = std::stoi(pageBeanNodeEventEventItem["EventLevel"].asString());
|
||||
eventItemObject.eventLevel = pageBeanNodeEventEventItem["EventLevel"].asString();
|
||||
if(!pageBeanNodeEventEventItem["Message"].isNull())
|
||||
eventItemObject.message = pageBeanNodeEventEventItem["Message"].asString();
|
||||
if(!pageBeanNodeEventEventItem["AlertId"].isNull())
|
||||
|
||||
@@ -36,6 +36,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string passed;
|
||||
std::string materialInfo;
|
||||
float passedScore;
|
||||
std::string subCode;
|
||||
};
|
||||
|
||||
|
||||
@@ -37,12 +37,16 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getIp()const;
|
||||
void setIp(const std::string& ip);
|
||||
std::string getCertName()const;
|
||||
void setCertName(const std::string& certName);
|
||||
std::string getMobile()const;
|
||||
void setMobile(const std::string& mobile);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getMode()const;
|
||||
void setMode(const std::string& mode);
|
||||
std::string getCertNo()const;
|
||||
void setCertNo(const std::string& certNo);
|
||||
std::string getOuterOrderNo()const;
|
||||
void setOuterOrderNo(const std::string& outerOrderNo);
|
||||
std::string getCertType()const;
|
||||
@@ -51,16 +55,21 @@ namespace AlibabaCloud
|
||||
void setSceneId(long sceneId);
|
||||
std::string getMetaInfo()const;
|
||||
void setMetaInfo(const std::string& metaInfo);
|
||||
std::string getOcr()const;
|
||||
void setOcr(const std::string& ocr);
|
||||
|
||||
private:
|
||||
std::string ip_;
|
||||
std::string certName_;
|
||||
std::string mobile_;
|
||||
std::string userId_;
|
||||
std::string mode_;
|
||||
std::string certNo_;
|
||||
std::string outerOrderNo_;
|
||||
std::string certType_;
|
||||
long sceneId_;
|
||||
std::string metaInfo_;
|
||||
std::string ocr_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -46,6 +46,8 @@ void DescribeSmartVerifyResult::parse(const std::string &payload)
|
||||
resultObject_.subCode = resultObjectNode["SubCode"].asString();
|
||||
if(!resultObjectNode["MaterialInfo"].isNull())
|
||||
resultObject_.materialInfo = resultObjectNode["MaterialInfo"].asString();
|
||||
if(!resultObjectNode["PassedScore"].isNull())
|
||||
resultObject_.passedScore = std::stof(resultObjectNode["PassedScore"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
|
||||
@@ -38,6 +38,17 @@ void InitSmartVerifyRequest::setIp(const std::string& ip)
|
||||
setBodyParameter("Ip", ip);
|
||||
}
|
||||
|
||||
std::string InitSmartVerifyRequest::getCertName()const
|
||||
{
|
||||
return certName_;
|
||||
}
|
||||
|
||||
void InitSmartVerifyRequest::setCertName(const std::string& certName)
|
||||
{
|
||||
certName_ = certName;
|
||||
setBodyParameter("CertName", certName);
|
||||
}
|
||||
|
||||
std::string InitSmartVerifyRequest::getMobile()const
|
||||
{
|
||||
return mobile_;
|
||||
@@ -71,6 +82,17 @@ void InitSmartVerifyRequest::setMode(const std::string& mode)
|
||||
setBodyParameter("Mode", mode);
|
||||
}
|
||||
|
||||
std::string InitSmartVerifyRequest::getCertNo()const
|
||||
{
|
||||
return certNo_;
|
||||
}
|
||||
|
||||
void InitSmartVerifyRequest::setCertNo(const std::string& certNo)
|
||||
{
|
||||
certNo_ = certNo;
|
||||
setBodyParameter("CertNo", certNo);
|
||||
}
|
||||
|
||||
std::string InitSmartVerifyRequest::getOuterOrderNo()const
|
||||
{
|
||||
return outerOrderNo_;
|
||||
@@ -115,3 +137,14 @@ void InitSmartVerifyRequest::setMetaInfo(const std::string& metaInfo)
|
||||
setBodyParameter("MetaInfo", metaInfo);
|
||||
}
|
||||
|
||||
std::string InitSmartVerifyRequest::getOcr()const
|
||||
{
|
||||
return ocr_;
|
||||
}
|
||||
|
||||
void InitSmartVerifyRequest::setOcr(const std::string& ocr)
|
||||
{
|
||||
ocr_ = ocr;
|
||||
setBodyParameter("Ocr", ocr);
|
||||
}
|
||||
|
||||
|
||||
174
config/CMakeLists.txt
Normal file
174
config/CMakeLists.txt
Normal file
@@ -0,0 +1,174 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||
|
||||
set(config_public_header
|
||||
include/alibabacloud/config/ConfigClient.h
|
||||
include/alibabacloud/config/ConfigExport.h )
|
||||
|
||||
set(config_public_header_model
|
||||
include/alibabacloud/config/model/ActiveConfigRulesRequest.h
|
||||
include/alibabacloud/config/model/ActiveConfigRulesResult.h
|
||||
include/alibabacloud/config/model/DeleteConfigRulesRequest.h
|
||||
include/alibabacloud/config/model/DeleteConfigRulesResult.h
|
||||
include/alibabacloud/config/model/DescribeComplianceRequest.h
|
||||
include/alibabacloud/config/model/DescribeComplianceResult.h
|
||||
include/alibabacloud/config/model/DescribeComplianceSummaryRequest.h
|
||||
include/alibabacloud/config/model/DescribeComplianceSummaryResult.h
|
||||
include/alibabacloud/config/model/DescribeConfigRuleRequest.h
|
||||
include/alibabacloud/config/model/DescribeConfigRuleResult.h
|
||||
include/alibabacloud/config/model/DescribeConfigurationRecorderRequest.h
|
||||
include/alibabacloud/config/model/DescribeConfigurationRecorderResult.h
|
||||
include/alibabacloud/config/model/DescribeDeliveryChannelsRequest.h
|
||||
include/alibabacloud/config/model/DescribeDeliveryChannelsResult.h
|
||||
include/alibabacloud/config/model/DescribeDiscoveredResourceRequest.h
|
||||
include/alibabacloud/config/model/DescribeDiscoveredResourceResult.h
|
||||
include/alibabacloud/config/model/DescribeEvaluationResultsRequest.h
|
||||
include/alibabacloud/config/model/DescribeEvaluationResultsResult.h
|
||||
include/alibabacloud/config/model/GetDiscoveredResourceCountsRequest.h
|
||||
include/alibabacloud/config/model/GetDiscoveredResourceCountsResult.h
|
||||
include/alibabacloud/config/model/GetDiscoveredResourceSummaryRequest.h
|
||||
include/alibabacloud/config/model/GetDiscoveredResourceSummaryResult.h
|
||||
include/alibabacloud/config/model/GetResourceComplianceTimelineRequest.h
|
||||
include/alibabacloud/config/model/GetResourceComplianceTimelineResult.h
|
||||
include/alibabacloud/config/model/GetResourceConfigurationTimelineRequest.h
|
||||
include/alibabacloud/config/model/GetResourceConfigurationTimelineResult.h
|
||||
include/alibabacloud/config/model/GetSupportedResourceTypesRequest.h
|
||||
include/alibabacloud/config/model/GetSupportedResourceTypesResult.h
|
||||
include/alibabacloud/config/model/ListConfigRulesRequest.h
|
||||
include/alibabacloud/config/model/ListConfigRulesResult.h
|
||||
include/alibabacloud/config/model/ListDiscoveredResourcesRequest.h
|
||||
include/alibabacloud/config/model/ListDiscoveredResourcesResult.h
|
||||
include/alibabacloud/config/model/PutConfigRuleRequest.h
|
||||
include/alibabacloud/config/model/PutConfigRuleResult.h
|
||||
include/alibabacloud/config/model/PutConfigurationRecorderRequest.h
|
||||
include/alibabacloud/config/model/PutConfigurationRecorderResult.h
|
||||
include/alibabacloud/config/model/PutDeliveryChannelRequest.h
|
||||
include/alibabacloud/config/model/PutDeliveryChannelResult.h
|
||||
include/alibabacloud/config/model/PutEvaluationsRequest.h
|
||||
include/alibabacloud/config/model/PutEvaluationsResult.h
|
||||
include/alibabacloud/config/model/StartConfigRuleEvaluationRequest.h
|
||||
include/alibabacloud/config/model/StartConfigRuleEvaluationResult.h
|
||||
include/alibabacloud/config/model/StartConfigurationRecorderRequest.h
|
||||
include/alibabacloud/config/model/StartConfigurationRecorderResult.h
|
||||
include/alibabacloud/config/model/StopConfigRulesRequest.h
|
||||
include/alibabacloud/config/model/StopConfigRulesResult.h )
|
||||
|
||||
set(config_src
|
||||
src/ConfigClient.cc
|
||||
src/model/ActiveConfigRulesRequest.cc
|
||||
src/model/ActiveConfigRulesResult.cc
|
||||
src/model/DeleteConfigRulesRequest.cc
|
||||
src/model/DeleteConfigRulesResult.cc
|
||||
src/model/DescribeComplianceRequest.cc
|
||||
src/model/DescribeComplianceResult.cc
|
||||
src/model/DescribeComplianceSummaryRequest.cc
|
||||
src/model/DescribeComplianceSummaryResult.cc
|
||||
src/model/DescribeConfigRuleRequest.cc
|
||||
src/model/DescribeConfigRuleResult.cc
|
||||
src/model/DescribeConfigurationRecorderRequest.cc
|
||||
src/model/DescribeConfigurationRecorderResult.cc
|
||||
src/model/DescribeDeliveryChannelsRequest.cc
|
||||
src/model/DescribeDeliveryChannelsResult.cc
|
||||
src/model/DescribeDiscoveredResourceRequest.cc
|
||||
src/model/DescribeDiscoveredResourceResult.cc
|
||||
src/model/DescribeEvaluationResultsRequest.cc
|
||||
src/model/DescribeEvaluationResultsResult.cc
|
||||
src/model/GetDiscoveredResourceCountsRequest.cc
|
||||
src/model/GetDiscoveredResourceCountsResult.cc
|
||||
src/model/GetDiscoveredResourceSummaryRequest.cc
|
||||
src/model/GetDiscoveredResourceSummaryResult.cc
|
||||
src/model/GetResourceComplianceTimelineRequest.cc
|
||||
src/model/GetResourceComplianceTimelineResult.cc
|
||||
src/model/GetResourceConfigurationTimelineRequest.cc
|
||||
src/model/GetResourceConfigurationTimelineResult.cc
|
||||
src/model/GetSupportedResourceTypesRequest.cc
|
||||
src/model/GetSupportedResourceTypesResult.cc
|
||||
src/model/ListConfigRulesRequest.cc
|
||||
src/model/ListConfigRulesResult.cc
|
||||
src/model/ListDiscoveredResourcesRequest.cc
|
||||
src/model/ListDiscoveredResourcesResult.cc
|
||||
src/model/PutConfigRuleRequest.cc
|
||||
src/model/PutConfigRuleResult.cc
|
||||
src/model/PutConfigurationRecorderRequest.cc
|
||||
src/model/PutConfigurationRecorderResult.cc
|
||||
src/model/PutDeliveryChannelRequest.cc
|
||||
src/model/PutDeliveryChannelResult.cc
|
||||
src/model/PutEvaluationsRequest.cc
|
||||
src/model/PutEvaluationsResult.cc
|
||||
src/model/StartConfigRuleEvaluationRequest.cc
|
||||
src/model/StartConfigRuleEvaluationResult.cc
|
||||
src/model/StartConfigurationRecorderRequest.cc
|
||||
src/model/StartConfigurationRecorderResult.cc
|
||||
src/model/StopConfigRulesRequest.cc
|
||||
src/model/StopConfigRulesResult.cc )
|
||||
|
||||
add_library(config ${LIB_TYPE}
|
||||
${config_public_header}
|
||||
${config_public_header_model}
|
||||
${config_src})
|
||||
|
||||
set_target_properties(config
|
||||
PROPERTIES
|
||||
LINKER_LANGUAGE CXX
|
||||
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
||||
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}config
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(config
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_CONFIG_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(config
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(config
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(config
|
||||
jsoncpp)
|
||||
target_include_directories(config
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(config
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(config
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(config
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(config
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${config_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/config)
|
||||
install(FILES ${config_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/config/model)
|
||||
install(TARGETS config
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
230
config/include/alibabacloud/config/ConfigClient.h
Normal file
230
config/include/alibabacloud/config/ConfigClient.h
Normal file
@@ -0,0 +1,230 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CONFIG_CONFIGCLIENT_H_
|
||||
#define ALIBABACLOUD_CONFIG_CONFIGCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "ConfigExport.h"
|
||||
#include "model/ActiveConfigRulesRequest.h"
|
||||
#include "model/ActiveConfigRulesResult.h"
|
||||
#include "model/DeleteConfigRulesRequest.h"
|
||||
#include "model/DeleteConfigRulesResult.h"
|
||||
#include "model/DescribeComplianceRequest.h"
|
||||
#include "model/DescribeComplianceResult.h"
|
||||
#include "model/DescribeComplianceSummaryRequest.h"
|
||||
#include "model/DescribeComplianceSummaryResult.h"
|
||||
#include "model/DescribeConfigRuleRequest.h"
|
||||
#include "model/DescribeConfigRuleResult.h"
|
||||
#include "model/DescribeConfigurationRecorderRequest.h"
|
||||
#include "model/DescribeConfigurationRecorderResult.h"
|
||||
#include "model/DescribeDeliveryChannelsRequest.h"
|
||||
#include "model/DescribeDeliveryChannelsResult.h"
|
||||
#include "model/DescribeDiscoveredResourceRequest.h"
|
||||
#include "model/DescribeDiscoveredResourceResult.h"
|
||||
#include "model/DescribeEvaluationResultsRequest.h"
|
||||
#include "model/DescribeEvaluationResultsResult.h"
|
||||
#include "model/GetDiscoveredResourceCountsRequest.h"
|
||||
#include "model/GetDiscoveredResourceCountsResult.h"
|
||||
#include "model/GetDiscoveredResourceSummaryRequest.h"
|
||||
#include "model/GetDiscoveredResourceSummaryResult.h"
|
||||
#include "model/GetResourceComplianceTimelineRequest.h"
|
||||
#include "model/GetResourceComplianceTimelineResult.h"
|
||||
#include "model/GetResourceConfigurationTimelineRequest.h"
|
||||
#include "model/GetResourceConfigurationTimelineResult.h"
|
||||
#include "model/GetSupportedResourceTypesRequest.h"
|
||||
#include "model/GetSupportedResourceTypesResult.h"
|
||||
#include "model/ListConfigRulesRequest.h"
|
||||
#include "model/ListConfigRulesResult.h"
|
||||
#include "model/ListDiscoveredResourcesRequest.h"
|
||||
#include "model/ListDiscoveredResourcesResult.h"
|
||||
#include "model/PutConfigRuleRequest.h"
|
||||
#include "model/PutConfigRuleResult.h"
|
||||
#include "model/PutConfigurationRecorderRequest.h"
|
||||
#include "model/PutConfigurationRecorderResult.h"
|
||||
#include "model/PutDeliveryChannelRequest.h"
|
||||
#include "model/PutDeliveryChannelResult.h"
|
||||
#include "model/PutEvaluationsRequest.h"
|
||||
#include "model/PutEvaluationsResult.h"
|
||||
#include "model/StartConfigRuleEvaluationRequest.h"
|
||||
#include "model/StartConfigRuleEvaluationResult.h"
|
||||
#include "model/StartConfigurationRecorderRequest.h"
|
||||
#include "model/StartConfigurationRecorderResult.h"
|
||||
#include "model/StopConfigRulesRequest.h"
|
||||
#include "model/StopConfigRulesResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT ConfigClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::ActiveConfigRulesResult> ActiveConfigRulesOutcome;
|
||||
typedef std::future<ActiveConfigRulesOutcome> ActiveConfigRulesOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::ActiveConfigRulesRequest&, const ActiveConfigRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ActiveConfigRulesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteConfigRulesResult> DeleteConfigRulesOutcome;
|
||||
typedef std::future<DeleteConfigRulesOutcome> DeleteConfigRulesOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::DeleteConfigRulesRequest&, const DeleteConfigRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteConfigRulesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeComplianceResult> DescribeComplianceOutcome;
|
||||
typedef std::future<DescribeComplianceOutcome> DescribeComplianceOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::DescribeComplianceRequest&, const DescribeComplianceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeComplianceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeComplianceSummaryResult> DescribeComplianceSummaryOutcome;
|
||||
typedef std::future<DescribeComplianceSummaryOutcome> DescribeComplianceSummaryOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::DescribeComplianceSummaryRequest&, const DescribeComplianceSummaryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeComplianceSummaryAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeConfigRuleResult> DescribeConfigRuleOutcome;
|
||||
typedef std::future<DescribeConfigRuleOutcome> DescribeConfigRuleOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::DescribeConfigRuleRequest&, const DescribeConfigRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeConfigRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeConfigurationRecorderResult> DescribeConfigurationRecorderOutcome;
|
||||
typedef std::future<DescribeConfigurationRecorderOutcome> DescribeConfigurationRecorderOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::DescribeConfigurationRecorderRequest&, const DescribeConfigurationRecorderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeConfigurationRecorderAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDeliveryChannelsResult> DescribeDeliveryChannelsOutcome;
|
||||
typedef std::future<DescribeDeliveryChannelsOutcome> DescribeDeliveryChannelsOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::DescribeDeliveryChannelsRequest&, const DescribeDeliveryChannelsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDeliveryChannelsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDiscoveredResourceResult> DescribeDiscoveredResourceOutcome;
|
||||
typedef std::future<DescribeDiscoveredResourceOutcome> DescribeDiscoveredResourceOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::DescribeDiscoveredResourceRequest&, const DescribeDiscoveredResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDiscoveredResourceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeEvaluationResultsResult> DescribeEvaluationResultsOutcome;
|
||||
typedef std::future<DescribeEvaluationResultsOutcome> DescribeEvaluationResultsOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::DescribeEvaluationResultsRequest&, const DescribeEvaluationResultsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEvaluationResultsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDiscoveredResourceCountsResult> GetDiscoveredResourceCountsOutcome;
|
||||
typedef std::future<GetDiscoveredResourceCountsOutcome> GetDiscoveredResourceCountsOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::GetDiscoveredResourceCountsRequest&, const GetDiscoveredResourceCountsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDiscoveredResourceCountsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDiscoveredResourceSummaryResult> GetDiscoveredResourceSummaryOutcome;
|
||||
typedef std::future<GetDiscoveredResourceSummaryOutcome> GetDiscoveredResourceSummaryOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::GetDiscoveredResourceSummaryRequest&, const GetDiscoveredResourceSummaryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDiscoveredResourceSummaryAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetResourceComplianceTimelineResult> GetResourceComplianceTimelineOutcome;
|
||||
typedef std::future<GetResourceComplianceTimelineOutcome> GetResourceComplianceTimelineOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::GetResourceComplianceTimelineRequest&, const GetResourceComplianceTimelineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetResourceComplianceTimelineAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetResourceConfigurationTimelineResult> GetResourceConfigurationTimelineOutcome;
|
||||
typedef std::future<GetResourceConfigurationTimelineOutcome> GetResourceConfigurationTimelineOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::GetResourceConfigurationTimelineRequest&, const GetResourceConfigurationTimelineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetResourceConfigurationTimelineAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetSupportedResourceTypesResult> GetSupportedResourceTypesOutcome;
|
||||
typedef std::future<GetSupportedResourceTypesOutcome> GetSupportedResourceTypesOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::GetSupportedResourceTypesRequest&, const GetSupportedResourceTypesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSupportedResourceTypesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListConfigRulesResult> ListConfigRulesOutcome;
|
||||
typedef std::future<ListConfigRulesOutcome> ListConfigRulesOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::ListConfigRulesRequest&, const ListConfigRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListConfigRulesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDiscoveredResourcesResult> ListDiscoveredResourcesOutcome;
|
||||
typedef std::future<ListDiscoveredResourcesOutcome> ListDiscoveredResourcesOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::ListDiscoveredResourcesRequest&, const ListDiscoveredResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDiscoveredResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::PutConfigRuleResult> PutConfigRuleOutcome;
|
||||
typedef std::future<PutConfigRuleOutcome> PutConfigRuleOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::PutConfigRuleRequest&, const PutConfigRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutConfigRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::PutConfigurationRecorderResult> PutConfigurationRecorderOutcome;
|
||||
typedef std::future<PutConfigurationRecorderOutcome> PutConfigurationRecorderOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::PutConfigurationRecorderRequest&, const PutConfigurationRecorderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutConfigurationRecorderAsyncHandler;
|
||||
typedef Outcome<Error, Model::PutDeliveryChannelResult> PutDeliveryChannelOutcome;
|
||||
typedef std::future<PutDeliveryChannelOutcome> PutDeliveryChannelOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::PutDeliveryChannelRequest&, const PutDeliveryChannelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutDeliveryChannelAsyncHandler;
|
||||
typedef Outcome<Error, Model::PutEvaluationsResult> PutEvaluationsOutcome;
|
||||
typedef std::future<PutEvaluationsOutcome> PutEvaluationsOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::PutEvaluationsRequest&, const PutEvaluationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutEvaluationsAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartConfigRuleEvaluationResult> StartConfigRuleEvaluationOutcome;
|
||||
typedef std::future<StartConfigRuleEvaluationOutcome> StartConfigRuleEvaluationOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::StartConfigRuleEvaluationRequest&, const StartConfigRuleEvaluationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartConfigRuleEvaluationAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartConfigurationRecorderResult> StartConfigurationRecorderOutcome;
|
||||
typedef std::future<StartConfigurationRecorderOutcome> StartConfigurationRecorderOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::StartConfigurationRecorderRequest&, const StartConfigurationRecorderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartConfigurationRecorderAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopConfigRulesResult> StopConfigRulesOutcome;
|
||||
typedef std::future<StopConfigRulesOutcome> StopConfigRulesOutcomeCallable;
|
||||
typedef std::function<void(const ConfigClient*, const Model::StopConfigRulesRequest&, const StopConfigRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopConfigRulesAsyncHandler;
|
||||
|
||||
ConfigClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
ConfigClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
ConfigClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~ConfigClient();
|
||||
ActiveConfigRulesOutcome activeConfigRules(const Model::ActiveConfigRulesRequest &request)const;
|
||||
void activeConfigRulesAsync(const Model::ActiveConfigRulesRequest& request, const ActiveConfigRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ActiveConfigRulesOutcomeCallable activeConfigRulesCallable(const Model::ActiveConfigRulesRequest& request) const;
|
||||
DeleteConfigRulesOutcome deleteConfigRules(const Model::DeleteConfigRulesRequest &request)const;
|
||||
void deleteConfigRulesAsync(const Model::DeleteConfigRulesRequest& request, const DeleteConfigRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteConfigRulesOutcomeCallable deleteConfigRulesCallable(const Model::DeleteConfigRulesRequest& request) const;
|
||||
DescribeComplianceOutcome describeCompliance(const Model::DescribeComplianceRequest &request)const;
|
||||
void describeComplianceAsync(const Model::DescribeComplianceRequest& request, const DescribeComplianceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeComplianceOutcomeCallable describeComplianceCallable(const Model::DescribeComplianceRequest& request) const;
|
||||
DescribeComplianceSummaryOutcome describeComplianceSummary(const Model::DescribeComplianceSummaryRequest &request)const;
|
||||
void describeComplianceSummaryAsync(const Model::DescribeComplianceSummaryRequest& request, const DescribeComplianceSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeComplianceSummaryOutcomeCallable describeComplianceSummaryCallable(const Model::DescribeComplianceSummaryRequest& request) const;
|
||||
DescribeConfigRuleOutcome describeConfigRule(const Model::DescribeConfigRuleRequest &request)const;
|
||||
void describeConfigRuleAsync(const Model::DescribeConfigRuleRequest& request, const DescribeConfigRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeConfigRuleOutcomeCallable describeConfigRuleCallable(const Model::DescribeConfigRuleRequest& request) const;
|
||||
DescribeConfigurationRecorderOutcome describeConfigurationRecorder(const Model::DescribeConfigurationRecorderRequest &request)const;
|
||||
void describeConfigurationRecorderAsync(const Model::DescribeConfigurationRecorderRequest& request, const DescribeConfigurationRecorderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeConfigurationRecorderOutcomeCallable describeConfigurationRecorderCallable(const Model::DescribeConfigurationRecorderRequest& request) const;
|
||||
DescribeDeliveryChannelsOutcome describeDeliveryChannels(const Model::DescribeDeliveryChannelsRequest &request)const;
|
||||
void describeDeliveryChannelsAsync(const Model::DescribeDeliveryChannelsRequest& request, const DescribeDeliveryChannelsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDeliveryChannelsOutcomeCallable describeDeliveryChannelsCallable(const Model::DescribeDeliveryChannelsRequest& request) const;
|
||||
DescribeDiscoveredResourceOutcome describeDiscoveredResource(const Model::DescribeDiscoveredResourceRequest &request)const;
|
||||
void describeDiscoveredResourceAsync(const Model::DescribeDiscoveredResourceRequest& request, const DescribeDiscoveredResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDiscoveredResourceOutcomeCallable describeDiscoveredResourceCallable(const Model::DescribeDiscoveredResourceRequest& request) const;
|
||||
DescribeEvaluationResultsOutcome describeEvaluationResults(const Model::DescribeEvaluationResultsRequest &request)const;
|
||||
void describeEvaluationResultsAsync(const Model::DescribeEvaluationResultsRequest& request, const DescribeEvaluationResultsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeEvaluationResultsOutcomeCallable describeEvaluationResultsCallable(const Model::DescribeEvaluationResultsRequest& request) const;
|
||||
GetDiscoveredResourceCountsOutcome getDiscoveredResourceCounts(const Model::GetDiscoveredResourceCountsRequest &request)const;
|
||||
void getDiscoveredResourceCountsAsync(const Model::GetDiscoveredResourceCountsRequest& request, const GetDiscoveredResourceCountsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDiscoveredResourceCountsOutcomeCallable getDiscoveredResourceCountsCallable(const Model::GetDiscoveredResourceCountsRequest& request) const;
|
||||
GetDiscoveredResourceSummaryOutcome getDiscoveredResourceSummary(const Model::GetDiscoveredResourceSummaryRequest &request)const;
|
||||
void getDiscoveredResourceSummaryAsync(const Model::GetDiscoveredResourceSummaryRequest& request, const GetDiscoveredResourceSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDiscoveredResourceSummaryOutcomeCallable getDiscoveredResourceSummaryCallable(const Model::GetDiscoveredResourceSummaryRequest& request) const;
|
||||
GetResourceComplianceTimelineOutcome getResourceComplianceTimeline(const Model::GetResourceComplianceTimelineRequest &request)const;
|
||||
void getResourceComplianceTimelineAsync(const Model::GetResourceComplianceTimelineRequest& request, const GetResourceComplianceTimelineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetResourceComplianceTimelineOutcomeCallable getResourceComplianceTimelineCallable(const Model::GetResourceComplianceTimelineRequest& request) const;
|
||||
GetResourceConfigurationTimelineOutcome getResourceConfigurationTimeline(const Model::GetResourceConfigurationTimelineRequest &request)const;
|
||||
void getResourceConfigurationTimelineAsync(const Model::GetResourceConfigurationTimelineRequest& request, const GetResourceConfigurationTimelineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetResourceConfigurationTimelineOutcomeCallable getResourceConfigurationTimelineCallable(const Model::GetResourceConfigurationTimelineRequest& request) const;
|
||||
GetSupportedResourceTypesOutcome getSupportedResourceTypes(const Model::GetSupportedResourceTypesRequest &request)const;
|
||||
void getSupportedResourceTypesAsync(const Model::GetSupportedResourceTypesRequest& request, const GetSupportedResourceTypesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetSupportedResourceTypesOutcomeCallable getSupportedResourceTypesCallable(const Model::GetSupportedResourceTypesRequest& request) const;
|
||||
ListConfigRulesOutcome listConfigRules(const Model::ListConfigRulesRequest &request)const;
|
||||
void listConfigRulesAsync(const Model::ListConfigRulesRequest& request, const ListConfigRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListConfigRulesOutcomeCallable listConfigRulesCallable(const Model::ListConfigRulesRequest& request) const;
|
||||
ListDiscoveredResourcesOutcome listDiscoveredResources(const Model::ListDiscoveredResourcesRequest &request)const;
|
||||
void listDiscoveredResourcesAsync(const Model::ListDiscoveredResourcesRequest& request, const ListDiscoveredResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDiscoveredResourcesOutcomeCallable listDiscoveredResourcesCallable(const Model::ListDiscoveredResourcesRequest& request) const;
|
||||
PutConfigRuleOutcome putConfigRule(const Model::PutConfigRuleRequest &request)const;
|
||||
void putConfigRuleAsync(const Model::PutConfigRuleRequest& request, const PutConfigRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PutConfigRuleOutcomeCallable putConfigRuleCallable(const Model::PutConfigRuleRequest& request) const;
|
||||
PutConfigurationRecorderOutcome putConfigurationRecorder(const Model::PutConfigurationRecorderRequest &request)const;
|
||||
void putConfigurationRecorderAsync(const Model::PutConfigurationRecorderRequest& request, const PutConfigurationRecorderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PutConfigurationRecorderOutcomeCallable putConfigurationRecorderCallable(const Model::PutConfigurationRecorderRequest& request) const;
|
||||
PutDeliveryChannelOutcome putDeliveryChannel(const Model::PutDeliveryChannelRequest &request)const;
|
||||
void putDeliveryChannelAsync(const Model::PutDeliveryChannelRequest& request, const PutDeliveryChannelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PutDeliveryChannelOutcomeCallable putDeliveryChannelCallable(const Model::PutDeliveryChannelRequest& request) const;
|
||||
PutEvaluationsOutcome putEvaluations(const Model::PutEvaluationsRequest &request)const;
|
||||
void putEvaluationsAsync(const Model::PutEvaluationsRequest& request, const PutEvaluationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PutEvaluationsOutcomeCallable putEvaluationsCallable(const Model::PutEvaluationsRequest& request) const;
|
||||
StartConfigRuleEvaluationOutcome startConfigRuleEvaluation(const Model::StartConfigRuleEvaluationRequest &request)const;
|
||||
void startConfigRuleEvaluationAsync(const Model::StartConfigRuleEvaluationRequest& request, const StartConfigRuleEvaluationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartConfigRuleEvaluationOutcomeCallable startConfigRuleEvaluationCallable(const Model::StartConfigRuleEvaluationRequest& request) const;
|
||||
StartConfigurationRecorderOutcome startConfigurationRecorder(const Model::StartConfigurationRecorderRequest &request)const;
|
||||
void startConfigurationRecorderAsync(const Model::StartConfigurationRecorderRequest& request, const StartConfigurationRecorderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartConfigurationRecorderOutcomeCallable startConfigurationRecorderCallable(const Model::StartConfigurationRecorderRequest& request) const;
|
||||
StopConfigRulesOutcome stopConfigRules(const Model::StopConfigRulesRequest &request)const;
|
||||
void stopConfigRulesAsync(const Model::StopConfigRulesRequest& request, const StopConfigRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopConfigRulesOutcomeCallable stopConfigRulesCallable(const Model::StopConfigRulesRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_CONFIG_CONFIGCLIENT_H_
|
||||
32
config/include/alibabacloud/config/ConfigExport.h
Normal file
32
config/include/alibabacloud/config/ConfigExport.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_CONFIGEXPORT_H_
|
||||
#define ALIBABACLOUD_CONFIG_CONFIGEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_CONFIG_LIBRARY)
|
||||
# define ALIBABACLOUD_CONFIG_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_CONFIG_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_CONFIG_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_CONFIG_CONFIGEXPORT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_ACTIVECONFIGRULESREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_ACTIVECONFIGRULESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT ActiveConfigRulesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ActiveConfigRulesRequest();
|
||||
~ActiveConfigRulesRequest();
|
||||
|
||||
std::string getConfigRuleIds()const;
|
||||
void setConfigRuleIds(const std::string& configRuleIds);
|
||||
|
||||
private:
|
||||
std::string configRuleIds_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_ACTIVECONFIGRULESREQUEST_H_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_ACTIVECONFIGRULESRESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_ACTIVECONFIGRULESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT ActiveConfigRulesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct OperateRuleResult
|
||||
{
|
||||
struct OperateRuleItem
|
||||
{
|
||||
std::string configRuleId;
|
||||
std::string errorCode;
|
||||
bool success;
|
||||
};
|
||||
std::vector<OperateRuleItem> operateRuleItemList;
|
||||
};
|
||||
|
||||
|
||||
ActiveConfigRulesResult();
|
||||
explicit ActiveConfigRulesResult(const std::string &payload);
|
||||
~ActiveConfigRulesResult();
|
||||
OperateRuleResult getOperateRuleResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
OperateRuleResult operateRuleResult_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_ACTIVECONFIGRULESRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_DELETECONFIGRULESREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_DELETECONFIGRULESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT DeleteConfigRulesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteConfigRulesRequest();
|
||||
~DeleteConfigRulesRequest();
|
||||
|
||||
std::string getConfigRuleIds()const;
|
||||
void setConfigRuleIds(const std::string& configRuleIds);
|
||||
|
||||
private:
|
||||
std::string configRuleIds_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_DELETECONFIGRULESREQUEST_H_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_DELETECONFIGRULESRESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_DELETECONFIGRULESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT DeleteConfigRulesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct OperateRuleResult
|
||||
{
|
||||
struct OperateRuleItem
|
||||
{
|
||||
std::string configRuleId;
|
||||
std::string errorCode;
|
||||
bool success;
|
||||
};
|
||||
std::vector<OperateRuleItem> operateRuleItemList;
|
||||
};
|
||||
|
||||
|
||||
DeleteConfigRulesResult();
|
||||
explicit DeleteConfigRulesResult(const std::string &payload);
|
||||
~DeleteConfigRulesResult();
|
||||
OperateRuleResult getOperateRuleResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
OperateRuleResult operateRuleResult_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_DELETECONFIGRULESRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_DESCRIBECOMPLIANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_DESCRIBECOMPLIANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT DescribeComplianceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeComplianceRequest();
|
||||
~DescribeComplianceRequest();
|
||||
|
||||
std::string getConfigRuleId()const;
|
||||
void setConfigRuleId(const std::string& configRuleId);
|
||||
std::string getResourceId()const;
|
||||
void setResourceId(const std::string& resourceId);
|
||||
bool getMultiAccount()const;
|
||||
void setMultiAccount(bool multiAccount);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getComplianceType()const;
|
||||
void setComplianceType(const std::string& complianceType);
|
||||
long getMemberId()const;
|
||||
void setMemberId(long memberId);
|
||||
|
||||
private:
|
||||
std::string configRuleId_;
|
||||
std::string resourceId_;
|
||||
bool multiAccount_;
|
||||
std::string resourceType_;
|
||||
std::string complianceType_;
|
||||
long memberId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_DESCRIBECOMPLIANCEREQUEST_H_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_DESCRIBECOMPLIANCERESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_DESCRIBECOMPLIANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT DescribeComplianceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ComplianceResult
|
||||
{
|
||||
struct CompliancesItem
|
||||
{
|
||||
std::string complianceType;
|
||||
int count;
|
||||
};
|
||||
long totalCount;
|
||||
std::vector<CompliancesItem> compliances;
|
||||
};
|
||||
|
||||
|
||||
DescribeComplianceResult();
|
||||
explicit DescribeComplianceResult(const std::string &payload);
|
||||
~DescribeComplianceResult();
|
||||
ComplianceResult getComplianceResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
ComplianceResult complianceResult_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_DESCRIBECOMPLIANCERESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_DESCRIBECOMPLIANCESUMMARYREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_DESCRIBECOMPLIANCESUMMARYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT DescribeComplianceSummaryRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeComplianceSummaryRequest();
|
||||
~DescribeComplianceSummaryRequest();
|
||||
|
||||
bool getMultiAccount()const;
|
||||
void setMultiAccount(bool multiAccount);
|
||||
long getMemberId()const;
|
||||
void setMemberId(long memberId);
|
||||
|
||||
private:
|
||||
bool multiAccount_;
|
||||
long memberId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_DESCRIBECOMPLIANCESUMMARYREQUEST_H_
|
||||
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_DESCRIBECOMPLIANCESUMMARYRESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_DESCRIBECOMPLIANCESUMMARYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT DescribeComplianceSummaryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ComplianceSummary
|
||||
{
|
||||
struct ComplianceSummaryByConfigRule
|
||||
{
|
||||
long totalCount;
|
||||
int compliantCount;
|
||||
int nonCompliantCount;
|
||||
long complianceSummaryTimestamp;
|
||||
};
|
||||
struct ComplianceSummaryByResource
|
||||
{
|
||||
long totalCount;
|
||||
int compliantCount;
|
||||
int nonCompliantCount;
|
||||
long complianceSummaryTimestamp;
|
||||
};
|
||||
ComplianceSummaryByResource complianceSummaryByResource;
|
||||
ComplianceSummaryByConfigRule complianceSummaryByConfigRule;
|
||||
};
|
||||
|
||||
|
||||
DescribeComplianceSummaryResult();
|
||||
explicit DescribeComplianceSummaryResult(const std::string &payload);
|
||||
~DescribeComplianceSummaryResult();
|
||||
ComplianceSummary getComplianceSummary()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
ComplianceSummary complianceSummary_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_DESCRIBECOMPLIANCESUMMARYRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_DESCRIBECONFIGRULEREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_DESCRIBECONFIGRULEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT DescribeConfigRuleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeConfigRuleRequest();
|
||||
~DescribeConfigRuleRequest();
|
||||
|
||||
std::string getConfigRuleId()const;
|
||||
void setConfigRuleId(const std::string& configRuleId);
|
||||
bool getMultiAccount()const;
|
||||
void setMultiAccount(bool multiAccount);
|
||||
long getMemberId()const;
|
||||
void setMemberId(long memberId);
|
||||
|
||||
private:
|
||||
std::string configRuleId_;
|
||||
bool multiAccount_;
|
||||
long memberId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_DESCRIBECONFIGRULEREQUEST_H_
|
||||
@@ -0,0 +1,131 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CONFIG_MODEL_DESCRIBECONFIGRULERESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_DESCRIBECONFIGRULERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT DescribeConfigRuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ConfigRule
|
||||
{
|
||||
struct CreateBy
|
||||
{
|
||||
std::string creatorId;
|
||||
std::string configRuleSceneName;
|
||||
std::string configRuleSceneId;
|
||||
std::string creatorType;
|
||||
std::string creatorName;
|
||||
};
|
||||
struct ConfigRuleEvaluationStatus
|
||||
{
|
||||
std::string lastErrorMessage;
|
||||
long lastFailedInvocationTimestamp;
|
||||
long firstActivatedTimestamp;
|
||||
long lastSuccessfulEvaluationTimestamp;
|
||||
bool firstEvaluationStarted;
|
||||
long lastFailedEvaluationTimestamp;
|
||||
std::string lastErrorCode;
|
||||
long lastSuccessfulInvocationTimestamp;
|
||||
};
|
||||
struct ManagedRule
|
||||
{
|
||||
struct SourceDetailsItem
|
||||
{
|
||||
std::string eventSource;
|
||||
std::string maximumExecutionFrequency;
|
||||
std::string messageType;
|
||||
};
|
||||
std::string managedRuleName;
|
||||
std::string optionalInputParameterDetails;
|
||||
std::string description;
|
||||
std::string identifier;
|
||||
std::string compulsoryInputParameterDetails;
|
||||
std::vector<std::string> labels;
|
||||
std::vector<SourceDetailsItem> sourceDetails;
|
||||
std::string helpUrl;
|
||||
};
|
||||
struct Source
|
||||
{
|
||||
struct SourceConditionsItem
|
||||
{
|
||||
std::string desiredValue;
|
||||
bool required;
|
||||
std::string _operator;
|
||||
std::string selectPath;
|
||||
std::string name;
|
||||
std::string tips;
|
||||
};
|
||||
struct SourceDetailsItem2
|
||||
{
|
||||
std::string eventSource;
|
||||
std::string maximumExecutionFrequency;
|
||||
std::string messageType;
|
||||
};
|
||||
std::string owner;
|
||||
std::string identifier;
|
||||
std::vector<SourceConditionsItem> sourceConditions;
|
||||
std::vector<SourceDetailsItem2> sourceDetails1;
|
||||
};
|
||||
struct Scope
|
||||
{
|
||||
std::string complianceResourceId;
|
||||
std::vector<std::string> complianceResourceTypes;
|
||||
};
|
||||
ManagedRule managedRule;
|
||||
std::string description;
|
||||
CreateBy createBy;
|
||||
ConfigRuleEvaluationStatus configRuleEvaluationStatus;
|
||||
Source source;
|
||||
std::string configRuleState;
|
||||
std::string configRuleId;
|
||||
Scope scope;
|
||||
std::string configRuleArn;
|
||||
long modifiedTimestamp;
|
||||
std::string configRuleName;
|
||||
long createTimestamp;
|
||||
int riskLevel;
|
||||
std::string inputParameters;
|
||||
};
|
||||
|
||||
|
||||
DescribeConfigRuleResult();
|
||||
explicit DescribeConfigRuleResult(const std::string &payload);
|
||||
~DescribeConfigRuleResult();
|
||||
ConfigRule getConfigRule()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
ConfigRule configRule_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_DESCRIBECONFIGRULERESULT_H_
|
||||
@@ -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_CONFIG_MODEL_DESCRIBECONFIGURATIONRECORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_DESCRIBECONFIGURATIONRECORDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT DescribeConfigurationRecorderRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeConfigurationRecorderRequest();
|
||||
~DescribeConfigurationRecorderRequest();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_DESCRIBECONFIGURATIONRECORDERREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_DESCRIBECONFIGURATIONRECORDERRESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_DESCRIBECONFIGURATIONRECORDERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT DescribeConfigurationRecorderResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ConfigurationRecorder
|
||||
{
|
||||
std::string configurationRecorderStatus;
|
||||
std::vector<std::string> resourceTypes;
|
||||
long accountId;
|
||||
long organizationMasterId;
|
||||
std::string organizationEnableStatus;
|
||||
};
|
||||
|
||||
|
||||
DescribeConfigurationRecorderResult();
|
||||
explicit DescribeConfigurationRecorderResult(const std::string &payload);
|
||||
~DescribeConfigurationRecorderResult();
|
||||
ConfigurationRecorder getConfigurationRecorder()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
ConfigurationRecorder configurationRecorder_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_DESCRIBECONFIGURATIONRECORDERRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_DESCRIBEDELIVERYCHANNELSREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_DESCRIBEDELIVERYCHANNELSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT DescribeDeliveryChannelsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDeliveryChannelsRequest();
|
||||
~DescribeDeliveryChannelsRequest();
|
||||
|
||||
std::string getDeliveryChannelIds()const;
|
||||
void setDeliveryChannelIds(const std::string& deliveryChannelIds);
|
||||
|
||||
private:
|
||||
std::string deliveryChannelIds_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_DESCRIBEDELIVERYCHANNELSREQUEST_H_
|
||||
@@ -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_CONFIG_MODEL_DESCRIBEDELIVERYCHANNELSRESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_DESCRIBEDELIVERYCHANNELSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT DescribeDeliveryChannelsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DeliveryChannel
|
||||
{
|
||||
int status;
|
||||
std::string description;
|
||||
std::string deliveryChannelId;
|
||||
std::string deliveryChannelName;
|
||||
std::string deliveryChannelTargetArn;
|
||||
std::string deliveryChannelAssumeRoleArn;
|
||||
std::string deliveryChannelType;
|
||||
std::string deliveryChannelCondition;
|
||||
};
|
||||
|
||||
|
||||
DescribeDeliveryChannelsResult();
|
||||
explicit DescribeDeliveryChannelsResult(const std::string &payload);
|
||||
~DescribeDeliveryChannelsResult();
|
||||
std::vector<DeliveryChannel> getDeliveryChannels()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DeliveryChannel> deliveryChannels_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_DESCRIBEDELIVERYCHANNELSRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_DESCRIBEDISCOVEREDRESOURCEREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_DESCRIBEDISCOVEREDRESOURCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT DescribeDiscoveredResourceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDiscoveredResourceRequest();
|
||||
~DescribeDiscoveredResourceRequest();
|
||||
|
||||
std::string getResourceId()const;
|
||||
void setResourceId(const std::string& resourceId);
|
||||
bool getMultiAccount()const;
|
||||
void setMultiAccount(bool multiAccount);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
long getMemberId()const;
|
||||
void setMemberId(long memberId);
|
||||
|
||||
private:
|
||||
std::string resourceId_;
|
||||
bool multiAccount_;
|
||||
std::string resourceType_;
|
||||
std::string region_;
|
||||
long memberId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_DESCRIBEDISCOVEREDRESOURCEREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_DESCRIBEDISCOVEREDRESOURCERESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_DESCRIBEDISCOVEREDRESOURCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT DescribeDiscoveredResourceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DiscoveredResourceDetail
|
||||
{
|
||||
long accountId;
|
||||
long resourceCreationTime;
|
||||
std::string configuration;
|
||||
std::string resourceId;
|
||||
std::string resourceName;
|
||||
std::string region;
|
||||
std::string availabilityZone;
|
||||
std::string resourceStatus;
|
||||
std::string resourceType;
|
||||
int resourceDeleted;
|
||||
std::string tags;
|
||||
};
|
||||
|
||||
|
||||
DescribeDiscoveredResourceResult();
|
||||
explicit DescribeDiscoveredResourceResult(const std::string &payload);
|
||||
~DescribeDiscoveredResourceResult();
|
||||
DiscoveredResourceDetail getDiscoveredResourceDetail()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
DiscoveredResourceDetail discoveredResourceDetail_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_DESCRIBEDISCOVEREDRESOURCERESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_DESCRIBEEVALUATIONRESULTSREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_DESCRIBEEVALUATIONRESULTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT DescribeEvaluationResultsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeEvaluationResultsRequest();
|
||||
~DescribeEvaluationResultsRequest();
|
||||
|
||||
std::string getConfigRuleId()const;
|
||||
void setConfigRuleId(const std::string& configRuleId);
|
||||
bool getMultiAccount()const;
|
||||
void setMultiAccount(bool multiAccount);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getComplianceType()const;
|
||||
void setComplianceType(const std::string& complianceType);
|
||||
std::string getResourceId()const;
|
||||
void setResourceId(const std::string& resourceId);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
long getMemberId()const;
|
||||
void setMemberId(long memberId);
|
||||
|
||||
private:
|
||||
std::string configRuleId_;
|
||||
bool multiAccount_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
std::string complianceType_;
|
||||
std::string resourceId_;
|
||||
std::string resourceType_;
|
||||
long memberId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_DESCRIBEEVALUATIONRESULTSREQUEST_H_
|
||||
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CONFIG_MODEL_DESCRIBEEVALUATIONRESULTSRESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_DESCRIBEEVALUATIONRESULTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT DescribeEvaluationResultsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct EvaluationResults
|
||||
{
|
||||
struct EvaluationResult
|
||||
{
|
||||
struct EvaluationResultIdentifier
|
||||
{
|
||||
struct EvaluationResultQualifier
|
||||
{
|
||||
std::string configRuleId;
|
||||
std::string configRuleArn;
|
||||
std::string resourceId;
|
||||
std::string configRuleName;
|
||||
std::string resourceType;
|
||||
std::string regionId;
|
||||
};
|
||||
EvaluationResultQualifier evaluationResultQualifier;
|
||||
long orderingTimestamp;
|
||||
};
|
||||
long configRuleInvokedTimestamp;
|
||||
std::string complianceType;
|
||||
long resultRecordedTimestamp;
|
||||
std::string invokingEventMessageType;
|
||||
EvaluationResultIdentifier evaluationResultIdentifier;
|
||||
int riskLevel;
|
||||
std::string annotation;
|
||||
};
|
||||
std::vector<EvaluationResult> evaluationResultList;
|
||||
long totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
};
|
||||
|
||||
|
||||
DescribeEvaluationResultsResult();
|
||||
explicit DescribeEvaluationResultsResult(const std::string &payload);
|
||||
~DescribeEvaluationResultsResult();
|
||||
EvaluationResults getEvaluationResults()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
EvaluationResults evaluationResults_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_DESCRIBEEVALUATIONRESULTSRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_GETDISCOVEREDRESOURCECOUNTSREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_GETDISCOVEREDRESOURCECOUNTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT GetDiscoveredResourceCountsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetDiscoveredResourceCountsRequest();
|
||||
~GetDiscoveredResourceCountsRequest();
|
||||
|
||||
bool getMultiAccount()const;
|
||||
void setMultiAccount(bool multiAccount);
|
||||
std::string getGroupByKey()const;
|
||||
void setGroupByKey(const std::string& groupByKey);
|
||||
long getMemberId()const;
|
||||
void setMemberId(long memberId);
|
||||
|
||||
private:
|
||||
bool multiAccount_;
|
||||
std::string groupByKey_;
|
||||
long memberId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_GETDISCOVEREDRESOURCECOUNTSREQUEST_H_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_GETDISCOVEREDRESOURCECOUNTSRESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_GETDISCOVEREDRESOURCECOUNTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT GetDiscoveredResourceCountsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct GroupedResourceCounts
|
||||
{
|
||||
struct GroupedResourceCount
|
||||
{
|
||||
std::string groupName;
|
||||
long resourceCount;
|
||||
};
|
||||
std::vector<GroupedResourceCount> groupedResourceCountList;
|
||||
std::string groupByKey;
|
||||
};
|
||||
|
||||
|
||||
GetDiscoveredResourceCountsResult();
|
||||
explicit GetDiscoveredResourceCountsResult(const std::string &payload);
|
||||
~GetDiscoveredResourceCountsResult();
|
||||
GroupedResourceCounts getGroupedResourceCounts()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
GroupedResourceCounts groupedResourceCounts_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_GETDISCOVEREDRESOURCECOUNTSRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_GETDISCOVEREDRESOURCESUMMARYREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_GETDISCOVEREDRESOURCESUMMARYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT GetDiscoveredResourceSummaryRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetDiscoveredResourceSummaryRequest();
|
||||
~GetDiscoveredResourceSummaryRequest();
|
||||
|
||||
bool getMultiAccount()const;
|
||||
void setMultiAccount(bool multiAccount);
|
||||
long getMemberId()const;
|
||||
void setMemberId(long memberId);
|
||||
|
||||
private:
|
||||
bool multiAccount_;
|
||||
long memberId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_GETDISCOVEREDRESOURCESUMMARYREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_GETDISCOVEREDRESOURCESUMMARYRESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_GETDISCOVEREDRESOURCESUMMARYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT GetDiscoveredResourceSummaryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DiscoveredResourceSummary
|
||||
{
|
||||
int resourceTypeCount;
|
||||
int resourceCount;
|
||||
int regionCount;
|
||||
};
|
||||
|
||||
|
||||
GetDiscoveredResourceSummaryResult();
|
||||
explicit GetDiscoveredResourceSummaryResult(const std::string &payload);
|
||||
~GetDiscoveredResourceSummaryResult();
|
||||
DiscoveredResourceSummary getDiscoveredResourceSummary()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
DiscoveredResourceSummary discoveredResourceSummary_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_GETDISCOVEREDRESOURCESUMMARYRESULT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_GETRESOURCECOMPLIANCETIMELINEREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_GETRESOURCECOMPLIANCETIMELINEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT GetResourceComplianceTimelineRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetResourceComplianceTimelineRequest();
|
||||
~GetResourceComplianceTimelineRequest();
|
||||
|
||||
bool getMultiAccount()const;
|
||||
void setMultiAccount(bool multiAccount);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
int getLimit()const;
|
||||
void setLimit(int limit);
|
||||
std::string getResourceId()const;
|
||||
void setResourceId(const std::string& resourceId);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
std::string getMemberId()const;
|
||||
void setMemberId(const std::string& memberId);
|
||||
|
||||
private:
|
||||
bool multiAccount_;
|
||||
long startTime_;
|
||||
std::string nextToken_;
|
||||
int limit_;
|
||||
std::string resourceId_;
|
||||
long endTime_;
|
||||
std::string resourceType_;
|
||||
std::string region_;
|
||||
std::string memberId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_GETRESOURCECOMPLIANCETIMELINEREQUEST_H_
|
||||
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_GETRESOURCECOMPLIANCETIMELINERESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_GETRESOURCECOMPLIANCETIMELINERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT GetResourceComplianceTimelineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ResourceComplianceTimeline
|
||||
{
|
||||
struct ComplianceListItem
|
||||
{
|
||||
std::string accountId;
|
||||
long captureTime;
|
||||
std::string configurationDiff;
|
||||
std::string configuration;
|
||||
std::string resourceId;
|
||||
std::string resourceName;
|
||||
std::string availabilityZone;
|
||||
std::string region;
|
||||
std::string resourceStatus;
|
||||
std::string resourceType;
|
||||
long resourceCreateTime;
|
||||
std::string tags;
|
||||
};
|
||||
long totalCount;
|
||||
std::vector<ComplianceListItem> complianceList;
|
||||
std::string nextToken;
|
||||
int limit;
|
||||
};
|
||||
|
||||
|
||||
GetResourceComplianceTimelineResult();
|
||||
explicit GetResourceComplianceTimelineResult(const std::string &payload);
|
||||
~GetResourceComplianceTimelineResult();
|
||||
ResourceComplianceTimeline getResourceComplianceTimeline()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
ResourceComplianceTimeline resourceComplianceTimeline_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_GETRESOURCECOMPLIANCETIMELINERESULT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_GETRESOURCECONFIGURATIONTIMELINEREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_GETRESOURCECONFIGURATIONTIMELINEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT GetResourceConfigurationTimelineRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetResourceConfigurationTimelineRequest();
|
||||
~GetResourceConfigurationTimelineRequest();
|
||||
|
||||
bool getMultiAccount()const;
|
||||
void setMultiAccount(bool multiAccount);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
int getLimit()const;
|
||||
void setLimit(int limit);
|
||||
std::string getResourceId()const;
|
||||
void setResourceId(const std::string& resourceId);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
long getMemberId()const;
|
||||
void setMemberId(long memberId);
|
||||
|
||||
private:
|
||||
bool multiAccount_;
|
||||
long startTime_;
|
||||
std::string nextToken_;
|
||||
int limit_;
|
||||
std::string resourceId_;
|
||||
long endTime_;
|
||||
std::string resourceType_;
|
||||
std::string region_;
|
||||
long memberId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_GETRESOURCECONFIGURATIONTIMELINEREQUEST_H_
|
||||
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_GETRESOURCECONFIGURATIONTIMELINERESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_GETRESOURCECONFIGURATIONTIMELINERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT GetResourceConfigurationTimelineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ResourceConfigurationTimeline
|
||||
{
|
||||
struct ConfigurationListItem
|
||||
{
|
||||
long accountId;
|
||||
std::string captureTime;
|
||||
std::string configurationDiff;
|
||||
std::string resourceId;
|
||||
std::string resourceName;
|
||||
std::string relationship;
|
||||
std::string availabilityZone;
|
||||
std::string region;
|
||||
std::string resourceType;
|
||||
std::string resourceCreateTime;
|
||||
std::string relationshipDiff;
|
||||
std::string tags;
|
||||
};
|
||||
long totalCount;
|
||||
std::string nextToken;
|
||||
std::vector<ConfigurationListItem> configurationList;
|
||||
int limit;
|
||||
};
|
||||
|
||||
|
||||
GetResourceConfigurationTimelineResult();
|
||||
explicit GetResourceConfigurationTimelineResult(const std::string &payload);
|
||||
~GetResourceConfigurationTimelineResult();
|
||||
ResourceConfigurationTimeline getResourceConfigurationTimeline()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
ResourceConfigurationTimeline resourceConfigurationTimeline_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_GETRESOURCECONFIGURATIONTIMELINERESULT_H_
|
||||
@@ -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_CONFIG_MODEL_GETSUPPORTEDRESOURCETYPESREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_GETSUPPORTEDRESOURCETYPESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT GetSupportedResourceTypesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetSupportedResourceTypesRequest();
|
||||
~GetSupportedResourceTypesRequest();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_GETSUPPORTEDRESOURCETYPESREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_GETSUPPORTEDRESOURCETYPESRESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_GETSUPPORTEDRESOURCETYPESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT GetSupportedResourceTypesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetSupportedResourceTypesResult();
|
||||
explicit GetSupportedResourceTypesResult(const std::string &payload);
|
||||
~GetSupportedResourceTypesResult();
|
||||
std::vector<std::string> getResourceTypes()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> resourceTypes_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_GETSUPPORTEDRESOURCETYPESRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_LISTCONFIGRULESREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_LISTCONFIGRULESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT ListConfigRulesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListConfigRulesRequest();
|
||||
~ListConfigRulesRequest();
|
||||
|
||||
bool getMultiAccount()const;
|
||||
void setMultiAccount(bool multiAccount);
|
||||
std::string getMessageType()const;
|
||||
void setMessageType(const std::string& messageType);
|
||||
std::string getConfigRuleState()const;
|
||||
void setConfigRuleState(const std::string& configRuleState);
|
||||
int getRiskLevel()const;
|
||||
void setRiskLevel(int riskLevel);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getComplianceType()const;
|
||||
void setComplianceType(const std::string& complianceType);
|
||||
long getMemberId()const;
|
||||
void setMemberId(long memberId);
|
||||
|
||||
private:
|
||||
bool multiAccount_;
|
||||
std::string messageType_;
|
||||
std::string configRuleState_;
|
||||
int riskLevel_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
std::string complianceType_;
|
||||
long memberId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_LISTCONFIGRULESREQUEST_H_
|
||||
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_LISTCONFIGRULESRESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_LISTCONFIGRULESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT ListConfigRulesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ConfigRules
|
||||
{
|
||||
struct ConfigRule
|
||||
{
|
||||
struct Compliance
|
||||
{
|
||||
std::string complianceType;
|
||||
int count;
|
||||
};
|
||||
struct CreateBy
|
||||
{
|
||||
std::string creatorId;
|
||||
std::string configRuleSceneName;
|
||||
std::string configRuleSceneId;
|
||||
std::string creatorType;
|
||||
std::string creatorName;
|
||||
};
|
||||
std::string configRuleId;
|
||||
long accountId;
|
||||
std::string description;
|
||||
Compliance compliance;
|
||||
std::string configRuleArn;
|
||||
std::string automationType;
|
||||
std::string sourceOwner;
|
||||
CreateBy createBy;
|
||||
std::string sourceIdentifier;
|
||||
std::string configRuleName;
|
||||
int riskLevel;
|
||||
std::string configRuleState;
|
||||
};
|
||||
long totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<ConfigRule> configRuleList;
|
||||
};
|
||||
|
||||
|
||||
ListConfigRulesResult();
|
||||
explicit ListConfigRulesResult(const std::string &payload);
|
||||
~ListConfigRulesResult();
|
||||
ConfigRules getConfigRules()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
ConfigRules configRules_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_LISTCONFIGRULESRESULT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_LISTDISCOVEREDRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_LISTDISCOVEREDRESOURCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT ListDiscoveredResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListDiscoveredResourcesRequest();
|
||||
~ListDiscoveredResourcesRequest();
|
||||
|
||||
int getResourceDeleted()const;
|
||||
void setResourceDeleted(int resourceDeleted);
|
||||
bool getMultiAccount()const;
|
||||
void setMultiAccount(bool multiAccount);
|
||||
std::string getRegions()const;
|
||||
void setRegions(const std::string& regions);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getComplianceType()const;
|
||||
void setComplianceType(const std::string& complianceType);
|
||||
std::string getResourceId()const;
|
||||
void setResourceId(const std::string& resourceId);
|
||||
std::string getResourceTypes()const;
|
||||
void setResourceTypes(const std::string& resourceTypes);
|
||||
long getMemberId()const;
|
||||
void setMemberId(long memberId);
|
||||
|
||||
private:
|
||||
int resourceDeleted_;
|
||||
bool multiAccount_;
|
||||
std::string regions_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
std::string complianceType_;
|
||||
std::string resourceId_;
|
||||
std::string resourceTypes_;
|
||||
long memberId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_LISTDISCOVEREDRESOURCESREQUEST_H_
|
||||
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_LISTDISCOVEREDRESOURCESRESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_LISTDISCOVEREDRESOURCESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT ListDiscoveredResourcesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DiscoveredResourceProfiles
|
||||
{
|
||||
struct DiscoveredResourceProfile
|
||||
{
|
||||
long accountId;
|
||||
long resourceCreationTime;
|
||||
std::string resourceId;
|
||||
std::string resourceName;
|
||||
std::string region;
|
||||
std::string resourceStatus;
|
||||
std::string resourceType;
|
||||
int resourceDeleted;
|
||||
std::string tags;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<DiscoveredResourceProfile> discoveredResourceProfileList;
|
||||
};
|
||||
|
||||
|
||||
ListDiscoveredResourcesResult();
|
||||
explicit ListDiscoveredResourcesResult(const std::string &payload);
|
||||
~ListDiscoveredResourcesResult();
|
||||
DiscoveredResourceProfiles getDiscoveredResourceProfiles()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
DiscoveredResourceProfiles discoveredResourceProfiles_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_LISTDISCOVEREDRESOURCESRESULT_H_
|
||||
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CONFIG_MODEL_PUTCONFIGRULEREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_PUTCONFIGRULEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT PutConfigRuleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PutConfigRuleRequest();
|
||||
~PutConfigRuleRequest();
|
||||
|
||||
std::string getConfigRuleId()const;
|
||||
void setConfigRuleId(const std::string& configRuleId);
|
||||
bool getMultiAccount()const;
|
||||
void setMultiAccount(bool multiAccount);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getSourceIdentifier()const;
|
||||
void setSourceIdentifier(const std::string& sourceIdentifier);
|
||||
std::string getSourceMaximumExecutionFrequency()const;
|
||||
void setSourceMaximumExecutionFrequency(const std::string& sourceMaximumExecutionFrequency);
|
||||
std::string getScopeComplianceResourceTypes()const;
|
||||
void setScopeComplianceResourceTypes(const std::string& scopeComplianceResourceTypes);
|
||||
std::string getSourceDetailMessageType()const;
|
||||
void setSourceDetailMessageType(const std::string& sourceDetailMessageType);
|
||||
int getRiskLevel()const;
|
||||
void setRiskLevel(int riskLevel);
|
||||
std::string getSourceOwner()const;
|
||||
void setSourceOwner(const std::string& sourceOwner);
|
||||
std::string getInputParameters()const;
|
||||
void setInputParameters(const std::string& inputParameters);
|
||||
std::string getConfigRuleName()const;
|
||||
void setConfigRuleName(const std::string& configRuleName);
|
||||
std::string getScopeComplianceResourceId()const;
|
||||
void setScopeComplianceResourceId(const std::string& scopeComplianceResourceId);
|
||||
long getMemberId()const;
|
||||
void setMemberId(long memberId);
|
||||
|
||||
private:
|
||||
std::string configRuleId_;
|
||||
bool multiAccount_;
|
||||
std::string clientToken_;
|
||||
std::string description_;
|
||||
std::string sourceIdentifier_;
|
||||
std::string sourceMaximumExecutionFrequency_;
|
||||
std::string scopeComplianceResourceTypes_;
|
||||
std::string sourceDetailMessageType_;
|
||||
int riskLevel_;
|
||||
std::string sourceOwner_;
|
||||
std::string inputParameters_;
|
||||
std::string configRuleName_;
|
||||
std::string scopeComplianceResourceId_;
|
||||
long memberId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_PUTCONFIGRULEREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_PUTCONFIGRULERESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_PUTCONFIGRULERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT PutConfigRuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PutConfigRuleResult();
|
||||
explicit PutConfigRuleResult(const std::string &payload);
|
||||
~PutConfigRuleResult();
|
||||
std::string getConfigRuleId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string configRuleId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_PUTCONFIGRULERESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_PUTCONFIGURATIONRECORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_PUTCONFIGURATIONRECORDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT PutConfigurationRecorderRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PutConfigurationRecorderRequest();
|
||||
~PutConfigurationRecorderRequest();
|
||||
|
||||
std::string getResourceTypes()const;
|
||||
void setResourceTypes(const std::string& resourceTypes);
|
||||
|
||||
private:
|
||||
std::string resourceTypes_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_PUTCONFIGURATIONRECORDERREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_PUTCONFIGURATIONRECORDERRESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_PUTCONFIGURATIONRECORDERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT PutConfigurationRecorderResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ConfigurationRecorder
|
||||
{
|
||||
std::string configurationRecorderStatus;
|
||||
std::vector<std::string> resourceTypes;
|
||||
long accountId;
|
||||
long organizationMasterId;
|
||||
std::string organizationEnableStatus;
|
||||
};
|
||||
|
||||
|
||||
PutConfigurationRecorderResult();
|
||||
explicit PutConfigurationRecorderResult(const std::string &payload);
|
||||
~PutConfigurationRecorderResult();
|
||||
ConfigurationRecorder getConfigurationRecorder()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
ConfigurationRecorder configurationRecorder_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_PUTCONFIGURATIONRECORDERRESULT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_PUTDELIVERYCHANNELREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_PUTDELIVERYCHANNELREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT PutDeliveryChannelRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PutDeliveryChannelRequest();
|
||||
~PutDeliveryChannelRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getDeliveryChannelTargetArn()const;
|
||||
void setDeliveryChannelTargetArn(const std::string& deliveryChannelTargetArn);
|
||||
std::string getDeliveryChannelCondition()const;
|
||||
void setDeliveryChannelCondition(const std::string& deliveryChannelCondition);
|
||||
std::string getDeliveryChannelAssumeRoleArn()const;
|
||||
void setDeliveryChannelAssumeRoleArn(const std::string& deliveryChannelAssumeRoleArn);
|
||||
std::string getDeliveryChannelName()const;
|
||||
void setDeliveryChannelName(const std::string& deliveryChannelName);
|
||||
std::string getDeliveryChannelId()const;
|
||||
void setDeliveryChannelId(const std::string& deliveryChannelId);
|
||||
std::string getDeliveryChannelType()const;
|
||||
void setDeliveryChannelType(const std::string& deliveryChannelType);
|
||||
int getStatus()const;
|
||||
void setStatus(int status);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string description_;
|
||||
std::string deliveryChannelTargetArn_;
|
||||
std::string deliveryChannelCondition_;
|
||||
std::string deliveryChannelAssumeRoleArn_;
|
||||
std::string deliveryChannelName_;
|
||||
std::string deliveryChannelId_;
|
||||
std::string deliveryChannelType_;
|
||||
int status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_PUTDELIVERYCHANNELREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_PUTDELIVERYCHANNELRESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_PUTDELIVERYCHANNELRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT PutDeliveryChannelResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PutDeliveryChannelResult();
|
||||
explicit PutDeliveryChannelResult(const std::string &payload);
|
||||
~PutDeliveryChannelResult();
|
||||
std::string getDeliveryChannelId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string deliveryChannelId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_PUTDELIVERYCHANNELRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_PUTEVALUATIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_PUTEVALUATIONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT PutEvaluationsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PutEvaluationsRequest();
|
||||
~PutEvaluationsRequest();
|
||||
|
||||
std::string getEvaluations()const;
|
||||
void setEvaluations(const std::string& evaluations);
|
||||
std::string getResultToken()const;
|
||||
void setResultToken(const std::string& resultToken);
|
||||
|
||||
private:
|
||||
std::string evaluations_;
|
||||
std::string resultToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_PUTEVALUATIONSREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_PUTEVALUATIONSRESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_PUTEVALUATIONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT PutEvaluationsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PutEvaluationsResult();
|
||||
explicit PutEvaluationsResult(const std::string &payload);
|
||||
~PutEvaluationsResult();
|
||||
bool getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_PUTEVALUATIONSRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_STARTCONFIGRULEEVALUATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_STARTCONFIGRULEEVALUATIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT StartConfigRuleEvaluationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StartConfigRuleEvaluationRequest();
|
||||
~StartConfigRuleEvaluationRequest();
|
||||
|
||||
std::string getConfigRuleId()const;
|
||||
void setConfigRuleId(const std::string& configRuleId);
|
||||
bool getMultiAccount()const;
|
||||
void setMultiAccount(bool multiAccount);
|
||||
long getMemberId()const;
|
||||
void setMemberId(long memberId);
|
||||
|
||||
private:
|
||||
std::string configRuleId_;
|
||||
bool multiAccount_;
|
||||
long memberId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_STARTCONFIGRULEEVALUATIONREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_STARTCONFIGRULEEVALUATIONRESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_STARTCONFIGRULEEVALUATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT StartConfigRuleEvaluationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StartConfigRuleEvaluationResult();
|
||||
explicit StartConfigRuleEvaluationResult(const std::string &payload);
|
||||
~StartConfigRuleEvaluationResult();
|
||||
bool getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_STARTCONFIGRULEEVALUATIONRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_STARTCONFIGURATIONRECORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_STARTCONFIGURATIONRECORDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT StartConfigurationRecorderRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StartConfigurationRecorderRequest();
|
||||
~StartConfigurationRecorderRequest();
|
||||
|
||||
bool getEnterpriseEdition()const;
|
||||
void setEnterpriseEdition(bool enterpriseEdition);
|
||||
|
||||
private:
|
||||
bool enterpriseEdition_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_STARTCONFIGURATIONRECORDERREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_STARTCONFIGURATIONRECORDERRESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_STARTCONFIGURATIONRECORDERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT StartConfigurationRecorderResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ConfigurationRecorder
|
||||
{
|
||||
std::string configurationRecorderStatus;
|
||||
std::vector<std::string> resourceTypes;
|
||||
long accountId;
|
||||
long organizationMasterId;
|
||||
std::string organizationEnableStatus;
|
||||
};
|
||||
|
||||
|
||||
StartConfigurationRecorderResult();
|
||||
explicit StartConfigurationRecorderResult(const std::string &payload);
|
||||
~StartConfigurationRecorderResult();
|
||||
ConfigurationRecorder getConfigurationRecorder()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
ConfigurationRecorder configurationRecorder_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_STARTCONFIGURATIONRECORDERRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_STOPCONFIGRULESREQUEST_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_STOPCONFIGRULESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT StopConfigRulesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StopConfigRulesRequest();
|
||||
~StopConfigRulesRequest();
|
||||
|
||||
std::string getConfigRuleIds()const;
|
||||
void setConfigRuleIds(const std::string& configRuleIds);
|
||||
|
||||
private:
|
||||
std::string configRuleIds_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_STOPCONFIGRULESREQUEST_H_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CONFIG_MODEL_STOPCONFIGRULESRESULT_H_
|
||||
#define ALIBABACLOUD_CONFIG_MODEL_STOPCONFIGRULESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/config/ConfigExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Config
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CONFIG_EXPORT StopConfigRulesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct OperateRuleResult
|
||||
{
|
||||
struct OperateRuleItem
|
||||
{
|
||||
std::string configRuleId;
|
||||
std::string errorCode;
|
||||
bool success;
|
||||
};
|
||||
std::vector<OperateRuleItem> operateRuleItemList;
|
||||
};
|
||||
|
||||
|
||||
StopConfigRulesResult();
|
||||
explicit StopConfigRulesResult(const std::string &payload);
|
||||
~StopConfigRulesResult();
|
||||
OperateRuleResult getOperateRuleResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
OperateRuleResult operateRuleResult_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CONFIG_MODEL_STOPCONFIGRULESRESULT_H_
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user