23 #include "qtawsglobal.h"
24 #include "awsendpoint.h"
27 #include <QStringList>
31 class AwsRegionPrivate;
40 NorthNorthEast = 0x10,
46 SouthSouthEast = 0x70,
48 SouthSouthWest = 0x90,
63 UnitedStatesGov = 0xC00
69 AP_Northeast_1 = AsiaPacific + NorthEast + 0x1,
70 AP_Southeast_1 = AsiaPacific + SouthEast + 0x1,
71 AP_Southeast_2 = AsiaPacific + SouthEast + 0x2,
72 EU_West_1 = Europe + West + 0x1,
73 SA_East_1 = SouthAmerica + East + 0x1,
74 US_East_1 = UnitedStates + East + 0x1,
75 US_Gov_West_1 = UnitedStatesGov + West + 0x1,
76 US_West_1 = UnitedStates + West + 0x1,
77 US_West_2 = UnitedStates + West + 0x2
79 Q_DECLARE_FLAGS(Regions, Region)
86 Region region() const;
89 static QString name(const Region ®ion);
91 QString fullName() const;
92 static QString fullName(const Region ®ion);
94 QString hostName(const QString &serviceName) const;
96 bool isSupported(const QString &serviceName,
101 static Region fromName(const QString ®ionName);
105 AwsRegionPrivate * const d_ptr;
106 friend class TestAwsRegion;
109 Q_DECLARE_OPERATORS_FOR_FLAGS(
AwsRegion::Regions)
Region
AWS regions.
Definition: awsregion.h:67
Provides AWS region information.
Definition: awsregion.h:33
Provides AWS endpoint information.
Definition: awsendpoint.h:33
CardinalDirection
Definition: awsregion.h:38
MacroRegion
AWS macro-regions.
Definition: awsregion.h:58