71 explicit operator bool() const noexcept {
return m_context ?
true :
false; }
76 int LastError() const noexcept {
return m_lastError; }
145 const std::shared_ptr<Crt::Auth::ICredentialsProvider> &credentialsProvider,
162 const std::shared_ptr<Crt::Auth::ICredentialsProvider> &credentialsProvider,
163 const std::shared_ptr<Crt::Auth::IHttpRequestSigner> &signer,
167 std::shared_ptr<Crt::Auth::IHttpRequestSigner>
Signer;
199 const char *certPath,
200 const char *pkeyPath,
235 const char *windowsCertStorePath,
400 explicit operator bool() const noexcept {
return m_lastError == 0; }
405 int LastError() const noexcept {
return m_lastError ? m_lastError : AWS_ERROR_UNKNOWN; }
413 uint16_t m_portOverride;
418 bool m_enableMetricsCollection =
true;
453 int LastError() const noexcept {
return m_client.LastError(); }
458 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:343
Definition: TlsOptions.h:36
Definition: TlsOptions.h:210
Definition: MqttClient.h:423
Definition: Optional.h:17
Definition: MqttClient.h:187
int LastError() const noexcept
Definition: MqttClient.h:405
Definition: MqttClient.h:25
int LastError() const noexcept
Definition: MqttClient.h:76
Definition: MqttClient.h:431
int LastError() const noexcept
Definition: MqttClient.h:453
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:23
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:167
Crt::String ServiceName
Definition: MqttClient.h:178
Crt::String SigningRegion
Definition: MqttClient.h:177
Crt::Optional< Crt::Http::HttpClientConnectionProxyOptions > ProxyOptions
Definition: MqttClient.h:176
CreateSigningConfig CreateSigningConfigCb
Definition: MqttClient.h:168
std::shared_ptr< Crt::Auth::ICredentialsProvider > CredentialsProvider
Definition: MqttClient.h:166