AWS SDK for C++  1.9.159
AWS SDK for C++
Location.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace DeviceFarm
20 {
21 namespace Model
22 {
23 
32  {
33  public:
38 
39 
43  inline double GetLatitude() const{ return m_latitude; }
44 
48  inline bool LatitudeHasBeenSet() const { return m_latitudeHasBeenSet; }
49 
53  inline void SetLatitude(double value) { m_latitudeHasBeenSet = true; m_latitude = value; }
54 
58  inline Location& WithLatitude(double value) { SetLatitude(value); return *this;}
59 
60 
64  inline double GetLongitude() const{ return m_longitude; }
65 
69  inline bool LongitudeHasBeenSet() const { return m_longitudeHasBeenSet; }
70 
74  inline void SetLongitude(double value) { m_longitudeHasBeenSet = true; m_longitude = value; }
75 
79  inline Location& WithLongitude(double value) { SetLongitude(value); return *this;}
80 
81  private:
82 
83  double m_latitude;
84  bool m_latitudeHasBeenSet;
85 
86  double m_longitude;
87  bool m_longitudeHasBeenSet;
88  };
89 
90 } // namespace Model
91 } // namespace DeviceFarm
92 } // namespace Aws
Aws::DeviceFarm::Model::Location::GetLongitude
double GetLongitude() const
Definition: Location.h:64
Aws::DeviceFarm::Model::Location::LongitudeHasBeenSet
bool LongitudeHasBeenSet() const
Definition: Location.h:69
Aws::DeviceFarm::Model::Location::operator=
Location & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DeviceFarm::Model::Location::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::DeviceFarm::Model::Location::GetLatitude
double GetLatitude() const
Definition: Location.h:43
AWS_DEVICEFARM_API
#define AWS_DEVICEFARM_API
Definition: DeviceFarm_EXPORTS.h:28
Aws::DeviceFarm::Model::Location::SetLongitude
void SetLongitude(double value)
Definition: Location.h:74
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::DeviceFarm::Model::Location::WithLatitude
Location & WithLatitude(double value)
Definition: Location.h:58
Aws::DeviceFarm::Model::Location::Location
Location(Aws::Utils::Json::JsonView jsonValue)
Aws::DeviceFarm::Model::Location::WithLongitude
Location & WithLongitude(double value)
Definition: Location.h:79
Aws::DeviceFarm::Model::Location
Definition: Location.h:32
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
DeviceFarm_EXPORTS.h
Aws::DeviceFarm::Model::Location::Location
Location()
Aws::DeviceFarm::Model::Location::SetLatitude
void SetLatitude(double value)
Definition: Location.h:53
Aws::DeviceFarm::Model::Location::LatitudeHasBeenSet
bool LatitudeHasBeenSet() const
Definition: Location.h:48