23 #include "qtawsglobal.h" 
   24 #include "awsendpoint.h" 
   27 #include <QStringList> 
   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);
 
  106     friend class TestAwsRegion;
 
  109 Q_DECLARE_OPERATORS_FOR_FLAGS(
AwsRegion::Regions)
 
Private implementation for AwsRegion. 
Provides AWS region information. 
Provides AWS endpoint information. 
MacroRegion
AWS macro-regions.