AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IpGeoLocation.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Macie2
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_MACIE2_API IpGeoLocation();
34 AWS_MACIE2_API IpGeoLocation(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline double GetLat() const{ return m_lat; }
44 inline bool LatHasBeenSet() const { return m_latHasBeenSet; }
45 inline void SetLat(double value) { m_latHasBeenSet = true; m_lat = value; }
46 inline IpGeoLocation& WithLat(double value) { SetLat(value); return *this;}
48
50
53 inline double GetLon() const{ return m_lon; }
54 inline bool LonHasBeenSet() const { return m_lonHasBeenSet; }
55 inline void SetLon(double value) { m_lonHasBeenSet = true; m_lon = value; }
56 inline IpGeoLocation& WithLon(double value) { SetLon(value); return *this;}
58 private:
59
60 double m_lat;
61 bool m_latHasBeenSet = false;
62
63 double m_lon;
64 bool m_lonHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace Macie2
69} // namespace Aws
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MACIE2_API IpGeoLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
IpGeoLocation & WithLat(double value)
AWS_MACIE2_API IpGeoLocation(Aws::Utils::Json::JsonView jsonValue)
IpGeoLocation & WithLon(double value)
Aws::Utils::Json::JsonValue JsonValue