AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
AgentDiscoveryClient.h
1
6#pragma once
7#include <aws/agent-discovery/AgentDiscoveryPaginationBase.h>
8#include <aws/agent-discovery/AgentDiscoveryServiceClientModel.h>
9#include <aws/agent-discovery/AgentDiscoveryWaiter.h>
10#include <aws/agent-discovery/AgentDiscovery_EXPORTS.h>
11#include <aws/core/client/AWSClient.h>
12#include <aws/core/client/AWSClientAsyncCRTP.h>
13#include <aws/core/client/ClientConfiguration.h>
14#include <aws/core/utils/json/JsonSerializer.h>
15
16namespace Aws {
17namespace AgentDiscovery {
22class AWS_AGENTDISCOVERY_API AgentDiscoveryClient : public Aws::Client::AWSJsonClient,
23 public Aws::Client::ClientWithAsyncTemplateMethods<AgentDiscoveryClient>,
24 public AgentDiscoveryPaginationBase<AgentDiscoveryClient>,
25 public AgentDiscoveryWaiter<AgentDiscoveryClient> {
26 public:
28 static const char* GetServiceName();
29 static const char* GetAllocationTag();
30
31 typedef AgentDiscoveryClientConfiguration ClientConfigurationType;
33
38 AgentDiscoveryClient(const Aws::AgentDiscovery::AgentDiscoveryClientConfiguration& clientConfiguration =
39 Aws::AgentDiscovery::AgentDiscoveryClientConfiguration(),
40 std::shared_ptr<AgentDiscoveryEndpointProviderBase> endpointProvider = nullptr);
41
47 std::shared_ptr<AgentDiscoveryEndpointProviderBase> endpointProvider = nullptr,
48 const Aws::AgentDiscovery::AgentDiscoveryClientConfiguration& clientConfiguration =
49 Aws::AgentDiscovery::AgentDiscoveryClientConfiguration());
50
55 AgentDiscoveryClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
56 std::shared_ptr<AgentDiscoveryEndpointProviderBase> endpointProvider = nullptr,
57 const Aws::AgentDiscovery::AgentDiscoveryClientConfiguration& clientConfiguration =
58 Aws::AgentDiscovery::AgentDiscoveryClientConfiguration());
59
60 /* Legacy constructors due deprecation */
66
72
77 AgentDiscoveryClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
78 const Aws::Client::ClientConfiguration& clientConfiguration);
79
80 /* End of legacy constructors due deprecation */
82
92
97 template <typename SearchPublicRecordsRequestT = Model::SearchPublicRecordsRequest>
98 Model::SearchPublicRecordsOutcomeCallable SearchPublicRecordsCallable(const SearchPublicRecordsRequestT& request = {}) const {
99 return SubmitCallable(&AgentDiscoveryClient::SearchPublicRecords, request);
100 }
101
106 template <typename SearchPublicRecordsRequestT = Model::SearchPublicRecordsRequest>
108 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr,
109 const SearchPublicRecordsRequestT& request = {}) const {
110 return SubmitAsync(&AgentDiscoveryClient::SearchPublicRecords, request, handler, context);
111 }
112
113 virtual void OverrideEndpoint(const Aws::String& endpoint);
114 virtual std::shared_ptr<AgentDiscoveryEndpointProviderBase>& accessEndpointProvider();
115
116 private:
118 void init(const AgentDiscoveryClientConfiguration& clientConfiguration);
119
121
122 InvokeOperationOutcome InvokeServiceOperation(const AmazonWebServiceRequest& request,
123 const std::function<void(Aws::Endpoint::ResolveEndpointOutcome&)>& resolveUri,
124 Aws::Http::HttpMethod httpMethod) const;
125
126 AgentDiscoveryClientConfiguration m_clientConfiguration;
127 std::shared_ptr<AgentDiscoveryEndpointProviderBase> m_endpointProvider;
128};
129
130} // namespace AgentDiscovery
131} // namespace Aws
void SearchPublicRecordsAsync(const SearchPublicRecordsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const SearchPublicRecordsRequestT &request={}) const
AgentDiscoveryClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< AgentDiscoveryEndpointProviderBase > endpointProvider=nullptr, const Aws::AgentDiscovery::AgentDiscoveryClientConfiguration &clientConfiguration=Aws::AgentDiscovery::AgentDiscoveryClientConfiguration())
AgentDiscoveryClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< AgentDiscoveryEndpointProviderBase > endpointProvider=nullptr, const Aws::AgentDiscovery::AgentDiscoveryClientConfiguration &clientConfiguration=Aws::AgentDiscovery::AgentDiscoveryClientConfiguration())
Model::SearchPublicRecordsOutcomeCallable SearchPublicRecordsCallable(const SearchPublicRecordsRequestT &request={}) const
virtual std::shared_ptr< AgentDiscoveryEndpointProviderBase > & accessEndpointProvider()
AgentDiscoveryEndpointProvider EndpointProviderType
AgentDiscoveryClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
AgentDiscoveryClientConfiguration ClientConfigurationType
virtual void OverrideEndpoint(const Aws::String &endpoint)
AgentDiscoveryClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::SearchPublicRecordsOutcome SearchPublicRecords(const Model::SearchPublicRecordsRequest &request={}) const
AgentDiscoveryClient(const Aws::Client::ClientConfiguration &clientConfiguration)
AgentDiscoveryClient(const Aws::AgentDiscovery::AgentDiscoveryClientConfiguration &clientConfiguration=Aws::AgentDiscovery::AgentDiscoveryClientConfiguration(), std::shared_ptr< AgentDiscoveryEndpointProviderBase > endpointProvider=nullptr)
std::future< SearchPublicRecordsOutcome > SearchPublicRecordsOutcomeCallable
std::function< void(const AgentDiscoveryClient *, const Model::SearchPublicRecordsRequest &, const Model::SearchPublicRecordsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> SearchPublicRecordsResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String