|
@@ -24,12 +24,28 @@
|
|
|
#include "ActiontrailExport.h"
|
|
#include "ActiontrailExport.h"
|
|
|
#include "model/CreateDeliveryHistoryJobRequest.h"
|
|
#include "model/CreateDeliveryHistoryJobRequest.h"
|
|
|
#include "model/CreateDeliveryHistoryJobResult.h"
|
|
#include "model/CreateDeliveryHistoryJobResult.h"
|
|
|
|
|
+#include "model/CreateTrailRequest.h"
|
|
|
|
|
+#include "model/CreateTrailResult.h"
|
|
|
#include "model/DeleteDeliveryHistoryJobRequest.h"
|
|
#include "model/DeleteDeliveryHistoryJobRequest.h"
|
|
|
#include "model/DeleteDeliveryHistoryJobResult.h"
|
|
#include "model/DeleteDeliveryHistoryJobResult.h"
|
|
|
|
|
+#include "model/DeleteTrailRequest.h"
|
|
|
|
|
+#include "model/DeleteTrailResult.h"
|
|
|
|
|
+#include "model/DescribeRegionsRequest.h"
|
|
|
|
|
+#include "model/DescribeRegionsResult.h"
|
|
|
|
|
+#include "model/DescribeTrailsRequest.h"
|
|
|
|
|
+#include "model/DescribeTrailsResult.h"
|
|
|
|
|
+#include "model/GetTrailStatusRequest.h"
|
|
|
|
|
+#include "model/GetTrailStatusResult.h"
|
|
|
#include "model/ListDeliveryHistoryJobsRequest.h"
|
|
#include "model/ListDeliveryHistoryJobsRequest.h"
|
|
|
#include "model/ListDeliveryHistoryJobsResult.h"
|
|
#include "model/ListDeliveryHistoryJobsResult.h"
|
|
|
#include "model/LookupEventsRequest.h"
|
|
#include "model/LookupEventsRequest.h"
|
|
|
#include "model/LookupEventsResult.h"
|
|
#include "model/LookupEventsResult.h"
|
|
|
|
|
+#include "model/StartLoggingRequest.h"
|
|
|
|
|
+#include "model/StartLoggingResult.h"
|
|
|
|
|
+#include "model/StopLoggingRequest.h"
|
|
|
|
|
+#include "model/StopLoggingResult.h"
|
|
|
|
|
+#include "model/UpdateTrailRequest.h"
|
|
|
|
|
+#include "model/UpdateTrailResult.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace AlibabaCloud
|
|
namespace AlibabaCloud
|
|
@@ -42,15 +58,39 @@ namespace AlibabaCloud
|
|
|
typedef Outcome<Error, Model::CreateDeliveryHistoryJobResult> CreateDeliveryHistoryJobOutcome;
|
|
typedef Outcome<Error, Model::CreateDeliveryHistoryJobResult> CreateDeliveryHistoryJobOutcome;
|
|
|
typedef std::future<CreateDeliveryHistoryJobOutcome> CreateDeliveryHistoryJobOutcomeCallable;
|
|
typedef std::future<CreateDeliveryHistoryJobOutcome> CreateDeliveryHistoryJobOutcomeCallable;
|
|
|
typedef std::function<void(const ActiontrailClient*, const Model::CreateDeliveryHistoryJobRequest&, const CreateDeliveryHistoryJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDeliveryHistoryJobAsyncHandler;
|
|
typedef std::function<void(const ActiontrailClient*, const Model::CreateDeliveryHistoryJobRequest&, const CreateDeliveryHistoryJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDeliveryHistoryJobAsyncHandler;
|
|
|
|
|
+ typedef Outcome<Error, Model::CreateTrailResult> CreateTrailOutcome;
|
|
|
|
|
+ typedef std::future<CreateTrailOutcome> CreateTrailOutcomeCallable;
|
|
|
|
|
+ typedef std::function<void(const ActiontrailClient*, const Model::CreateTrailRequest&, const CreateTrailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTrailAsyncHandler;
|
|
|
typedef Outcome<Error, Model::DeleteDeliveryHistoryJobResult> DeleteDeliveryHistoryJobOutcome;
|
|
typedef Outcome<Error, Model::DeleteDeliveryHistoryJobResult> DeleteDeliveryHistoryJobOutcome;
|
|
|
typedef std::future<DeleteDeliveryHistoryJobOutcome> DeleteDeliveryHistoryJobOutcomeCallable;
|
|
typedef std::future<DeleteDeliveryHistoryJobOutcome> DeleteDeliveryHistoryJobOutcomeCallable;
|
|
|
typedef std::function<void(const ActiontrailClient*, const Model::DeleteDeliveryHistoryJobRequest&, const DeleteDeliveryHistoryJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDeliveryHistoryJobAsyncHandler;
|
|
typedef std::function<void(const ActiontrailClient*, const Model::DeleteDeliveryHistoryJobRequest&, const DeleteDeliveryHistoryJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDeliveryHistoryJobAsyncHandler;
|
|
|
|
|
+ typedef Outcome<Error, Model::DeleteTrailResult> DeleteTrailOutcome;
|
|
|
|
|
+ typedef std::future<DeleteTrailOutcome> DeleteTrailOutcomeCallable;
|
|
|
|
|
+ typedef std::function<void(const ActiontrailClient*, const Model::DeleteTrailRequest&, const DeleteTrailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTrailAsyncHandler;
|
|
|
|
|
+ typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome;
|
|
|
|
|
+ typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable;
|
|
|
|
|
+ typedef std::function<void(const ActiontrailClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler;
|
|
|
|
|
+ typedef Outcome<Error, Model::DescribeTrailsResult> DescribeTrailsOutcome;
|
|
|
|
|
+ typedef std::future<DescribeTrailsOutcome> DescribeTrailsOutcomeCallable;
|
|
|
|
|
+ typedef std::function<void(const ActiontrailClient*, const Model::DescribeTrailsRequest&, const DescribeTrailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTrailsAsyncHandler;
|
|
|
|
|
+ typedef Outcome<Error, Model::GetTrailStatusResult> GetTrailStatusOutcome;
|
|
|
|
|
+ typedef std::future<GetTrailStatusOutcome> GetTrailStatusOutcomeCallable;
|
|
|
|
|
+ typedef std::function<void(const ActiontrailClient*, const Model::GetTrailStatusRequest&, const GetTrailStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTrailStatusAsyncHandler;
|
|
|
typedef Outcome<Error, Model::ListDeliveryHistoryJobsResult> ListDeliveryHistoryJobsOutcome;
|
|
typedef Outcome<Error, Model::ListDeliveryHistoryJobsResult> ListDeliveryHistoryJobsOutcome;
|
|
|
typedef std::future<ListDeliveryHistoryJobsOutcome> ListDeliveryHistoryJobsOutcomeCallable;
|
|
typedef std::future<ListDeliveryHistoryJobsOutcome> ListDeliveryHistoryJobsOutcomeCallable;
|
|
|
typedef std::function<void(const ActiontrailClient*, const Model::ListDeliveryHistoryJobsRequest&, const ListDeliveryHistoryJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDeliveryHistoryJobsAsyncHandler;
|
|
typedef std::function<void(const ActiontrailClient*, const Model::ListDeliveryHistoryJobsRequest&, const ListDeliveryHistoryJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDeliveryHistoryJobsAsyncHandler;
|
|
|
typedef Outcome<Error, Model::LookupEventsResult> LookupEventsOutcome;
|
|
typedef Outcome<Error, Model::LookupEventsResult> LookupEventsOutcome;
|
|
|
typedef std::future<LookupEventsOutcome> LookupEventsOutcomeCallable;
|
|
typedef std::future<LookupEventsOutcome> LookupEventsOutcomeCallable;
|
|
|
typedef std::function<void(const ActiontrailClient*, const Model::LookupEventsRequest&, const LookupEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> LookupEventsAsyncHandler;
|
|
typedef std::function<void(const ActiontrailClient*, const Model::LookupEventsRequest&, const LookupEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> LookupEventsAsyncHandler;
|
|
|
|
|
+ typedef Outcome<Error, Model::StartLoggingResult> StartLoggingOutcome;
|
|
|
|
|
+ typedef std::future<StartLoggingOutcome> StartLoggingOutcomeCallable;
|
|
|
|
|
+ typedef std::function<void(const ActiontrailClient*, const Model::StartLoggingRequest&, const StartLoggingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartLoggingAsyncHandler;
|
|
|
|
|
+ typedef Outcome<Error, Model::StopLoggingResult> StopLoggingOutcome;
|
|
|
|
|
+ typedef std::future<StopLoggingOutcome> StopLoggingOutcomeCallable;
|
|
|
|
|
+ typedef std::function<void(const ActiontrailClient*, const Model::StopLoggingRequest&, const StopLoggingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopLoggingAsyncHandler;
|
|
|
|
|
+ typedef Outcome<Error, Model::UpdateTrailResult> UpdateTrailOutcome;
|
|
|
|
|
+ typedef std::future<UpdateTrailOutcome> UpdateTrailOutcomeCallable;
|
|
|
|
|
+ typedef std::function<void(const ActiontrailClient*, const Model::UpdateTrailRequest&, const UpdateTrailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateTrailAsyncHandler;
|
|
|
|
|
|
|
|
ActiontrailClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
|
ActiontrailClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
|
|
ActiontrailClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
|
ActiontrailClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
|
@@ -59,15 +99,39 @@ namespace AlibabaCloud
|
|
|
CreateDeliveryHistoryJobOutcome createDeliveryHistoryJob(const Model::CreateDeliveryHistoryJobRequest &request)const;
|
|
CreateDeliveryHistoryJobOutcome createDeliveryHistoryJob(const Model::CreateDeliveryHistoryJobRequest &request)const;
|
|
|
void createDeliveryHistoryJobAsync(const Model::CreateDeliveryHistoryJobRequest& request, const CreateDeliveryHistoryJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
void createDeliveryHistoryJobAsync(const Model::CreateDeliveryHistoryJobRequest& request, const CreateDeliveryHistoryJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
CreateDeliveryHistoryJobOutcomeCallable createDeliveryHistoryJobCallable(const Model::CreateDeliveryHistoryJobRequest& request) const;
|
|
CreateDeliveryHistoryJobOutcomeCallable createDeliveryHistoryJobCallable(const Model::CreateDeliveryHistoryJobRequest& request) const;
|
|
|
|
|
+ CreateTrailOutcome createTrail(const Model::CreateTrailRequest &request)const;
|
|
|
|
|
+ void createTrailAsync(const Model::CreateTrailRequest& request, const CreateTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
|
|
+ CreateTrailOutcomeCallable createTrailCallable(const Model::CreateTrailRequest& request) const;
|
|
|
DeleteDeliveryHistoryJobOutcome deleteDeliveryHistoryJob(const Model::DeleteDeliveryHistoryJobRequest &request)const;
|
|
DeleteDeliveryHistoryJobOutcome deleteDeliveryHistoryJob(const Model::DeleteDeliveryHistoryJobRequest &request)const;
|
|
|
void deleteDeliveryHistoryJobAsync(const Model::DeleteDeliveryHistoryJobRequest& request, const DeleteDeliveryHistoryJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
void deleteDeliveryHistoryJobAsync(const Model::DeleteDeliveryHistoryJobRequest& request, const DeleteDeliveryHistoryJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
DeleteDeliveryHistoryJobOutcomeCallable deleteDeliveryHistoryJobCallable(const Model::DeleteDeliveryHistoryJobRequest& request) const;
|
|
DeleteDeliveryHistoryJobOutcomeCallable deleteDeliveryHistoryJobCallable(const Model::DeleteDeliveryHistoryJobRequest& request) const;
|
|
|
|
|
+ DeleteTrailOutcome deleteTrail(const Model::DeleteTrailRequest &request)const;
|
|
|
|
|
+ void deleteTrailAsync(const Model::DeleteTrailRequest& request, const DeleteTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
|
|
+ DeleteTrailOutcomeCallable deleteTrailCallable(const Model::DeleteTrailRequest& request) const;
|
|
|
|
|
+ DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const;
|
|
|
|
|
+ void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
|
|
+ DescribeRegionsOutcomeCallable describeRegionsCallable(const Model::DescribeRegionsRequest& request) const;
|
|
|
|
|
+ DescribeTrailsOutcome describeTrails(const Model::DescribeTrailsRequest &request)const;
|
|
|
|
|
+ void describeTrailsAsync(const Model::DescribeTrailsRequest& request, const DescribeTrailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
|
|
+ DescribeTrailsOutcomeCallable describeTrailsCallable(const Model::DescribeTrailsRequest& request) const;
|
|
|
|
|
+ GetTrailStatusOutcome getTrailStatus(const Model::GetTrailStatusRequest &request)const;
|
|
|
|
|
+ void getTrailStatusAsync(const Model::GetTrailStatusRequest& request, const GetTrailStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
|
|
+ GetTrailStatusOutcomeCallable getTrailStatusCallable(const Model::GetTrailStatusRequest& request) const;
|
|
|
ListDeliveryHistoryJobsOutcome listDeliveryHistoryJobs(const Model::ListDeliveryHistoryJobsRequest &request)const;
|
|
ListDeliveryHistoryJobsOutcome listDeliveryHistoryJobs(const Model::ListDeliveryHistoryJobsRequest &request)const;
|
|
|
void listDeliveryHistoryJobsAsync(const Model::ListDeliveryHistoryJobsRequest& request, const ListDeliveryHistoryJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
void listDeliveryHistoryJobsAsync(const Model::ListDeliveryHistoryJobsRequest& request, const ListDeliveryHistoryJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
ListDeliveryHistoryJobsOutcomeCallable listDeliveryHistoryJobsCallable(const Model::ListDeliveryHistoryJobsRequest& request) const;
|
|
ListDeliveryHistoryJobsOutcomeCallable listDeliveryHistoryJobsCallable(const Model::ListDeliveryHistoryJobsRequest& request) const;
|
|
|
LookupEventsOutcome lookupEvents(const Model::LookupEventsRequest &request)const;
|
|
LookupEventsOutcome lookupEvents(const Model::LookupEventsRequest &request)const;
|
|
|
void lookupEventsAsync(const Model::LookupEventsRequest& request, const LookupEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
void lookupEventsAsync(const Model::LookupEventsRequest& request, const LookupEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
LookupEventsOutcomeCallable lookupEventsCallable(const Model::LookupEventsRequest& request) const;
|
|
LookupEventsOutcomeCallable lookupEventsCallable(const Model::LookupEventsRequest& request) const;
|
|
|
|
|
+ StartLoggingOutcome startLogging(const Model::StartLoggingRequest &request)const;
|
|
|
|
|
+ void startLoggingAsync(const Model::StartLoggingRequest& request, const StartLoggingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
|
|
+ StartLoggingOutcomeCallable startLoggingCallable(const Model::StartLoggingRequest& request) const;
|
|
|
|
|
+ StopLoggingOutcome stopLogging(const Model::StopLoggingRequest &request)const;
|
|
|
|
|
+ void stopLoggingAsync(const Model::StopLoggingRequest& request, const StopLoggingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
|
|
+ StopLoggingOutcomeCallable stopLoggingCallable(const Model::StopLoggingRequest& request) const;
|
|
|
|
|
+ UpdateTrailOutcome updateTrail(const Model::UpdateTrailRequest &request)const;
|
|
|
|
|
+ void updateTrailAsync(const Model::UpdateTrailRequest& request, const UpdateTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
|
|
|
+ UpdateTrailOutcomeCallable updateTrailCallable(const Model::UpdateTrailRequest& request) const;
|
|
|
|
|
|
|
|
private:
|
|
private:
|
|
|
std::shared_ptr<EndpointProvider> endpointProvider_;
|
|
std::shared_ptr<EndpointProvider> endpointProvider_;
|