AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
IoTThingsGraphClient.h
1
6#pragma once
7#include <aws/core/client/AWSClient.h>
8#include <aws/core/client/AWSClientAsyncCRTP.h>
9#include <aws/core/client/ClientConfiguration.h>
10#include <aws/core/utils/json/JsonSerializer.h>
11#include <aws/iotthingsgraph/IoTThingsGraphPaginationBase.h>
12#include <aws/iotthingsgraph/IoTThingsGraphServiceClientModel.h>
13#include <aws/iotthingsgraph/IoTThingsGraphWaiter.h>
14#include <aws/iotthingsgraph/IoTThingsGraph_EXPORTS.h>
15
16namespace Aws {
17namespace IoTThingsGraph {
29class AWS_IOTTHINGSGRAPH_API IoTThingsGraphClient : public Aws::Client::AWSJsonClient,
30 public Aws::Client::ClientWithAsyncTemplateMethods<IoTThingsGraphClient>,
31 public IoTThingsGraphPaginationBase<IoTThingsGraphClient>,
32 public IoTThingsGraphWaiter<IoTThingsGraphClient> {
33 public:
35 static const char* GetServiceName();
36 static const char* GetAllocationTag();
37
38 typedef IoTThingsGraphClientConfiguration ClientConfigurationType;
40
45 IoTThingsGraphClient(const Aws::IoTThingsGraph::IoTThingsGraphClientConfiguration& clientConfiguration =
46 Aws::IoTThingsGraph::IoTThingsGraphClientConfiguration(),
47 std::shared_ptr<IoTThingsGraphEndpointProviderBase> endpointProvider = nullptr);
48
54 std::shared_ptr<IoTThingsGraphEndpointProviderBase> endpointProvider = nullptr,
55 const Aws::IoTThingsGraph::IoTThingsGraphClientConfiguration& clientConfiguration =
56 Aws::IoTThingsGraph::IoTThingsGraphClientConfiguration());
57
62 IoTThingsGraphClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
63 std::shared_ptr<IoTThingsGraphEndpointProviderBase> endpointProvider = nullptr,
64 const Aws::IoTThingsGraph::IoTThingsGraphClientConfiguration& clientConfiguration =
65 Aws::IoTThingsGraph::IoTThingsGraphClientConfiguration());
66
67 /* Legacy constructors due deprecation */
73
79
84 IoTThingsGraphClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
85 const Aws::Client::ClientConfiguration& clientConfiguration);
86
87 /* End of legacy constructors due deprecation */
89
90 virtual void OverrideEndpoint(const Aws::String& endpoint);
91 virtual std::shared_ptr<IoTThingsGraphEndpointProviderBase>& accessEndpointProvider();
92
93 private:
95 void init(const IoTThingsGraphClientConfiguration& clientConfiguration);
96
98
99 InvokeOperationOutcome InvokeServiceOperation(const AmazonWebServiceRequest& request, Aws::Http::HttpMethod httpMethod) const;
100
101 IoTThingsGraphClientConfiguration m_clientConfiguration;
102 std::shared_ptr<IoTThingsGraphEndpointProviderBase> m_endpointProvider;
103};
104
105} // namespace IoTThingsGraph
106} // namespace Aws
IoTThingsGraphEndpointProvider EndpointProviderType
IoTThingsGraphClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
IoTThingsGraphClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< IoTThingsGraphEndpointProviderBase > endpointProvider=nullptr, const Aws::IoTThingsGraph::IoTThingsGraphClientConfiguration &clientConfiguration=Aws::IoTThingsGraph::IoTThingsGraphClientConfiguration())
IoTThingsGraphClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual void OverrideEndpoint(const Aws::String &endpoint)
IoTThingsGraphClient(const Aws::IoTThingsGraph::IoTThingsGraphClientConfiguration &clientConfiguration=Aws::IoTThingsGraph::IoTThingsGraphClientConfiguration(), std::shared_ptr< IoTThingsGraphEndpointProviderBase > endpointProvider=nullptr)
IoTThingsGraphClientConfiguration ClientConfigurationType
virtual std::shared_ptr< IoTThingsGraphEndpointProviderBase > & accessEndpointProvider()
IoTThingsGraphClient(const Aws::Client::ClientConfiguration &clientConfiguration)
IoTThingsGraphClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< IoTThingsGraphEndpointProviderBase > endpointProvider=nullptr, const Aws::IoTThingsGraph::IoTThingsGraphClientConfiguration &clientConfiguration=Aws::IoTThingsGraph::IoTThingsGraphClientConfiguration())
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String