AWS SDK for C++  1.8.95
AWS SDK for C++
CloudTrailClient.h
Go to the documentation of this file.
1 
6 #pragma once
34 #include <future>
35 #include <functional>
36 
37 namespace Aws
38 {
39 
40 namespace Http
41 {
42  class HttpClient;
43  class HttpClientFactory;
44 } // namespace Http
45 
46 namespace Utils
47 {
48  template< typename R, typename E> class Outcome;
49 namespace Threading
50 {
51  class Executor;
52 } // namespace Threading
53 } // namespace Utils
54 
55 namespace Auth
56 {
57  class AWSCredentials;
58  class AWSCredentialsProvider;
59 } // namespace Auth
60 
61 namespace Client
62 {
63  class RetryStrategy;
64 } // namespace Client
65 
66 namespace CloudTrail
67 {
68 
69 namespace Model
70 {
71  class AddTagsRequest;
72  class CreateTrailRequest;
73  class DeleteTrailRequest;
77  class GetTrailRequest;
80  class ListTagsRequest;
81  class ListTrailsRequest;
82  class LookupEventsRequest;
85  class RemoveTagsRequest;
86  class StartLoggingRequest;
87  class StopLoggingRequest;
89 
108 
109  typedef std::future<AddTagsOutcome> AddTagsOutcomeCallable;
110  typedef std::future<CreateTrailOutcome> CreateTrailOutcomeCallable;
111  typedef std::future<DeleteTrailOutcome> DeleteTrailOutcomeCallable;
112  typedef std::future<DescribeTrailsOutcome> DescribeTrailsOutcomeCallable;
113  typedef std::future<GetEventSelectorsOutcome> GetEventSelectorsOutcomeCallable;
114  typedef std::future<GetInsightSelectorsOutcome> GetInsightSelectorsOutcomeCallable;
115  typedef std::future<GetTrailOutcome> GetTrailOutcomeCallable;
116  typedef std::future<GetTrailStatusOutcome> GetTrailStatusOutcomeCallable;
117  typedef std::future<ListPublicKeysOutcome> ListPublicKeysOutcomeCallable;
118  typedef std::future<ListTagsOutcome> ListTagsOutcomeCallable;
119  typedef std::future<ListTrailsOutcome> ListTrailsOutcomeCallable;
120  typedef std::future<LookupEventsOutcome> LookupEventsOutcomeCallable;
121  typedef std::future<PutEventSelectorsOutcome> PutEventSelectorsOutcomeCallable;
122  typedef std::future<PutInsightSelectorsOutcome> PutInsightSelectorsOutcomeCallable;
123  typedef std::future<RemoveTagsOutcome> RemoveTagsOutcomeCallable;
124  typedef std::future<StartLoggingOutcome> StartLoggingOutcomeCallable;
125  typedef std::future<StopLoggingOutcome> StopLoggingOutcomeCallable;
126  typedef std::future<UpdateTrailOutcome> UpdateTrailOutcomeCallable;
127 } // namespace Model
128 
130 
131  typedef std::function<void(const CloudTrailClient*, const Model::AddTagsRequest&, const Model::AddTagsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > AddTagsResponseReceivedHandler;
132  typedef std::function<void(const CloudTrailClient*, const Model::CreateTrailRequest&, const Model::CreateTrailOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateTrailResponseReceivedHandler;
133  typedef std::function<void(const CloudTrailClient*, const Model::DeleteTrailRequest&, const Model::DeleteTrailOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteTrailResponseReceivedHandler;
134  typedef std::function<void(const CloudTrailClient*, const Model::DescribeTrailsRequest&, const Model::DescribeTrailsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeTrailsResponseReceivedHandler;
135  typedef std::function<void(const CloudTrailClient*, const Model::GetEventSelectorsRequest&, const Model::GetEventSelectorsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetEventSelectorsResponseReceivedHandler;
136  typedef std::function<void(const CloudTrailClient*, const Model::GetInsightSelectorsRequest&, const Model::GetInsightSelectorsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetInsightSelectorsResponseReceivedHandler;
137  typedef std::function<void(const CloudTrailClient*, const Model::GetTrailRequest&, const Model::GetTrailOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetTrailResponseReceivedHandler;
138  typedef std::function<void(const CloudTrailClient*, const Model::GetTrailStatusRequest&, const Model::GetTrailStatusOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetTrailStatusResponseReceivedHandler;
139  typedef std::function<void(const CloudTrailClient*, const Model::ListPublicKeysRequest&, const Model::ListPublicKeysOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListPublicKeysResponseReceivedHandler;
140  typedef std::function<void(const CloudTrailClient*, const Model::ListTagsRequest&, const Model::ListTagsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListTagsResponseReceivedHandler;
141  typedef std::function<void(const CloudTrailClient*, const Model::ListTrailsRequest&, const Model::ListTrailsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListTrailsResponseReceivedHandler;
142  typedef std::function<void(const CloudTrailClient*, const Model::LookupEventsRequest&, const Model::LookupEventsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > LookupEventsResponseReceivedHandler;
143  typedef std::function<void(const CloudTrailClient*, const Model::PutEventSelectorsRequest&, const Model::PutEventSelectorsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutEventSelectorsResponseReceivedHandler;
144  typedef std::function<void(const CloudTrailClient*, const Model::PutInsightSelectorsRequest&, const Model::PutInsightSelectorsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutInsightSelectorsResponseReceivedHandler;
145  typedef std::function<void(const CloudTrailClient*, const Model::RemoveTagsRequest&, const Model::RemoveTagsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RemoveTagsResponseReceivedHandler;
146  typedef std::function<void(const CloudTrailClient*, const Model::StartLoggingRequest&, const Model::StartLoggingOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StartLoggingResponseReceivedHandler;
147  typedef std::function<void(const CloudTrailClient*, const Model::StopLoggingRequest&, const Model::StopLoggingOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StopLoggingResponseReceivedHandler;
148  typedef std::function<void(const CloudTrailClient*, const Model::UpdateTrailRequest&, const Model::UpdateTrailOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateTrailResponseReceivedHandler;
149 
171  {
172  public:
174 
180 
186 
191  CloudTrailClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
193 
194  virtual ~CloudTrailClient();
195 
196 
208  virtual Model::AddTagsOutcome AddTags(const Model::AddTagsRequest& request) const;
209 
223  virtual Model::AddTagsOutcomeCallable AddTagsCallable(const Model::AddTagsRequest& request) const;
224 
238  virtual void AddTagsAsync(const Model::AddTagsRequest& request, const AddTagsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
239 
246  virtual Model::CreateTrailOutcome CreateTrail(const Model::CreateTrailRequest& request) const;
247 
256  virtual Model::CreateTrailOutcomeCallable CreateTrailCallable(const Model::CreateTrailRequest& request) const;
257 
266  virtual void CreateTrailAsync(const Model::CreateTrailRequest& request, const CreateTrailResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
267 
276  virtual Model::DeleteTrailOutcome DeleteTrail(const Model::DeleteTrailRequest& request) const;
277 
288  virtual Model::DeleteTrailOutcomeCallable DeleteTrailCallable(const Model::DeleteTrailRequest& request) const;
289 
300  virtual void DeleteTrailAsync(const Model::DeleteTrailRequest& request, const DeleteTrailResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
301 
308  virtual Model::DescribeTrailsOutcome DescribeTrails(const Model::DescribeTrailsRequest& request) const;
309 
318  virtual Model::DescribeTrailsOutcomeCallable DescribeTrailsCallable(const Model::DescribeTrailsRequest& request) const;
319 
328  virtual void DescribeTrailsAsync(const Model::DescribeTrailsRequest& request, const DescribeTrailsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
329 
345  virtual Model::GetEventSelectorsOutcome GetEventSelectors(const Model::GetEventSelectorsRequest& request) const;
346 
364  virtual Model::GetEventSelectorsOutcomeCallable GetEventSelectorsCallable(const Model::GetEventSelectorsRequest& request) const;
365 
383  virtual void GetEventSelectorsAsync(const Model::GetEventSelectorsRequest& request, const GetEventSelectorsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
384 
398  virtual Model::GetInsightSelectorsOutcome GetInsightSelectors(const Model::GetInsightSelectorsRequest& request) const;
399 
415  virtual Model::GetInsightSelectorsOutcomeCallable GetInsightSelectorsCallable(const Model::GetInsightSelectorsRequest& request) const;
416 
432  virtual void GetInsightSelectorsAsync(const Model::GetInsightSelectorsRequest& request, const GetInsightSelectorsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
433 
440  virtual Model::GetTrailOutcome GetTrail(const Model::GetTrailRequest& request) const;
441 
450  virtual Model::GetTrailOutcomeCallable GetTrailCallable(const Model::GetTrailRequest& request) const;
451 
460  virtual void GetTrailAsync(const Model::GetTrailRequest& request, const GetTrailResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
461 
471  virtual Model::GetTrailStatusOutcome GetTrailStatus(const Model::GetTrailStatusRequest& request) const;
472 
484  virtual Model::GetTrailStatusOutcomeCallable GetTrailStatusCallable(const Model::GetTrailStatusRequest& request) const;
485 
497  virtual void GetTrailStatusAsync(const Model::GetTrailStatusRequest& request, const GetTrailStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
498 
510  virtual Model::ListPublicKeysOutcome ListPublicKeys(const Model::ListPublicKeysRequest& request) const;
511 
525  virtual Model::ListPublicKeysOutcomeCallable ListPublicKeysCallable(const Model::ListPublicKeysRequest& request) const;
526 
540  virtual void ListPublicKeysAsync(const Model::ListPublicKeysRequest& request, const ListPublicKeysResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
541 
548  virtual Model::ListTagsOutcome ListTags(const Model::ListTagsRequest& request) const;
549 
558  virtual Model::ListTagsOutcomeCallable ListTagsCallable(const Model::ListTagsRequest& request) const;
559 
568  virtual void ListTagsAsync(const Model::ListTagsRequest& request, const ListTagsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
569 
575  virtual Model::ListTrailsOutcome ListTrails(const Model::ListTrailsRequest& request) const;
576 
584  virtual Model::ListTrailsOutcomeCallable ListTrailsCallable(const Model::ListTrailsRequest& request) const;
585 
593  virtual void ListTrailsAsync(const Model::ListTrailsRequest& request, const ListTrailsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
594 
616  virtual Model::LookupEventsOutcome LookupEvents(const Model::LookupEventsRequest& request) const;
617 
641  virtual Model::LookupEventsOutcomeCallable LookupEventsCallable(const Model::LookupEventsRequest& request) const;
642 
666  virtual void LookupEventsAsync(const Model::LookupEventsRequest& request, const LookupEventsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
667 
696  virtual Model::PutEventSelectorsOutcome PutEventSelectors(const Model::PutEventSelectorsRequest& request) const;
697 
728  virtual Model::PutEventSelectorsOutcomeCallable PutEventSelectorsCallable(const Model::PutEventSelectorsRequest& request) const;
729 
760  virtual void PutEventSelectorsAsync(const Model::PutEventSelectorsRequest& request, const PutEventSelectorsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
761 
772  virtual Model::PutInsightSelectorsOutcome PutInsightSelectors(const Model::PutInsightSelectorsRequest& request) const;
773 
786  virtual Model::PutInsightSelectorsOutcomeCallable PutInsightSelectorsCallable(const Model::PutInsightSelectorsRequest& request) const;
787 
800  virtual void PutInsightSelectorsAsync(const Model::PutInsightSelectorsRequest& request, const PutInsightSelectorsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
801 
807  virtual Model::RemoveTagsOutcome RemoveTags(const Model::RemoveTagsRequest& request) const;
808 
816  virtual Model::RemoveTagsOutcomeCallable RemoveTagsCallable(const Model::RemoveTagsRequest& request) const;
817 
825  virtual void RemoveTagsAsync(const Model::RemoveTagsRequest& request, const RemoveTagsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
826 
836  virtual Model::StartLoggingOutcome StartLogging(const Model::StartLoggingRequest& request) const;
837 
849  virtual Model::StartLoggingOutcomeCallable StartLoggingCallable(const Model::StartLoggingRequest& request) const;
850 
862  virtual void StartLoggingAsync(const Model::StartLoggingRequest& request, const StartLoggingResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
863 
876  virtual Model::StopLoggingOutcome StopLogging(const Model::StopLoggingRequest& request) const;
877 
892  virtual Model::StopLoggingOutcomeCallable StopLoggingCallable(const Model::StopLoggingRequest& request) const;
893 
908  virtual void StopLoggingAsync(const Model::StopLoggingRequest& request, const StopLoggingResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
909 
921  virtual Model::UpdateTrailOutcome UpdateTrail(const Model::UpdateTrailRequest& request) const;
922 
936  virtual Model::UpdateTrailOutcomeCallable UpdateTrailCallable(const Model::UpdateTrailRequest& request) const;
937 
951  virtual void UpdateTrailAsync(const Model::UpdateTrailRequest& request, const UpdateTrailResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
952 
953 
954  void OverrideEndpoint(const Aws::String& endpoint);
955  private:
956  void init(const Aws::Client::ClientConfiguration& clientConfiguration);
957  void AddTagsAsyncHelper(const Model::AddTagsRequest& request, const AddTagsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
958  void CreateTrailAsyncHelper(const Model::CreateTrailRequest& request, const CreateTrailResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
959  void DeleteTrailAsyncHelper(const Model::DeleteTrailRequest& request, const DeleteTrailResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
960  void DescribeTrailsAsyncHelper(const Model::DescribeTrailsRequest& request, const DescribeTrailsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
961  void GetEventSelectorsAsyncHelper(const Model::GetEventSelectorsRequest& request, const GetEventSelectorsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
962  void GetInsightSelectorsAsyncHelper(const Model::GetInsightSelectorsRequest& request, const GetInsightSelectorsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
963  void GetTrailAsyncHelper(const Model::GetTrailRequest& request, const GetTrailResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
964  void GetTrailStatusAsyncHelper(const Model::GetTrailStatusRequest& request, const GetTrailStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
965  void ListPublicKeysAsyncHelper(const Model::ListPublicKeysRequest& request, const ListPublicKeysResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
966  void ListTagsAsyncHelper(const Model::ListTagsRequest& request, const ListTagsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
967  void ListTrailsAsyncHelper(const Model::ListTrailsRequest& request, const ListTrailsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
968  void LookupEventsAsyncHelper(const Model::LookupEventsRequest& request, const LookupEventsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
969  void PutEventSelectorsAsyncHelper(const Model::PutEventSelectorsRequest& request, const PutEventSelectorsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
970  void PutInsightSelectorsAsyncHelper(const Model::PutInsightSelectorsRequest& request, const PutInsightSelectorsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
971  void RemoveTagsAsyncHelper(const Model::RemoveTagsRequest& request, const RemoveTagsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
972  void StartLoggingAsyncHelper(const Model::StartLoggingRequest& request, const StartLoggingResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
973  void StopLoggingAsyncHelper(const Model::StopLoggingRequest& request, const StopLoggingResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
974  void UpdateTrailAsyncHelper(const Model::UpdateTrailRequest& request, const UpdateTrailResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
975 
976  Aws::String m_uri;
977  Aws::String m_configScheme;
978  std::shared_ptr<Aws::Utils::Threading::Executor> m_executor;
979  };
980 
981 } // namespace CloudTrail
982 } // namespace Aws
std::function< void(const CloudTrailClient *, const Model::UpdateTrailRequest &, const Model::UpdateTrailOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateTrailResponseReceivedHandler
std::function< void(const CloudTrailClient *, const Model::ListTagsRequest &, const Model::ListTagsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTagsResponseReceivedHandler
std::future< ListTagsOutcome > ListTagsOutcomeCallable
std::future< LookupEventsOutcome > LookupEventsOutcomeCallable
Aws::Utils::Outcome< GetEventSelectorsResult, CloudTrailError > GetEventSelectorsOutcome
Aws::Utils::Outcome< CreateTrailResult, CloudTrailError > CreateTrailOutcome
Aws::Utils::Outcome< ListPublicKeysResult, CloudTrailError > ListPublicKeysOutcome
std::function< void(const CloudTrailClient *, const Model::GetTrailStatusRequest &, const Model::GetTrailStatusOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetTrailStatusResponseReceivedHandler
std::function< void(const CloudTrailClient *, const Model::ListPublicKeysRequest &, const Model::ListPublicKeysOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListPublicKeysResponseReceivedHandler
std::function< void(const CloudTrailClient *, const Model::DeleteTrailRequest &, const Model::DeleteTrailOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteTrailResponseReceivedHandler
std::future< GetTrailStatusOutcome > GetTrailStatusOutcomeCallable
Aws::Utils::Outcome< StartLoggingResult, CloudTrailError > StartLoggingOutcome
Aws::Utils::Outcome< GetInsightSelectorsResult, CloudTrailError > GetInsightSelectorsOutcome
Aws::Utils::Outcome< GetTrailResult, CloudTrailError > GetTrailOutcome
std::function< void(const CloudTrailClient *, const Model::AddTagsRequest &, const Model::AddTagsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > AddTagsResponseReceivedHandler
std::future< DescribeTrailsOutcome > DescribeTrailsOutcomeCallable
std::future< GetTrailOutcome > GetTrailOutcomeCallable
std::future< AddTagsOutcome > AddTagsOutcomeCallable
std::function< void(const CloudTrailClient *, const Model::ListTrailsRequest &, const Model::ListTrailsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTrailsResponseReceivedHandler
std::future< GetInsightSelectorsOutcome > GetInsightSelectorsOutcomeCallable
Aws::Utils::Outcome< StopLoggingResult, CloudTrailError > StopLoggingOutcome
Aws::Utils::Outcome< PutEventSelectorsResult, CloudTrailError > PutEventSelectorsOutcome
Aws::Utils::Outcome< AddTagsResult, CloudTrailError > AddTagsOutcome
std::future< DeleteTrailOutcome > DeleteTrailOutcomeCallable
std::future< ListPublicKeysOutcome > ListPublicKeysOutcomeCallable
std::future< CreateTrailOutcome > CreateTrailOutcomeCallable
Aws::Utils::Outcome< ListTrailsResult, CloudTrailError > ListTrailsOutcome
Aws::Utils::Outcome< ListTagsResult, CloudTrailError > ListTagsOutcome
Aws::Utils::Outcome< DescribeTrailsResult, CloudTrailError > DescribeTrailsOutcome
std::function< void(const CloudTrailClient *, const Model::CreateTrailRequest &, const Model::CreateTrailOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateTrailResponseReceivedHandler
Aws::Utils::Outcome< PutInsightSelectorsResult, CloudTrailError > PutInsightSelectorsOutcome
std::function< void(const CloudTrailClient *, const Model::PutInsightSelectorsRequest &, const Model::PutInsightSelectorsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutInsightSelectorsResponseReceivedHandler
Aws::Utils::Outcome< GetTrailStatusResult, CloudTrailError > GetTrailStatusOutcome
std::future< RemoveTagsOutcome > RemoveTagsOutcomeCallable
std::function< void(const CloudTrailClient *, const Model::GetInsightSelectorsRequest &, const Model::GetInsightSelectorsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetInsightSelectorsResponseReceivedHandler
Aws::Utils::Outcome< UpdateTrailResult, CloudTrailError > UpdateTrailOutcome
Aws::Utils::Outcome< LookupEventsResult, CloudTrailError > LookupEventsOutcome
std::future< ListTrailsOutcome > ListTrailsOutcomeCallable
std::function< void(const CloudTrailClient *, const Model::PutEventSelectorsRequest &, const Model::PutEventSelectorsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutEventSelectorsResponseReceivedHandler
std::function< void(const CloudTrailClient *, const Model::LookupEventsRequest &, const Model::LookupEventsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > LookupEventsResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
std::function< void(const CloudTrailClient *, const Model::DescribeTrailsRequest &, const Model::DescribeTrailsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeTrailsResponseReceivedHandler
std::function< void(const CloudTrailClient *, const Model::RemoveTagsRequest &, const Model::RemoveTagsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RemoveTagsResponseReceivedHandler
#define AWS_CLOUDTRAIL_API
Aws::Client::AWSJsonClient BASECLASS
std::future< UpdateTrailOutcome > UpdateTrailOutcomeCallable
std::future< PutInsightSelectorsOutcome > PutInsightSelectorsOutcomeCallable
std::function< void(const CloudTrailClient *, const Model::GetTrailRequest &, const Model::GetTrailOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetTrailResponseReceivedHandler
Aws::Utils::Outcome< RemoveTagsResult, CloudTrailError > RemoveTagsOutcome
Aws::Utils::Outcome< DeleteTrailResult, CloudTrailError > DeleteTrailOutcome
std::future< StartLoggingOutcome > StartLoggingOutcomeCallable
std::function< void(const CloudTrailClient *, const Model::StopLoggingRequest &, const Model::StopLoggingOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > StopLoggingResponseReceivedHandler
std::future< StopLoggingOutcome > StopLoggingOutcomeCallable
std::function< void(const CloudTrailClient *, const Model::StartLoggingRequest &, const Model::StartLoggingOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > StartLoggingResponseReceivedHandler
std::function< void(const CloudTrailClient *, const Model::GetEventSelectorsRequest &, const Model::GetEventSelectorsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetEventSelectorsResponseReceivedHandler
std::future< PutEventSelectorsOutcome > PutEventSelectorsOutcomeCallable
std::future< GetEventSelectorsOutcome > GetEventSelectorsOutcomeCallable