58 explicit operator bool() const noexcept {
return m_context ?
true :
false; }
62 int LastError() const noexcept {
return m_lastError; }
107 const std::shared_ptr<Crt::Auth::ICredentialsProvider> &credentialsProvider,
120 const std::shared_ptr<Crt::Auth::ICredentialsProvider> &credentialsProvider,
121 const std::shared_ptr<Crt::Auth::IHttpRequestSigner> &signer,
125 std::shared_ptr<Crt::Auth::IHttpRequestSigner>
Signer;
154 const char *certPath,
155 const char *pkeyPath,
257 explicit operator bool() const noexcept {
return m_lastError == 0; }
261 int LastError() const noexcept {
return m_lastError ? m_lastError : AWS_ERROR_UNKNOWN; }
266 uint16_t m_portOverride;
271 bool m_enableMetricsCollection =
true;
292 int LastError() const noexcept {
return m_client.LastError(); }
296 explicit operator bool() const noexcept {
return m_client ?
true :
false; }
#define AWS_CRT_CPP_VERSION
Definition: Config.h:6
#define AWS_CRT_CPP_API
Definition: Exports.h:37
Definition: HttpConnection.h:258
Definition: Bootstrap.h:35
Definition: SocketOptions.h:45
Definition: TlsOptions.h:219
Definition: TlsOptions.h:29
Definition: MqttClient.h:358
Definition: Optional.h:13
Definition: MqttClient.h:145
int LastError() const noexcept
Definition: MqttClient.h:261
Definition: MqttClient.h:24
int LastError() const noexcept
Definition: MqttClient.h:62
Definition: MqttClient.h:284
int LastError() const noexcept
Definition: MqttClient.h:292
std::function< void(std::shared_ptr< Http::HttpRequest > req, const OnWebSocketHandshakeInterceptComplete &onComplete)> OnWebSocketHandshakeIntercept
Definition: MqttClient.h:118
aws_byte_cursor ByteCursor
Definition: Types.h:33
aws_allocator Allocator
Definition: StlAllocator.h:17
AWS_CRT_CPP_API Allocator * g_allocator
Definition: Api.cpp:21
std::basic_string< char, std::char_traits< char >, StlAllocator< char > > String
Definition: Types.h:47
std::function< std::shared_ptr< Crt::Auth::ISigningConfig >(void)> CreateSigningConfig
Definition: MqttClient.h:88
return true
Definition: cJSON.cpp:2306
Definition: MqttClient.h:91
std::shared_ptr< Crt::Auth::IHttpRequestSigner > Signer
Definition: MqttClient.h:125
Crt::String ServiceName
Definition: MqttClient.h:136
Crt::String SigningRegion
Definition: MqttClient.h:135
Crt::Optional< Crt::Http::HttpClientConnectionProxyOptions > ProxyOptions
Definition: MqttClient.h:134
CreateSigningConfig CreateSigningConfigCb
Definition: MqttClient.h:126
std::shared_ptr< Crt::Auth::ICredentialsProvider > CredentialsProvider
Definition: MqttClient.h:124