AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IoTThingsGraphClient.h
1
6#pragma once
7#include <aws/iotthingsgraph/IoTThingsGraph_EXPORTS.h>
8#include <aws/core/client/ClientConfiguration.h>
9#include <aws/core/client/AWSClient.h>
10#include <aws/core/client/AWSClientAsyncCRTP.h>
11#include <aws/core/utils/json/JsonSerializer.h>
12#include <aws/iotthingsgraph/IoTThingsGraphServiceClientModel.h>
13
14namespace Aws
15{
16namespace IoTThingsGraph
17{
29 class AWS_IOTTHINGSGRAPH_API IoTThingsGraphClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<IoTThingsGraphClient>
30 {
31 public:
33 static const char* GetServiceName();
34 static const char* GetAllocationTag();
35
38
44 std::shared_ptr<IoTThingsGraphEndpointProviderBase> endpointProvider = nullptr);
45
51 std::shared_ptr<IoTThingsGraphEndpointProviderBase> endpointProvider = nullptr,
53
58 IoTThingsGraphClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
59 std::shared_ptr<IoTThingsGraphEndpointProviderBase> endpointProvider = nullptr,
61
62
63 /* Legacy constructors due deprecation */
69
75 const Aws::Client::ClientConfiguration& clientConfiguration);
76
81 IoTThingsGraphClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
82 const Aws::Client::ClientConfiguration& clientConfiguration);
83
84 /* End of legacy constructors due deprecation */
86
87
88 void OverrideEndpoint(const Aws::String& endpoint);
89 std::shared_ptr<IoTThingsGraphEndpointProviderBase>& accessEndpointProvider();
90 private:
92 void init(const IoTThingsGraphClientConfiguration& clientConfiguration);
93
94 IoTThingsGraphClientConfiguration m_clientConfiguration;
95 std::shared_ptr<IoTThingsGraphEndpointProviderBase> m_endpointProvider;
96 };
97
98} // namespace IoTThingsGraph
99} // namespace Aws
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())
IoTThingsGraphClientConfiguration ClientConfigurationType
IoTThingsGraphClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
IoTThingsGraphEndpointProvider EndpointProviderType
void OverrideEndpoint(const Aws::String &endpoint)
std::shared_ptr< IoTThingsGraphEndpointProviderBase > & accessEndpointProvider()
IoTThingsGraphClient(const Aws::IoTThingsGraph::IoTThingsGraphClientConfiguration &clientConfiguration=Aws::IoTThingsGraph::IoTThingsGraphClientConfiguration(), std::shared_ptr< IoTThingsGraphEndpointProviderBase > endpointProvider=nullptr)
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