AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GeoLocation.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_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 GuardDuty
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_GUARDDUTY_API GeoLocation();
34 AWS_GUARDDUTY_API GeoLocation(Aws::Utils::Json::JsonView jsonValue);
35 AWS_GUARDDUTY_API GeoLocation& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_GUARDDUTY_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 GeoLocation& 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 GeoLocation& 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 GuardDuty
69} // namespace Aws
GeoLocation & WithLon(double value)
Definition GeoLocation.h:56
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API GeoLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API GeoLocation(Aws::Utils::Json::JsonView jsonValue)
GeoLocation & WithLat(double value)
Definition GeoLocation.h:46
Aws::Utils::Json::JsonValue JsonValue