71 explicit operator bool() const noexcept {
return m_context ?
true :
false; }
76 int LastError() const noexcept {
return m_lastError; }
133 const std::shared_ptr<Crt::Auth::ICredentialsProvider> &credentialsProvider,
150 const std::shared_ptr<Crt::Auth::ICredentialsProvider> &credentialsProvider,
151 const std::shared_ptr<Crt::Auth::IHttpRequestSigner> &signer,
155 std::shared_ptr<Crt::Auth::IHttpRequestSigner>
Signer;
187 const char *certPath,
188 const char *pkeyPath,
372 explicit operator bool() const noexcept {
return m_lastError == 0; }
377 int LastError() const noexcept {
return m_lastError ? m_lastError : AWS_ERROR_UNKNOWN; }
385 uint16_t m_portOverride;
390 bool m_enableMetricsCollection =
true;
417 int LastError() const noexcept {
return m_client.LastError(); }
422 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:270
Definition: Bootstrap.h:35
Definition: SocketOptions.h:48
Definition: TlsOptions.h:331
Definition: TlsOptions.h:36
Definition: TlsOptions.h:198
Definition: MqttClient.h:423
Definition: Optional.h:17
Definition: MqttClient.h:175
int LastError() const noexcept
Definition: MqttClient.h:377
Definition: MqttClient.h:25
int LastError() const noexcept
Definition: MqttClient.h:76
Definition: MqttClient.h:403
int LastError() const noexcept
Definition: MqttClient.h:417
std::function< void(std::shared_ptr< Http::HttpRequest > req, const OnWebSocketHandshakeInterceptComplete &onComplete)> OnWebSocketHandshakeIntercept
Definition: MqttClient.h:122
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:102
return true
Definition: cJSON.cpp:2306
Definition: MqttClient.h:108
std::shared_ptr< Crt::Auth::IHttpRequestSigner > Signer
Definition: MqttClient.h:155
Crt::String ServiceName
Definition: MqttClient.h:166
Crt::String SigningRegion
Definition: MqttClient.h:165
Crt::Optional< Crt::Http::HttpClientConnectionProxyOptions > ProxyOptions
Definition: MqttClient.h:164
CreateSigningConfig CreateSigningConfigCb
Definition: MqttClient.h:156
std::shared_ptr< Crt::Auth::ICredentialsProvider > CredentialsProvider
Definition: MqttClient.h:154