23 #include "qtawsglobal.h"
26 #include <QStringList>
31 class AwsEndpointPrivate;
41 AnyTransport = HTTP|HTTPS|SMTP
43 Q_DECLARE_FLAGS(Transports, Transport)
50 static QUrl getEndpoint(const QString ®ionName, const QString &serviceName,
51 const Transports transport = AnyTransport);
53 static
bool isSupported(const QString ®ionName, const QString &serviceName,
54 const Transports transport = AnyTransport);
56 bool isSupported(const Transport transport) const;
60 QString fullServiceName() const;
61 static QString fullServiceName(const QString &serviceName);
63 QString hostName() const;
65 QString regionName() const;
67 QString serviceName() const;
69 QStringList supportedRegions(const Transports transport = AnyTransport) const;
71 static QStringList supportedRegions(const QString &serviceName,
72 const Transports transport = AnyTransport);
74 static QStringList supportedServices(const QString ®ionName,
75 const Transports transport = AnyTransport);
79 AwsEndpointPrivate * const d_ptr;
80 friend class TestAwsEndpoint;
83 Q_DECLARE_OPERATORS_FOR_FLAGS(
AwsEndpoint::Transports)
Transport
Network transport supported by one or more AWS endpoints.
Definition: awsendpoint.h:37
Provides AWS endpoint information.
Definition: awsendpoint.h:33