AWS SDK for C++  1.9.20
AWS SDK for C++
GeoLocation.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 GuardDuty
20 {
21 namespace Model
22 {
23 
31  {
32  public:
37 
38 
42  inline double GetLat() const{ return m_lat; }
43 
47  inline bool LatHasBeenSet() const { return m_latHasBeenSet; }
48 
52  inline void SetLat(double value) { m_latHasBeenSet = true; m_lat = value; }
53 
57  inline GeoLocation& WithLat(double value) { SetLat(value); return *this;}
58 
59 
63  inline double GetLon() const{ return m_lon; }
64 
68  inline bool LonHasBeenSet() const { return m_lonHasBeenSet; }
69 
73  inline void SetLon(double value) { m_lonHasBeenSet = true; m_lon = value; }
74 
78  inline GeoLocation& WithLon(double value) { SetLon(value); return *this;}
79 
80  private:
81 
82  double m_lat;
83  bool m_latHasBeenSet;
84 
85  double m_lon;
86  bool m_lonHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace GuardDuty
91 } // namespace Aws
Aws::GuardDuty::Model::GeoLocation::GetLon
double GetLon() const
Definition: GeoLocation.h:63
Aws::GuardDuty::Model::GeoLocation::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GuardDuty::Model::GeoLocation::GeoLocation
GeoLocation(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::GeoLocation
Definition: GeoLocation.h:31
Aws::GuardDuty::Model::GeoLocation::WithLat
GeoLocation & WithLat(double value)
Definition: GeoLocation.h:57
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::GeoLocation::LonHasBeenSet
bool LonHasBeenSet() const
Definition: GeoLocation.h:68
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GuardDuty::Model::GeoLocation::SetLon
void SetLon(double value)
Definition: GeoLocation.h:73
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::GeoLocation::LatHasBeenSet
bool LatHasBeenSet() const
Definition: GeoLocation.h:47
Aws::GuardDuty::Model::GeoLocation::operator=
GeoLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::GeoLocation::GeoLocation
GeoLocation()
Aws::GuardDuty::Model::GeoLocation::WithLon
GeoLocation & WithLon(double value)
Definition: GeoLocation.h:78
Aws::GuardDuty::Model::GeoLocation::SetLat
void SetLat(double value)
Definition: GeoLocation.h:52
Aws::GuardDuty::Model::GeoLocation::GetLat
double GetLat() const
Definition: GeoLocation.h:42