AWS SDK for C++  1.9.66
AWS SDK for C++
MarketplaceCatalogClient.h
Go to the documentation of this file.
1 
6 #pragma once
22 #include <future>
23 #include <functional>
24 
25 namespace Aws
26 {
27 
28 namespace Http
29 {
30  class HttpClient;
31  class HttpClientFactory;
32 } // namespace Http
33 
34 namespace Utils
35 {
36  template< typename R, typename E> class Outcome;
37 namespace Threading
38 {
39  class Executor;
40 } // namespace Threading
41 } // namespace Utils
42 
43 namespace Auth
44 {
45  class AWSCredentials;
46  class AWSCredentialsProvider;
47 } // namespace Auth
48 
49 namespace Client
50 {
51  class RetryStrategy;
52 } // namespace Client
53 
54 namespace MarketplaceCatalog
55 {
56 
57 namespace Model
58 {
63  class ListEntitiesRequest;
65 
72 
73  typedef std::future<CancelChangeSetOutcome> CancelChangeSetOutcomeCallable;
74  typedef std::future<DescribeChangeSetOutcome> DescribeChangeSetOutcomeCallable;
75  typedef std::future<DescribeEntityOutcome> DescribeEntityOutcomeCallable;
76  typedef std::future<ListChangeSetsOutcome> ListChangeSetsOutcomeCallable;
77  typedef std::future<ListEntitiesOutcome> ListEntitiesOutcomeCallable;
78  typedef std::future<StartChangeSetOutcome> StartChangeSetOutcomeCallable;
79 } // namespace Model
80 
82 
83  typedef std::function<void(const MarketplaceCatalogClient*, const Model::CancelChangeSetRequest&, const Model::CancelChangeSetOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CancelChangeSetResponseReceivedHandler;
84  typedef std::function<void(const MarketplaceCatalogClient*, const Model::DescribeChangeSetRequest&, const Model::DescribeChangeSetOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeChangeSetResponseReceivedHandler;
85  typedef std::function<void(const MarketplaceCatalogClient*, const Model::DescribeEntityRequest&, const Model::DescribeEntityOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeEntityResponseReceivedHandler;
86  typedef std::function<void(const MarketplaceCatalogClient*, const Model::ListChangeSetsRequest&, const Model::ListChangeSetsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListChangeSetsResponseReceivedHandler;
87  typedef std::function<void(const MarketplaceCatalogClient*, const Model::ListEntitiesRequest&, const Model::ListEntitiesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListEntitiesResponseReceivedHandler;
88  typedef std::function<void(const MarketplaceCatalogClient*, const Model::StartChangeSetRequest&, const Model::StartChangeSetOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StartChangeSetResponseReceivedHandler;
89 
99  {
100  public:
102 
108 
114 
119  MarketplaceCatalogClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
121 
123 
124 
134 
146 
157  virtual void CancelChangeSetAsync(const Model::CancelChangeSetRequest& request, const CancelChangeSetResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
158 
165 
174 
182  virtual void DescribeChangeSetAsync(const Model::DescribeChangeSetRequest& request, const DescribeChangeSetResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
183 
190 
199 
207  virtual void DescribeEntityAsync(const Model::DescribeEntityRequest& request, const DescribeEntityResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
208 
220 
234 
247  virtual void ListChangeSetsAsync(const Model::ListChangeSetsRequest& request, const ListChangeSetsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
248 
255 
264 
272  virtual void ListEntitiesAsync(const Model::ListEntitiesRequest& request, const ListEntitiesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
273 
294 
317 
339  virtual void StartChangeSetAsync(const Model::StartChangeSetRequest& request, const StartChangeSetResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
340 
341 
342  void OverrideEndpoint(const Aws::String& endpoint);
343  private:
344  void init(const Aws::Client::ClientConfiguration& clientConfiguration);
345  void CancelChangeSetAsyncHelper(const Model::CancelChangeSetRequest& request, const CancelChangeSetResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
346  void DescribeChangeSetAsyncHelper(const Model::DescribeChangeSetRequest& request, const DescribeChangeSetResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
347  void DescribeEntityAsyncHelper(const Model::DescribeEntityRequest& request, const DescribeEntityResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
348  void ListChangeSetsAsyncHelper(const Model::ListChangeSetsRequest& request, const ListChangeSetsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
349  void ListEntitiesAsyncHelper(const Model::ListEntitiesRequest& request, const ListEntitiesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
350  void StartChangeSetAsyncHelper(const Model::StartChangeSetRequest& request, const StartChangeSetResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
351 
352  Aws::String m_uri;
353  Aws::String m_configScheme;
354  std::shared_ptr<Aws::Utils::Threading::Executor> m_executor;
355  };
356 
357 } // namespace MarketplaceCatalog
358 } // namespace Aws
Aws::DirectoryService::Model::LDAPSType::NOT_SET
@ NOT_SET
Aws::MarketplaceCatalog::MarketplaceCatalogClient::MarketplaceCatalogClient
MarketplaceCatalogClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
Aws::MarketplaceCatalog::MarketplaceCatalogClient::~MarketplaceCatalogClient
virtual ~MarketplaceCatalogClient()
Aws::MarketplaceCatalog::ListEntitiesResponseReceivedHandler
std::function< void(const MarketplaceCatalogClient *, const Model::ListEntitiesRequest &, const Model::ListEntitiesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListEntitiesResponseReceivedHandler
Definition: MarketplaceCatalogClient.h:87
Aws::MarketplaceCatalog::Model::ListChangeSetsRequest
Definition: ListChangeSetsRequest.h:25
MarketplaceCatalog_EXPORTS.h
Aws::MarketplaceCatalog::Model::ListChangeSetsOutcome
Aws::Utils::Outcome< ListChangeSetsResult, MarketplaceCatalogError > ListChangeSetsOutcome
Definition: MarketplaceCatalogClient.h:69
AWSError.h
Aws::MarketplaceCatalog::MarketplaceCatalogClient::ListEntities
virtual Model::ListEntitiesOutcome ListEntities(const Model::ListEntitiesRequest &request) const
Aws::MarketplaceCatalog::Model::CancelChangeSetRequest
Definition: CancelChangeSetRequest.h:26
Aws::MarketplaceCatalog::MarketplaceCatalogClient::ListEntitiesCallable
virtual Model::ListEntitiesOutcomeCallable ListEntitiesCallable(const Model::ListEntitiesRequest &request) const
Aws::MarketplaceCatalog::MarketplaceCatalogClient::CancelChangeSetCallable
virtual Model::CancelChangeSetOutcomeCallable CancelChangeSetCallable(const Model::CancelChangeSetRequest &request) const
Aws::MarketplaceCatalog::MarketplaceCatalogClient::DescribeChangeSetCallable
virtual Model::DescribeChangeSetOutcomeCallable DescribeChangeSetCallable(const Model::DescribeChangeSetRequest &request) const
Aws::MarketplaceCatalog::DescribeChangeSetResponseReceivedHandler
std::function< void(const MarketplaceCatalogClient *, const Model::DescribeChangeSetRequest &, const Model::DescribeChangeSetOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeChangeSetResponseReceivedHandler
Definition: MarketplaceCatalogClient.h:84
Aws::MarketplaceCatalog::CancelChangeSetResponseReceivedHandler
std::function< void(const MarketplaceCatalogClient *, const Model::CancelChangeSetRequest &, const Model::CancelChangeSetOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CancelChangeSetResponseReceivedHandler
Definition: MarketplaceCatalogClient.h:81
ListChangeSetsResult.h
AsyncCallerContext.h
Aws::MarketplaceCatalog::Model::StartChangeSetRequest
Definition: StartChangeSetRequest.h:24
Aws::MarketplaceCatalog::ListChangeSetsResponseReceivedHandler
std::function< void(const MarketplaceCatalogClient *, const Model::ListChangeSetsRequest &, const Model::ListChangeSetsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListChangeSetsResponseReceivedHandler
Definition: MarketplaceCatalogClient.h:86
Aws::MarketplaceCatalog::DescribeEntityResponseReceivedHandler
std::function< void(const MarketplaceCatalogClient *, const Model::DescribeEntityRequest &, const Model::DescribeEntityOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeEntityResponseReceivedHandler
Definition: MarketplaceCatalogClient.h:85
Aws::MarketplaceCatalog::MarketplaceCatalogClient::DescribeChangeSet
virtual Model::DescribeChangeSetOutcome DescribeChangeSet(const Model::DescribeChangeSetRequest &request) const
Aws::MarketplaceCatalog::MarketplaceCatalogClient::CancelChangeSet
virtual Model::CancelChangeSetOutcome CancelChangeSet(const Model::CancelChangeSetRequest &request) const
Aws::MarketplaceCatalog::Model::DescribeChangeSetRequest
Definition: DescribeChangeSetRequest.h:26
Aws::MarketplaceCatalog::Model::ListEntitiesRequest
Definition: ListEntitiesRequest.h:25
Aws::MarketplaceCatalog::MarketplaceCatalogClient::ListChangeSetsCallable
virtual Model::ListChangeSetsOutcomeCallable ListChangeSetsCallable(const Model::ListChangeSetsRequest &request) const
Aws::MarketplaceCatalog::MarketplaceCatalogClient
Definition: MarketplaceCatalogClient.h:99
Aws::MarketplaceCatalog::StartChangeSetResponseReceivedHandler
std::function< void(const MarketplaceCatalogClient *, const Model::StartChangeSetRequest &, const Model::StartChangeSetOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > StartChangeSetResponseReceivedHandler
Definition: MarketplaceCatalogClient.h:88
Aws::Client::ClientConfiguration
Definition: ClientConfiguration.h:53
Aws::MarketplaceCatalog::MarketplaceCatalogClient::ListEntitiesAsync
virtual void ListEntitiesAsync(const Model::ListEntitiesRequest &request, const ListEntitiesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Aws::MarketplaceCatalog::MarketplaceCatalogClient::CancelChangeSetAsync
virtual void CancelChangeSetAsync(const Model::CancelChangeSetRequest &request, const CancelChangeSetResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Aws::Auth::AWSCredentials
Definition: AWSCredentials.h:19
Aws::MarketplaceCatalog::Model::ListChangeSetsOutcomeCallable
std::future< ListChangeSetsOutcome > ListChangeSetsOutcomeCallable
Definition: MarketplaceCatalogClient.h:76
CancelChangeSetResult.h
AWSString.h
AWS_MARKETPLACECATALOG_API
#define AWS_MARKETPLACECATALOG_API
Definition: MarketplaceCatalog_EXPORTS.h:28
Aws::Client::AWSJsonClient
Definition: AWSClient.h:323
Aws::MarketplaceCatalog::MarketplaceCatalogClient::DescribeChangeSetAsync
virtual void DescribeChangeSetAsync(const Model::DescribeChangeSetRequest &request, const DescribeChangeSetResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Aws::MarketplaceCatalog::Model::StartChangeSetOutcomeCallable
std::future< StartChangeSetOutcome > StartChangeSetOutcomeCallable
Definition: MarketplaceCatalogClient.h:78
StartChangeSetResult.h
Aws::MarketplaceCatalog::MarketplaceCatalogClient::ListChangeSetsAsync
virtual void ListChangeSetsAsync(const Model::ListChangeSetsRequest &request, const ListChangeSetsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Aws::MarketplaceCatalog::MarketplaceCatalogClient::DescribeEntityAsync
virtual void DescribeEntityAsync(const Model::DescribeEntityRequest &request, const DescribeEntityResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
DescribeEntityResult.h
Aws::MarketplaceCatalog::MarketplaceCatalogClient::ListChangeSets
virtual Model::ListChangeSetsOutcome ListChangeSets(const Model::ListChangeSetsRequest &request) const
Aws::MarketplaceCatalog::Model::DescribeEntityOutcome
Aws::Utils::Outcome< DescribeEntityResult, MarketplaceCatalogError > DescribeEntityOutcome
Definition: MarketplaceCatalogClient.h:68
ClientConfiguration.h
Aws
Definition: AccessManagementClient.h:15
HttpTypes.h
MarketplaceCatalogErrors.h
Aws::MarketplaceCatalog::Model::DescribeEntityOutcomeCallable
std::future< DescribeEntityOutcome > DescribeEntityOutcomeCallable
Definition: MarketplaceCatalogClient.h:75
DescribeChangeSetResult.h
Aws::MarketplaceCatalog::MarketplaceCatalogClient::MarketplaceCatalogClient
MarketplaceCatalogClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
Aws::MarketplaceCatalog::Model::DescribeEntityRequest
Definition: DescribeEntityRequest.h:26
Aws::Utils::Outcome
Definition: Outcome.h:26
Aws::MarketplaceCatalog::MarketplaceCatalogClient::OverrideEndpoint
void OverrideEndpoint(const Aws::String &endpoint)
Aws::MarketplaceCatalog::MarketplaceCatalogClient::StartChangeSetAsync
virtual void StartChangeSetAsync(const Model::StartChangeSetRequest &request, const StartChangeSetResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MarketplaceCatalog::Model::StartChangeSetOutcome
Aws::Utils::Outcome< StartChangeSetResult, MarketplaceCatalogError > StartChangeSetOutcome
Definition: MarketplaceCatalogClient.h:71
Aws::MarketplaceCatalog::MarketplaceCatalogClient::BASECLASS
Aws::Client::AWSJsonClient BASECLASS
Definition: MarketplaceCatalogClient.h:101
Aws::MarketplaceCatalog::MarketplaceCatalogClient::StartChangeSet
virtual Model::StartChangeSetOutcome StartChangeSet(const Model::StartChangeSetRequest &request) const
AWSClient.h
Aws::MarketplaceCatalog::Model::DescribeChangeSetOutcomeCallable
std::future< DescribeChangeSetOutcome > DescribeChangeSetOutcomeCallable
Definition: MarketplaceCatalogClient.h:74
Aws::MarketplaceCatalog::Model::ListEntitiesOutcome
Aws::Utils::Outcome< ListEntitiesResult, MarketplaceCatalogError > ListEntitiesOutcome
Definition: MarketplaceCatalogClient.h:70
Aws::MarketplaceCatalog::Model::CancelChangeSetOutcomeCallable
std::future< CancelChangeSetOutcome > CancelChangeSetOutcomeCallable
Definition: MarketplaceCatalogClient.h:73
ListEntitiesResult.h
Aws::MarketplaceCatalog::MarketplaceCatalogClient::MarketplaceCatalogClient
MarketplaceCatalogClient(const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
Aws::MarketplaceCatalog::Model::CancelChangeSetOutcome
Aws::Utils::Outcome< CancelChangeSetResult, MarketplaceCatalogError > CancelChangeSetOutcome
Definition: MarketplaceCatalogClient.h:64
Aws::MarketplaceCatalog::Model::ListEntitiesOutcomeCallable
std::future< ListEntitiesOutcome > ListEntitiesOutcomeCallable
Definition: MarketplaceCatalogClient.h:77
Aws::MarketplaceCatalog::MarketplaceCatalogClient::DescribeEntity
virtual Model::DescribeEntityOutcome DescribeEntity(const Model::DescribeEntityRequest &request) const
JsonSerializer.h
Aws::MarketplaceCatalog::MarketplaceCatalogClient::StartChangeSetCallable
virtual Model::StartChangeSetOutcomeCallable StartChangeSetCallable(const Model::StartChangeSetRequest &request) const
Aws::MarketplaceCatalog::MarketplaceCatalogClient::DescribeEntityCallable
virtual Model::DescribeEntityOutcomeCallable DescribeEntityCallable(const Model::DescribeEntityRequest &request) const
Aws::MarketplaceCatalog::Model::DescribeChangeSetOutcome
Aws::Utils::Outcome< DescribeChangeSetResult, MarketplaceCatalogError > DescribeChangeSetOutcome
Definition: MarketplaceCatalogClient.h:67