AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GPSCoordinates.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_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 Pinpoint
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_PINPOINT_API GPSCoordinates();
33 AWS_PINPOINT_API GPSCoordinates(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline double GetLatitude() const{ return m_latitude; }
43 inline bool LatitudeHasBeenSet() const { return m_latitudeHasBeenSet; }
44 inline void SetLatitude(double value) { m_latitudeHasBeenSet = true; m_latitude = value; }
45 inline GPSCoordinates& WithLatitude(double value) { SetLatitude(value); return *this;}
47
49
52 inline double GetLongitude() const{ return m_longitude; }
53 inline bool LongitudeHasBeenSet() const { return m_longitudeHasBeenSet; }
54 inline void SetLongitude(double value) { m_longitudeHasBeenSet = true; m_longitude = value; }
55 inline GPSCoordinates& WithLongitude(double value) { SetLongitude(value); return *this;}
57 private:
58
59 double m_latitude;
60 bool m_latitudeHasBeenSet = false;
61
62 double m_longitude;
63 bool m_longitudeHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace Pinpoint
68} // namespace Aws
AWS_PINPOINT_API GPSCoordinates(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
GPSCoordinates & WithLongitude(double value)
GPSCoordinates & WithLatitude(double value)
AWS_PINPOINT_API GPSCoordinates & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue